drm/amdgpu: get rid of amdgpu_drm_ioctl

Remove the entire amdgpu_drm_ioctl handler system in favor of drm_ioctl,
as amdgpu_drm_ioctl held a runtime_pm reference for every ioctl that
passed through it, even if hardware access was not required. The
runtime_pm references should now be handled by each individual IOCTL
that requires the GPU to be awake.

Hopefully all the IOCTLs that require hardware access were covered.

v2 (Shahyan): Added commit description

Signed-off-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Signed-off-by: Shahyan Soltani <shahyan.soltani@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Pierre-Eric Pelloux-Prayer 2026-08-06 16:16:30 +02:00 • committed by Alex Deucher
commit 3d3140b5b0
4 changed files with 2 additions and 73 deletions