summaryrefslogtreecommitdiff
path: root/src/drmmode_display.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-03-18 12:36:25 +1000
committerDave Airlie <airlied@redhat.com>2010-03-18 12:36:25 +1000
commita0683be5cc082bdbdd3bc4e9b52f39f423650946 (patch)
treed15067bb08c5359cb8310110178e1bc967552224 /src/drmmode_display.h
parent080a5414593e9b59ed923f26aa6057747b0c868f (diff)
radeon: avoid using DRI1 init path on DRI2 driver.
I was playing with multi-seat and found this code, fixed it up to be sane and more DRI2 like. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/drmmode_display.h')
-rw-r--r--src/drmmode_display.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drmmode_display.h b/src/drmmode_display.h
index 1576d499..2e76259e 100644
--- a/src/drmmode_display.h
+++ b/src/drmmode_display.h
@@ -74,7 +74,7 @@ typedef struct {
} drmmode_output_private_rec, *drmmode_output_private_ptr;
-extern Bool drmmode_pre_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, char *busId, char *driver_name, int cpp);
+extern Bool drmmode_pre_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int cpp);
extern Bool drmmode_set_bufmgr(ScrnInfoPtr pScrn, drmmode_ptr drmmode, struct radeon_bo_manager *bufmgr);
extern void drmmode_set_cursor(ScrnInfoPtr scrn, drmmode_ptr drmmode, int id, struct radeon_bo *bo);
void drmmode_adjust_frame(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int x, int y, int flags);