sna: Reduce the assertion that we would have hinted to operate inplace
As the drawable_gc_flags() operate on lower level information than the hint, it is able to spot more oportunities to reduce the READ flags and so the assertion was overly optimistic. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
3d1bba033b
commit
1a116a15a5
|
|
@ -1482,8 +1482,8 @@ inline static unsigned drawable_gc_flags(DrawablePtr draw,
|
|||
return MOVE_READ | MOVE_WRITE;
|
||||
}
|
||||
|
||||
DBG(("%s: try operating on drawable inplace\n", __FUNCTION__));
|
||||
assert(drawable_gc_inplace_hint(draw, gc));
|
||||
DBG(("%s: try operating on drawable inplace [hint? %d]\n",
|
||||
__FUNCTION__, drawable_gc_inplace_hint(draw, gc)));
|
||||
|
||||
flags = MOVE_WRITE;
|
||||
if (USE_INPLACE)
|
||||
|
|
|
|||
Loading…
Reference in New Issue