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:
parent
a00fdce1fd
commit
6bab82b91d
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue