summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-07-31 16:18:02 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-07-31 16:18:50 +0100
commitce804875914f52dba5356f8aefec850d411b051a (patch)
tree2ab2c7ef493a23d6f6113c4cc62bcf739761e6da
parenta6a60ec606e291323ee0b6e83679ff277a0bd84a (diff)
i810: Fix startup after marking GPU screens in the module
Fixes regression from commit d6830190bc9956f485db6c3420f7a4a79793a693 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Wed Jul 23 10:53:40 2014 +0100 sna: Disable all outputs when initializing as a slaved output provider Reported-by: Tobias Powalowski Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/legacy/i810/i810_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/legacy/i810/i810_driver.c b/src/legacy/i810/i810_driver.c
index a1b73fd9..3d53d043 100644
--- a/src/legacy/i810/i810_driver.c
+++ b/src/legacy/i810/i810_driver.c
@@ -152,7 +152,7 @@ static int i810_pitches[] = {
static Bool
I810GetRec(ScrnInfoPtr scrn)
{
- if (((uintptr_t)scrn->driverPrivate & 1) == 0)
+ if (((uintptr_t)scrn->driverPrivate & 3) == 0)
return TRUE;
scrn->driverPrivate = xnfcalloc(sizeof(I810Rec), 1);