summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2015-12-31 20:33:15 -0500
committerEmil Velikov <[email protected]>2016-01-08 12:05:27 +0200
commit132131af6b78a887dac606ccf640bb901359d289 (patch)
treea9943763d3efb4491a77fe45d13a66ecba0e9d01 /src/mesa
parentf4977656c1d4732022946f4e3642fa128979e60d (diff)
nv50,nvc0: make sure there's pushbuf space and that we ref the bo early
First off, we can't flush in the middle of a command. Secondly requesting the extra push space might cause a flush to happen. If that flush happens, we'd have to do the PUSH_REFN again. So instead do PUSH_REFN after the push space request. This helps avoid rare crashes with supertuxkart in libdrm due to assertion failures. Signed-off-by: Ilia Mirkin <[email protected]> Cc: "11.0 11.1" <[email protected]> (cherry picked from commit c1d14c6817e3fa9a1c04f9b6c51b4ca601637843) [Emil Velikov: resolve trivial conflict] Signed-off-by: Emil Velikov <[email protected]> Conflicts: src/gallium/drivers/nouveau/nvc0/nvc0_vbo.c
Diffstat (limited to 'src/mesa')
0 files changed, 0 insertions, 0 deletions