]> git.baikalelectronics.ru Git - kernel.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, 16 Sep 2021 13:56:24 +0000 (09:56 -0400)
commited76e19894f83076ddb040c21ddc0549cfece802
treeecddb64abde58f05b712f45a59cce121a29f6cff
parent4c1321f4ed524c89f65f2b3693b07130f1eea224
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