]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: Pass up errors for reset GPU that fails to init HW
authorMario Limonciello <mario.limonciello@amd.com>
Thu, 15 May 2025 20:16:17 +0000 (15:16 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 28 Jul 2025 20:28:41 +0000 (16:28 -0400)
commit2b6943df54136f40aff8a6d7ba7c26724d89a0bd
tree49cfd7e71d20b9077ddf56080bf27d28a7201562
parentb174084b3fe15ad1acc69530e673c1535d2e4f85
drm/amd/display: Pass up errors for reset GPU that fails to init HW

[Why]
If a GPU is in reset and the hardware fails to initialize the rest of the
resume sequence shouldn't be run.

[How]
Pass error code up to caller of dm_resume().

Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Ivan Lipski <ivan.lipski@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c