From 68c51d148b22ee8cbe98b5d5441e3494804ee808 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Fri, 1 Jun 2012 12:21:34 +0100 Subject: drmmode: drop flags arg to adjust frame. Signed-off-by: Dave Airlie --- src/drmmode_display.c | 2 +- src/drmmode_display.h | 2 +- src/radeon_kms.c | 2 +- 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; } -- cgit v1.2.3