diff options
author | Lijo Lazar <lijo.lazar@amd.com> | 2025-02-04 08:44:21 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-02-13 05:04:06 +0300 |
commit | 55aa33c3fe38763e4f285d5192fb9892133360a7 (patch) | |
tree | 6f9bfeea6d9db4b141253f65df3242f728b622df /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
parent | a5219b41dd908182e6b4c0a9ab842c11973043e6 (diff) | |
download | linux-55aa33c3fe38763e4f285d5192fb9892133360a7.tar.xz |
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 <lijo.lazar@amd.com>
Reviewed-by: Feifei Xu <feifei.xu@amd.com>
Reviewed-by: Asad Kamal <asad.kamal@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions