aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
diff options
context:
space:
mode:
authorMukul Joshi <mukul.joshi@amd.com>2020-08-18 14:51:41 -0400
committerAlex Deucher <alexander.deucher@amd.com>2020-08-24 12:22:32 -0400
commit818b032433a345b2f5466660ae054806343263e5 (patch)
tree4cb51d472af01b54d90524aabe35c83e1ec082fb /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
parent37d0474542850e6bb70b226487b4202d21bfe7cc (diff)
drm/amdkfd: sparse: Fix warning in reading SDMA counters
Add __user annotation to fix related sparse warning while reading SDMA counters from userland. Also, rework the read SDMA counters function by removing redundant checks. Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Mukul Joshi <mukul.joshi@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@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