mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
freedreno/a5xx: fix random faults on first sysmem draw
Not sure what this event is, but blob writes it.. and it seems to solve random write faults at mystery address that would sometimes happen on first BYPASS draw. Signed-off-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
parent
54537fa1dc
commit
abcf8f5b58
1 changed files with 3 additions and 0 deletions
|
|
@ -485,6 +485,9 @@ fd5_emit_sysmem_prep(struct fd_batch *batch)
|
|||
OUT_PKT7(ring, CP_SKIP_IB2_ENABLE_GLOBAL, 1);
|
||||
OUT_RING(ring, 0x0);
|
||||
|
||||
OUT_PKT7(ring, CP_EVENT_WRITE, 1);
|
||||
OUT_RING(ring, UNK_19);
|
||||
|
||||
OUT_PKT4(ring, REG_A5XX_PC_POWER_CNTL, 1);
|
||||
OUT_RING(ring, 0x00000003); /* PC_POWER_CNTL */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue