summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorTom St Denis <tom.stdenis@amd.com>2017-03-29 13:01:30 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-03-29 23:55:53 -0400
commitec63982e90a8793a838dfba9037bde597bb565e1 (patch)
treec984d69c0a50d7747c2bec0d7d3fab667b9d9830 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parent1866bac8970522f2fb66bc2c2ed4b6e71c0830d3 (diff)
drm/amd/amdgpu: Correct ring wptr address in debugfs (v2)
On gfx9 hardware the value is not wrapped and is a 64-bit value. So we reduce it modulo the ring size. Signed-off-by: Tom St Denis <tom.stdenis@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> (v2) use buf_mask instead of computing on the fly Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions