drm/msm/a8xx: Add missing preempt_record_size
Subsystems (4)
Rob Clark
maintainerPATCH 1/1 drm/msm/a8xx: Add missing preempt_record_size
Somehow this got overlooked, and Glymur/Mahua were falling back to the default 4MB. Which is way too small for the amount of GMEM on these devices, causing faults in cases where preemption needs to same GMEM contents.
--- drivers/gpu/drm/msm/adreno/a8xx_catalog.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/msm/adreno/a8xx_catalog.c +2 -0
@@ -1337,6 +1337,7 @@ static const struct adreno_info a8xx_gpus[] = { { /* sentinel */ }, }, }, + .preempt_record_size = 23088 * SZ_1K, .speedbins = ADRENO_SPEEDBINS( { 0, 0 }, { 388, 1 },
@@ -1469,6 +1470,7 @@ static const struct adreno_info a8xx_gpus[] = { { /* sentinel */ }, }, }, + .preempt_record_size = 17712 * SZ_1K, .speedbins = ADRENO_SPEEDBINS( { 0, 0 }, { 388, 1 },
Signature · 1 line
2.56.1
Quoted 3 lines · Rob Clark
Somehow this got overlooked, and Glymur/Mahua were falling back to the default 4MB. Which is way too small for the amount of GMEM on these devices, causing faults in cases where preemption needs to same GMEM
s/same/save?
Quoted 6 lines
contents.
Reported-by Connor Abbott <[email protected]>Fixes 7fad33097e67 ("drm/msm/a6xx: Enable Preemption on X2-85")Signed-off-by Rob Clark <[email protected]>---
Konrad
Quoted 7 lines · Konrad Dybcio
Quoted 3 lines · Rob Clark
Somehow this got overlooked, and Glymur/Mahua were falling back to the default 4MB. Which is way too small for the amount of GMEM on these devices, causing faults in cases where preemption needs to same GMEM
s/same/save?
oops, yes.. fixing in v2
Quoted 10 lines
Quoted 6 lines
contents.
Reported-by Connor Abbott <[email protected]>Fixes 7fad33097e67 ("drm/msm/a6xx: Enable Preemption on X2-85")Signed-off-by Rob Clark <[email protected]>---
Reviewed-by Konrad Dybcio <[email protected]>Konrad