artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa34536
)
drm/amdgpu: update wave data type to 3 for gfx11
author
jsg
<jsg@openbsd.org>
Fri, 10 Feb 2023 14:46:26 +0000
(14:46 +0000)
committer
jsg
<jsg@openbsd.org>
Fri, 10 Feb 2023 14:46:26 +0000
(14:46 +0000)
From Graham Sider
86dbbc8f6ba705b82c0e6daf5c2fed993665dc1a
in linux-6.1.y/6.1.11
ed8e793c65e4c6633e8577e40d574da8a56d2e0f
in mainline linux
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
b/sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
index
cf561b8
..
46a82ed
100644
(file)
--- a/
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
+++ b/
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
@@
-790,8
+790,8
@@
static void gfx_v11_0_read_wave_data(struct amdgpu_device *adev, uint32_t simd,
* zero here */
WARN_ON(simd != 0);
- /* type
2
wave data */
- dst[(*no_fields)++] =
2
;
+ /* type
3
wave data */
+ dst[(*no_fields)++] =
3
;
dst[(*no_fields)++] = wave_read_ind(adev, wave, ixSQ_WAVE_STATUS);
dst[(*no_fields)++] = wave_read_ind(adev, wave, ixSQ_WAVE_PC_LO);
dst[(*no_fields)++] = wave_read_ind(adev, wave, ixSQ_WAVE_PC_HI);