]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/radeon: pass drm dev radeon_agp_head_init directly
authorNirmoy Das <nirmoy.das@amd.com>
Mon, 13 Sep 2021 08:08:23 +0000 (10:08 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 23 Sep 2021 19:17:28 +0000 (15:17 -0400)
commitf7f3e6258b0d8b4f7ae8cfa132d2611ab2dcabe1
tree410ad7dfdf6a4d0518a46349d1a89b55df1c5dd1
parentbe68d44bf82aa23c53bff0ad4cfd3f90b3b82220
drm/radeon: pass drm dev radeon_agp_head_init directly

Pass drm dev directly as rdev->ddev gets initialized later on
at radeon_device_init().

Bug: https://bugzilla.kernel.org/show_bug.cgi?id=214375
Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_kms.c