]> git.itanic.dy.fi Git - linux-stable/commit
drm/amdgpu: use adev_to_drm to get drm_device pointer
authorGuchun Chen <guchun.chen@amd.com>
Mon, 13 Dec 2021 04:06:30 +0000 (12:06 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Dec 2021 21:09:24 +0000 (16:09 -0500)
commite0f943b4f9a366ac7f24fa3f0e52141178d4f1b5
tree9a0975e407a7204e17ab16152c688d03c74b5776
parent7e31a8585b79a4d67e7fefdb6428054d18ddd339
drm/amdgpu: use adev_to_drm to get drm_device pointer

Updated for consistency when accessing drm_device from amdgpu driver.

Signed-off-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c