summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-05-03 13:38:04 +0100
committerDave Airlie <airlied@redhat.com>2012-05-03 13:38:04 +0100
commit8d50b443fb466cc7abc8e267594a96231ad3aea8 (patch)
treee40e64214d4544ceb87dcb4c9c678a81704f3514
parente8ee4282880331bf9b417d918ab082205077c63c (diff)
add roles
-rw-r--r--src/nv_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nv_driver.c b/src/nv_driver.c
index a6b3aa0..72cc8da 100644
--- a/src/nv_driver.c
+++ b/src/nv_driver.c
@@ -115,7 +115,7 @@ NVUdevProbe(DriverPtr driver,
scrn->EnterVT = NVEnterVT;
scrn->LeaveVT = NVLeaveVT;
scrn->FreeScreen = NVFreeScreen;
-
+ scrn->roles = ROLE_MASTER | ROLE_SLAVE_OFFLOAD;
return scrn != NULL;
}
/*