sna: Disable userptr for bdw

Something fishy is afoot. But let's kill this particularly worrisome
regression so that we can do a full round of testing.

References: https://bugs.freedesktop.org/show_bug.cgi?id=79053
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2014-06-25 08:01:57 +01:00
parent 204ec74a61
commit 3f4da671b0
1 changed files with 3 additions and 0 deletions

View File

@ -1063,6 +1063,9 @@ static bool test_has_userptr(struct kgem *kgem)
if (kgem->gen == 040)
return false;
if (kgem->gem >= 0100)
return false; /* FIXME https://bugs.freedesktop.org/show_bug.cgi?id=79053 */
if (posix_memalign(&ptr, PAGE_SIZE, PAGE_SIZE))
return false;