diff options
author | Chia-I Wu <olvaffe@gmail.com> | 2011-03-26 15:39:24 +0800 |
---|---|---|
committer | Chia-I Wu <olvaffe@gmail.com> | 2011-03-26 15:46:32 +0800 |
commit | 1e21885cde3bde872a8dee0350983424baedb719 (patch) | |
tree | d1c92103f00867fd1f088ca7d4e5083fc56a321c /src/gralloc/gralloc_gem_radeon.c | |
parent | 7492794ef5bd7fde2b9d1b9be9cfb4d15924d6d0 (diff) |
gralloc: improve radeon sync issue
Diffstat (limited to 'src/gralloc/gralloc_gem_radeon.c')
-rw-r--r-- | src/gralloc/gralloc_gem_radeon.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/gralloc/gralloc_gem_radeon.c b/src/gralloc/gralloc_gem_radeon.c index 334263ee2f..5ff0136c8e 100644 --- a/src/gralloc/gralloc_gem_radeon.c +++ b/src/gralloc/gralloc_gem_radeon.c @@ -26,6 +26,11 @@ * Dave Airlie <airlied@redhat.com> */ +/* + * XXX This driver assumes evergreen. It works, but is slow and has sync + * issues. + */ + #define LOG_TAG "GRALLOC-RADEON" #include <cutils/log.h> @@ -191,8 +196,8 @@ static void drm_gem_radeon_init_features(struct drm_module_t *drm) { drm->mode_dirty_fb = 0; - /* XXX there are synchronization issues */ - drm->mode_page_flip = 0; + drm->mode_page_flip = 1; + drm->mode_page_flip_blocking = 1; drm->swap_interval = 1; drm->vblank_secondary = 0; } |