sna: Fix typo for 830/845 gen

Must remember, its octal not decimal.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2012-12-13 13:15:52 +00:00
parent f631a56bcb
commit 4f96439e39
1 changed files with 1 additions and 1 deletions

View File

@ -2368,7 +2368,7 @@ kgem_create_batch(struct kgem *kgem, int size)
}
}
if (kgem->gen == 20) {
if (kgem->gen == 020) {
assert(size <= 16384);
bo = list_first_entry(&kgem->pinned_batches[size > 4096],