diff options
| author | Tom St Denis <[email protected]> | 2019-07-16 11:23:22 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-07-17 18:34:30 +0000 |
| commit | 88891430a2c06b6be9b1ed08c095befb17fb4cb2 (patch) | |
| tree | 48bf0b149c9d06e52bb96b314acb51c25e9053e9 | |
| parent | drm/amd/powerplay: update vega20 driver if to fit latest SMU firmware (diff) | |
| download | kernel-88891430a2c06b6be9b1ed08c095befb17fb4cb2.tar.gz kernel-88891430a2c06b6be9b1ed08c095befb17fb4cb2.zip | |
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 <[email protected]>
Acked-by: Christian König <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c index c40abf819f3d..6d54decef7f8 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c @@ -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 { |
