summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorLijo Lazar <lijo.lazar@amd.com>2024-08-30 08:51:43 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-09-27 00:06:38 +0300
commitb17f87329d49860130a524ab424ecefd3332600f (patch)
tree757ffc2b2bd590dd39cc2a98ad0bf22cf45546b5 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parent0ee239911634dd29c3b05e1138d617cc3cab33fa (diff)
downloadlinux-b17f87329d49860130a524ab424ecefd3332600f.tar.xz
drm/amdgpu: Add helper to initialize badpage info
Add a separate function to read badpage data during initialization. Reading bad pages will need hardware access and cannot be done during reset. Hence in cases where device needs a full reset during init itself, attempting to read will cause a deadlock. Signed-off-by: Lijo Lazar <lijo.lazar@amd.com> Reviewed-by: Feifei Xu <Feifei.Xu@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Acked-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com> Tested-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
0 files changed, 0 insertions, 0 deletions