]> git.itanic.dy.fi Git - linux-stable/commit
drm/amdgpu: use adev_to_drm to get drm device
authorGuchun Chen <guchun.chen@amd.com>
Thu, 25 Aug 2022 07:44:46 +0000 (15:44 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 25 Aug 2022 17:35:18 +0000 (13:35 -0400)
commita79f56d191c4f621eee85979d6e77435fb8383b5
tree0610c39bcacf02a244e329ebd64168da8424df72
parent720102391060792bcb5697af640f3a4f09acf360
drm/amdgpu: use adev_to_drm to get drm device

adev_to_drm is used everywhere in amdgpu code, so modify
it to keep consistency.

Signed-off-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c