mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
freedreno/a6xx: Add missing PC_CCU_INVALIDATE_x
The kernel normally inserts these between submits, but when we merge
submits in userspace we need to add them ourselves.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5114
Fixes: cccdc513e3 ("freedreno/drm/sp: Implement deferred submit merging")
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12049>
This commit is contained in:
parent
1dc7b9b08b
commit
53c39f710f
1 changed files with 2 additions and 0 deletions
|
|
@ -170,6 +170,8 @@ fd6_event_write(struct fd_batch *batch, struct fd_ringbuffer *ring,
|
|||
static inline void
|
||||
fd6_cache_inv(struct fd_batch *batch, struct fd_ringbuffer *ring)
|
||||
{
|
||||
fd6_event_write(batch, ring, PC_CCU_INVALIDATE_COLOR, false);
|
||||
fd6_event_write(batch, ring, PC_CCU_INVALIDATE_DEPTH, false);
|
||||
fd6_event_write(batch, ring, CACHE_INVALIDATE, false);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue