summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-07-05 16:20:32 +0100
committerDave Airlie <airlied@redhat.com>2012-07-05 16:20:32 +0100
commit4b6ee18d3a5c63b609ba4c7eb572fc62d908ec20 (patch)
tree0287f49faece0664299ffbcdc89f6f4dee914e6f
parent825ee74b5de8cb8bee5d7d082753a28009602c24 (diff)
modesetting: fixup caps
-rw-r--r--src/driver.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/driver.c b/src/driver.c
index 9f57046..34ce6ed 100644
--- a/src/driver.c
+++ b/src/driver.c
@@ -291,8 +291,7 @@ ms_platform_probe(DriverPtr driver,
scrn->LeaveVT = LeaveVT;
scrn->FreeScreen = FreeScreen;
scrn->ValidMode = ValidMode;
- scrn->roles = RR_Role_Slave_Output;
- scrn->abilities = 0;
+ scrn->capabilities = RR_Capability_SinkOutput;
xf86DrvMsg(scrn->scrnIndex, X_INFO,
"using drv %s\n", path ? path : "default device");
}