]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: Generate bad page threshold cper records
authorXiang Liu <xiang.liu@amd.com>
Tue, 11 Feb 2025 11:45:52 +0000 (19:45 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 17 Feb 2025 19:09:30 +0000 (14:09 -0500)
commitf9d35b945c599e8dbed17f484e82b4ad3d21721a
treee082c3ccb913618f60a420c07a0ff79b8b06c359
parent4058e7cbfd0fb0cae7cbb8035bb43c593cc7c964
drm/amdgpu: Generate bad page threshold cper records

Generate CPER record when bad page threshold exceed and
commit to CPER ring.

v2: return -ENOMEM instead of false
v2: check return value of fill section function

Signed-off-by: Xiang Liu <xiang.liu@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cper.c
drivers/gpu/drm/amd/amdgpu/amdgpu_cper.h
drivers/gpu/drm/amd/pm/amdgpu_dpm.c