aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
diff options
context:
space:
mode:
authorLijo Lazar <[email protected]>2025-02-04 05:44:21 +0000
committerAlex Deucher <[email protected]>2025-02-13 02:04:06 +0000
commit55aa33c3fe38763e4f285d5192fb9892133360a7 (patch)
tree6f9bfeea6d9db4b141253f65df3242f728b622df /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
parentdrm/amdgpu: Clean up atom header file inclusion (diff)
downloadkernel-55aa33c3fe38763e4f285d5192fb9892133360a7.tar.gz
kernel-55aa33c3fe38763e4f285d5192fb9892133360a7.zip
drm/amd/pm: Add APIs for device access checks
Wrap the checks before device access in helper functions and use them for device access. The generic order of APIs now is to do input argument validation first and check if device access is allowed. Signed-off-by: Lijo Lazar <[email protected]> Reviewed-by: Feifei Xu <[email protected]> Reviewed-by: Asad Kamal <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions