mirror of
https://github.com/torvalds/linux.git
synced 2024-12-17 16:43:08 +00:00
drm/amd/amdgpu: Fix offset for vmid selection in debugfs interface
The register debugfs interface was using the wrong bitmask for vmid selection for GFX_CNTL. Signed-off-by: Tom St Denis <tom.stdenis@amd.com> Acked-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
cd6e0c4ba1
commit
88891430a2
@ -135,7 +135,7 @@ static int amdgpu_debugfs_process_reg_op(bool read, struct file *f,
|
||||
me = (*pos & GENMASK_ULL(33, 24)) >> 24;
|
||||
pipe = (*pos & GENMASK_ULL(43, 34)) >> 34;
|
||||
queue = (*pos & GENMASK_ULL(53, 44)) >> 44;
|
||||
vmid = (*pos & GENMASK_ULL(48, 45)) >> 54;
|
||||
vmid = (*pos & GENMASK_ULL(58, 54)) >> 54;
|
||||
|
||||
use_ring = 1;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user