mirror of
https://github.com/torvalds/linux.git
synced 2026-05-04 06:22:40 -04:00
drm/amdgpu: update the handle ptr in resume
Update the *handle to amdgpu_ip_block ptr for all functions pointers of resume. Signed-off-by: Sunil Khatri <sunil.khatri@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
982d7f9bfe
commit
7feb4f3ad8
@@ -3124,9 +3124,9 @@ cleanup:
|
||||
kfree(bundle);
|
||||
}
|
||||
|
||||
static int dm_resume(void *handle)
|
||||
static int dm_resume(struct amdgpu_ip_block *ip_block)
|
||||
{
|
||||
struct amdgpu_device *adev = handle;
|
||||
struct amdgpu_device *adev = ip_block->adev;
|
||||
struct drm_device *ddev = adev_to_drm(adev);
|
||||
struct amdgpu_display_manager *dm = &adev->dm;
|
||||
struct amdgpu_dm_connector *aconnector;
|
||||
|
||||
Reference in New Issue
Block a user