mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 23:58:05 +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
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ static int amdgpu_debugfs_process_reg_op(bool read, struct file *f,
|
||||||
me = (*pos & GENMASK_ULL(33, 24)) >> 24;
|
me = (*pos & GENMASK_ULL(33, 24)) >> 24;
|
||||||
pipe = (*pos & GENMASK_ULL(43, 34)) >> 34;
|
pipe = (*pos & GENMASK_ULL(43, 34)) >> 34;
|
||||||
queue = (*pos & GENMASK_ULL(53, 44)) >> 44;
|
queue = (*pos & GENMASK_ULL(53, 44)) >> 44;
|
||||||
vmid = (*pos & GENMASK_ULL(48, 45)) >> 54;
|
vmid = (*pos & GENMASK_ULL(58, 54)) >> 54;
|
||||||
|
|
||||||
use_ring = 1;
|
use_ring = 1;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue