aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/shmobile
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-07-22 18:49:58 -0700
committerDave Airlie <airlied@redhat.com>2013-08-30 09:24:54 +1000
commited8d19756e80ec63003a93aa4d70406e6ba61522 (patch)
tree2760615aea74843748e2793aa0db8af5eef9abc4 /drivers/gpu/drm/shmobile
parentdrm/omap: tiler: clear buffer properly (diff)
downloadlinux-dev-ed8d19756e80ec63003a93aa4d70406e6ba61522.tar.xz
linux-dev-ed8d19756e80ec63003a93aa4d70406e6ba61522.zip
drm: Pass page flip ioctl flags to driver
This lets drivers see the flags requested by the application [airlied: fixup for rcar/imx/msm] Signed-off-by: Keith Packard <keithp@keithp.com> Signed-off-by: Dave Airlie <airlied@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/shmobile')
-rw-r--r--drivers/gpu/drm/shmobile/shmob_drm_crtc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/shmobile/shmob_drm_crtc.c b/drivers/gpu/drm/shmobile/shmob_drm_crtc.c
index 99e2034e49cc..54bad98e9477 100644
--- a/drivers/gpu/drm/shmobile/shmob_drm_crtc.c
+++ b/drivers/gpu/drm/shmobile/shmob_drm_crtc.c
@@ -465,7 +465,8 @@ void shmob_drm_crtc_finish_page_flip(struct shmob_drm_crtc *scrtc)
static int shmob_drm_crtc_page_flip(struct drm_crtc *crtc,
struct drm_framebuffer *fb,
- struct drm_pending_vblank_event *event)
+ struct drm_pending_vblank_event *event,
+ uint32_t page_flip_flags)
{
struct shmob_drm_crtc *scrtc = to_shmob_crtc(crtc);
struct drm_device *dev = scrtc->crtc.dev;