Skip to content

Commit a33b243

Browse files
quic-bjorandeAbhinav Kumar
authored andcommitted
drm/msm/dpu: Add missing safe_lut_tbl in sc8280xp catalog
During USB transfers on the SC8280XP __arm_smmu_tlb_sync() is seen to typically take 1-2ms to complete. As expected this results in poor performance, something that has been mitigated by proposing running the iommu in non-strict mode (boot with iommu.strict=0). This turns out to be related to the SAFE logic, and programming the QOS SAFE values in the DPU (per suggestion from Rob and Doug) reduces the TLB sync time to below 10us, which means significant less time spent with interrupts disabled and a significant boost in throughput. Fixes: 4a352c2 ("drm/msm/dpu: Introduce SC8280XP") Cc: [email protected] Suggested-by: Doug Anderson <[email protected]> Suggested-by: Rob Clark <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]> Tested-by: Johan Hovold <[email protected]> Tested-by: Steev Klimaszewski <[email protected]> Reviewed-by: Abhinav Kumar <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/565094/ Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Abhinav Kumar <[email protected]>
1 parent 3944e34 commit a33b243

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,7 @@ static const struct dpu_perf_cfg sc8280xp_perf_data = {
406406
.min_llcc_ib = 0,
407407
.min_dram_ib = 800000,
408408
.danger_lut_tbl = {0xf, 0xffff, 0x0},
409+
.safe_lut_tbl = {0xfe00, 0xfe00, 0xffff},
409410
.qos_lut_tbl = {
410411
{.nentry = ARRAY_SIZE(sc8180x_qos_linear),
411412
.entries = sc8180x_qos_linear

0 commit comments

Comments
 (0)