Skip to content

freedreno/a6xx: Restore mode

Rob Clark requested to merge robclark/mesa:fd/a6xx-g4-cs-fault into main

We set the "mode" to 1 for CS because we want CP_SET_DRAW_STATE to immediately execute the state groups. But in the 3d path, we don't restore the value in the sysmem path. This was causing GPU faults on 7c3 and presumably other a6xx gen4 things. But somehow not on a6xx gen1.

Let's just set it as part of initial state restore where we are ensuring that the GPU is in a sane state.

Fixes: dec49ec5 ("freedreno/a6xx: Move CS state to PROG state group") Signed-off-by: Rob Clark robdclark@chromium.org

Merge request reports

Loading