commit | ec63982e90a8793a838dfba9037bde597bb565e1 | [log] [tgz] |
---|---|---|
author | Tom St Denis <tom.stdenis@amd.com> | Wed Mar 29 13:01:30 2017 -0400 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Mar 29 23:55:53 2017 -0400 |
tree | c984d69c0a50d7747c2bec0d7d3fab667b9d9830 | |
parent | 1866bac8970522f2fb66bc2c2ed4b6e71c0830d3 [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>