From e762b12a21d46f45937aa2140c26293a286e5ee9 Mon Sep 17 00:00:00 2001 From: Dave Barnish Date: Mon, 12 Aug 2013 17:13:46 +0100 Subject: Added a platform specific flag for vsync timestamp query support. If the target platform's DRM driver supports the vsync timestamp query the vblank_query_supported flag should be set to 1. drmWaitVBlank() will then be used in ARMSOCDRI2GetMSC(), otherwise this function always returns FALSE. Change-Id: I0d9610c58d6b246d19a1308f950ecfa0d5b12b54 --- src/drmmode_exynos/drmmode_exynos.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/drmmode_exynos/drmmode_exynos.c') diff --git a/src/drmmode_exynos/drmmode_exynos.c b/src/drmmode_exynos/drmmode_exynos.c index 9c9de7c..a5a98d2 100644 --- a/src/drmmode_exynos/drmmode_exynos.c +++ b/src/drmmode_exynos/drmmode_exynos.c @@ -92,7 +92,8 @@ struct drmmode_interface exynos_interface = { CURSORH /* cursor_height */, CURSORPAD /* cursor padding */, init_plane_for_cursor /* init_plane_for_cursor */, - set_cursor_image /* set cursor image */ + set_cursor_image /* set cursor image */, + 0 /* vblank_query_supported */, }; struct drmmode_interface *drmmode_interface_get_implementation(int drm_fd) -- cgit v1.2.3