Skip to content
Snippets Groups Projects
Commit ec63982e authored by Tom St Denis's avatar Tom St Denis Committed by Alex Deucher
Browse files

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: default avatarTom St Denis <tom.stdenis@amd.com>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>

(v2) use buf_mask instead of computing on the fly

Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 1866bac8
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment