OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
317ab1b
)
drm/msm/adreno: Fix snapshot BINDLESS_DATA size
author
Rob Clark
<robdclark@chromium.org>
Tue, 11 Jul 2023 17:54:07 +0000
(10:54 -0700)
committer
Rob Clark
<robdclark@chromium.org>
Sat, 15 Jul 2023 15:19:35 +0000
(08:19 -0700)
The incorrect size was causing "CP | AHB bus error" when snapshotting
the GPU state on a6xx gen4 (a660 family).
Closes: https://gitlab.freedesktop.org/drm/msm/-/issues/26
Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Akhil P Oommen <quic_akhilpo@quicinc.com>
Fixes:
1707add81551
("drm/msm/a6xx: Add a6xx gpu state")
Patchwork: https://patchwork.freedesktop.org/patch/546763/
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h
b/drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h
index
790f55e
..
e788ed7
100644
(file)
--- a/
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h
+++ b/
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h
@@
-206,7
+206,7
@@
static const struct a6xx_shader_block {
SHADER(A6XX_SP_LB_3_DATA, 0x800),
SHADER(A6XX_SP_LB_4_DATA, 0x800),
SHADER(A6XX_SP_LB_5_DATA, 0x200),
- SHADER(A6XX_SP_CB_BINDLESS_DATA, 0x
20
00),
+ SHADER(A6XX_SP_CB_BINDLESS_DATA, 0x
8
00),
SHADER(A6XX_SP_CB_LEGACY_DATA, 0x280),
SHADER(A6XX_SP_UAV_DATA, 0x80),
SHADER(A6XX_SP_INST_TAG, 0x80),