summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-06-01 12:21:34 +0100
committerDave Airlie <airlied@redhat.com>2012-06-01 12:25:31 +0100
commit68c51d148b22ee8cbe98b5d5441e3494804ee808 (patch)
treef3b564910374e35d0644bf5ccaa7f45a1132dc40 /src
parentb1e9c3081d2b975682a62389aa29063b79f9655c (diff)
drmmode: drop flags arg to adjust frame.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/drmmode_display.c2
-rw-r--r--src/drmmode_display.h2
-rw-r--r--src/radeon_kms.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index fb437cdd..a304c1d0 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -1542,7 +1542,7 @@ void drmmode_set_cursor(ScrnInfoPtr scrn, drmmode_ptr drmmode, int id, struct ra
drmmode_crtc->cursor_bo = bo;
}
-void drmmode_adjust_frame(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int x, int y, int flags)
+void drmmode_adjust_frame(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int x, int y)
{
xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(pScrn);
xf86OutputPtr output = config->output[config->compat_output];
diff --git a/src/drmmode_display.h b/src/drmmode_display.h
index dff03929..44fac169 100644
--- a/src/drmmode_display.h
+++ b/src/drmmode_display.h
@@ -102,7 +102,7 @@ extern Bool drmmode_pre_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int cpp);
extern void drmmode_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode);
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);
+void drmmode_adjust_frame(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int x, int y);
extern Bool drmmode_set_desired_modes(ScrnInfoPtr pScrn, drmmode_ptr drmmode);
extern void drmmode_copy_fb(ScrnInfoPtr pScrn, drmmode_ptr drmmode);
extern Bool drmmode_setup_colormap(ScreenPtr pScreen, ScrnInfoPtr pScrn);
diff --git a/src/radeon_kms.c b/src/radeon_kms.c
index 1ef811f5..9e086271 100644
--- a/src/radeon_kms.c
+++ b/src/radeon_kms.c
@@ -1212,7 +1212,7 @@ void RADEONAdjustFrame_KMS(SCRN_ARG_TYPE arg, int x, int y, int flags)
{
SCRN_INFO_PTR(arg);
RADEONInfoPtr info = RADEONPTR(pScrn);
- drmmode_adjust_frame(pScrn, &info->drmmode, x, y, flags);
+ drmmode_adjust_frame(pScrn, &info->drmmode, x, y);
return;
}