]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: Make sure to emit a tile coordinates between two MSAA loads.
authorEric Anholt <eric@anholt.net>
Wed, 6 Feb 2019 23:25:50 +0000 (15:25 -0800)
committerEric Anholt <eric@anholt.net>
Mon, 1 Apr 2019 16:33:38 +0000 (09:33 -0700)
commite9bf7562508a416bc7f8ad7efe957d8e28b289a4
tree287e4e763da3e76fcc1f76cef8540a3341476656
parente0188bd48e1395937b59104ffaf1aa302a771859
drm/vc4: Make sure to emit a tile coordinates between two MSAA loads.

The HW only executes a load once the tile coordinates packet happens,
and only tracks one at a time, so by emitting our two MSAA loads back
to back we would end up with an undefined color or Z buffer.

Fixes dEQP-EGL.functional.render.multi_context.gles2.rgb888_window

Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Cc: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190206232550.12012-1-eric@anholt.net
drivers/gpu/drm/vc4/vc4_render_cl.c