sna: Always prefer a fresh allocation for the batch if !llc

An unwanted subtle change in preference from

commit 8c465d0fbf
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Aug 7 10:15:42 2015 +0100

    sna: Fallback after a bo allocation failure for the batch

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2015-08-07 13:25:14 +01:00
parent a00fdce1fd
commit 6bab82b91d
1 changed files with 1 additions and 1 deletions

View File

@ -3858,7 +3858,7 @@ out_16384:
size = kgem->nbatch * sizeof(uint32_t);
#endif
if (!kgem->batch_bo) {
if (!kgem->batch_bo || !kgem->has_llc) {
bo = kgem_create_linear(kgem, size, CREATE_NO_THROTTLE);
if (bo) {
write: