sna: Force an inplace upload if already wedged

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2012-09-21 17:37:58 +01:00
parent b8967aff38
commit 3e1be265cf
1 changed files with 3 additions and 0 deletions

View File

@ -587,6 +587,9 @@ static bool upload_inplace(struct kgem *kgem,
{
unsigned int bytes;
if (kgem->wedged)
return true;
if (!kgem_bo_can_map(kgem, bo) && !upload_inplace__tiled(kgem, bo))
return false;