]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/amdgpu: Mask rptr as well in ring debugfs
authorTom St Denis <tom.stdenis@amd.com>
Thu, 1 Mar 2018 14:39:57 +0000 (09:39 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Mar 2018 20:44:37 +0000 (15:44 -0500)
commitf32e2220eaf8d9d5401d46ba1526fde1cbdec8e3
tree16fd777c1129ff1fe498c388bab060db5dbf1f1c
parent16e3e1a93a0b8b371fb02471039875ff45732678
drm/amd/amdgpu: Mask rptr as well in ring debugfs

The read/write pointers on sdma4 devices increment
beyond the ring size and should be masked.  Tested
on my Ryzen 2400G.

Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c