drm/amdgpu: skip ip dump if devcoredump flag is set
authorSunil Khatri <sunil.khatri@amd.com>
Thu, 25 Apr 2024 10:15:56 +0000 (15:45 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 26 Apr 2024 21:22:44 +0000 (17:22 -0400)
commit2a8f7464d33c759c3848737399d155a6c83c1ffa
treecf1b23efaf943bc0dd8c7efb6980ef277732bdee
parente362b7c8f8c7af00d06f0ab609629101aebae993
drm/amdgpu: skip ip dump if devcoredump flag is set

Do not dump the ip registers during driver reload
in passthrough environment.

Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c