OSDN Git Service

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, 16 Sep 2021 13:56:24 +0000 (09:56 -0400)
commit93def70cf8b23de5049d101b7dd5367864694bd3
treeecddb64abde58f05b712f45a59cce121a29f6cff
parentf02abeb0779700c308e661a412451b38962b8a0b
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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/radeon_kms.c