sna/gen5: Add DBG for context switching

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2012-08-08 10:53:40 +01:00
parent fec78ddc60
commit edc1427f3d
1 changed files with 2 additions and 0 deletions

View File

@ -3516,6 +3516,8 @@ gen5_render_context_switch(struct kgem *kgem,
*/
if (kgem->mode == KGEM_BLT) {
struct sna *sna = to_sna_from_kgem(kgem);
DBG(("%s: forcing drawrect on next state emission\n",
__FUNCTION__));
sna->render_state.gen5.drawrect_limit = -1;
}
}