drm/amdgpu: fix dm_suspend/resume arguments to ip_block
authorSunil Khatri <sunil.khatri@amd.com>
Tue, 8 Oct 2024 03:53:12 +0000 (09:23 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 8 Oct 2024 13:46:26 +0000 (09:46 -0400)
commit73f65e6ce7d29b38d1e8dc5393d61613fe0a2d83
tree53dc451afe21be5094d991bbd4310ee7cf7e920f
parent555cd714bd6695c648bf01dcf37a8ea8135aead7
drm/amdgpu: fix dm_suspend/resume arguments to ip_block

"build failure after merge of the amdgpu tree"
dm_suspend/dm_resume functions argument mismatch
not caught in validation as it was under config
CONFIG_DEBUG_KERNEL_DC which wasnt enabled by
default.

Change argument from adev to ip_block.

Fixes: 982d7f9bfe4a ("drm/amdgpu: update the handle ptr in suspend")
Fixes: 7feb4f3ad8be ("drm/amdgpu: update the handle ptr in resume")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c