i810: Fix startup after marking GPU screens in the module

Fixes regression from

commit d6830190bc
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>
This commit is contained in:
Chris Wilson 2014-07-31 16:18:02 +01:00
parent a6a60ec606
commit ce80487591
1 changed files with 1 additions and 1 deletions

View File

@ -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);