• E
    drm/vc4: Fix races when the CS reads from render targets. · 7edabee0
    Eric Anholt 提交于
    With the introduction of bin/render pipelining, the previous job may
    not be completed when we start binning the next one.  If the previous
    job wrote our VBO, IB, or CS textures, then the binning stage might
    get stale or uninitialized results.
    
    Fixes the major rendering failure in glmark2 -b terrain.
    Signed-off-by: NEric Anholt <eric@anholt.net>
    Fixes: ca26d28b ("drm/vc4: improve throughput by pipelining binning and rendering jobs")
    Cc: stable@vger.kernel.org
    7edabee0
vc4_render_cl.c 18.1 KB