]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: Pass adev pointer to functions
authorLijo Lazar <lijo.lazar@amd.com>
Mon, 30 Jun 2025 13:41:33 +0000 (19:11 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Jul 2025 17:41:37 +0000 (13:41 -0400)
commit127ed492ad2df0aa2351a1ad32a793ae7d91161b
treebaea857e20385cc8f72e16e4608b64abb8cf967a
parent17d081ef84a6f3c2a1867cc753d7c8459a34d829
drm/amdgpu: Pass adev pointer to functions

Pass amdgpu device context instead of drm device context to some
amdgpu_device_* functions. DRM device context is not required in those
functions. No functional change.

Signed-off-by: Lijo Lazar <lijo.lazar@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.h
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
drivers/gpu/drm/amd/pm/amdgpu_pm.c