summaryrefslogtreecommitdiffstats
path: root/gralloc_drm_intel.c
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2011-07-10 23:12:26 +0800
committerChia-I Wu <olvaffe@gmail.com>2011-07-11 12:55:00 +0800
commite59db8f9ce30ab294d6d230c2e1802689abe815c (patch)
tree89e72e57de1dba0f27b56c095556175c9769b384 /gralloc_drm_intel.c
parent59eb3d82102ecef9302424196bd665a67b937dc0 (diff)
downloadexternal_drm_gralloc-e59db8f9ce30ab294d6d230c2e1802689abe815c.zip
external_drm_gralloc-e59db8f9ce30ab294d6d230c2e1802689abe815c.tar.gz
external_drm_gralloc-e59db8f9ce30ab294d6d230c2e1802689abe815c.tar.bz2
let drivers decide the fb format
Diffstat (limited to 'gralloc_drm_intel.c')
-rw-r--r--gralloc_drm_intel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gralloc_drm_intel.c b/gralloc_drm_intel.c
index e5ddcfc..182b2c8 100644
--- a/gralloc_drm_intel.c
+++ b/gralloc_drm_intel.c
@@ -496,6 +496,8 @@ static void intel_init_kms_features(struct gralloc_drm_drv_t *drv,
struct drm_i915_getparam gp;
int pageflipping, id;
+ drm->fb_format = HAL_PIXEL_FORMAT_BGRA_8888;
+
drm->mode_dirty_fb = 0;
/* why? */
drm->mode_sync_flip = 1;