summaryrefslogtreecommitdiffstats
path: root/gralloc_drm_priv.h
diff options
context:
space:
mode:
authorTapani Pälli <tapani.palli@intel.com>2013-02-27 08:02:06 +0200
committerTapani Pälli <tapani.palli@intel.com>2013-03-01 10:59:47 +0200
commit6acef2e0ae6cfae1817578e5fc22c04105a3a653 (patch)
tree9614543e80c044dd1a9979f70409810e19e092cb /gralloc_drm_priv.h
parentf3c326e3a15df2b1d8e0387ab634ec29dafd7707 (diff)
downloadexternal_drm_gralloc-6acef2e0ae6cfae1817578e5fc22c04105a3a653.zip
external_drm_gralloc-6acef2e0ae6cfae1817578e5fc22c04105a3a653.tar.gz
external_drm_gralloc-6acef2e0ae6cfae1817578e5fc22c04105a3a653.tar.bz2
gralloc: use proper mode for hdmi output
Patch uses the best mode available on hdmi output and creates a private buffer that is used for pageflipping. Primary display content is copied to private buffer on each page flip. This patch removes current hack where same mode is assumed from hdmi output, this caused graphical artifacts with some tv's. Also some more debug output is added. Change-Id: Ic862a8374f46992f0ff92545da8a010f9684b934 Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Diffstat (limited to 'gralloc_drm_priv.h')
-rw-r--r--gralloc_drm_priv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gralloc_drm_priv.h b/gralloc_drm_priv.h
index 0ab4ea5..eed433f 100644
--- a/gralloc_drm_priv.h
+++ b/gralloc_drm_priv.h
@@ -56,6 +56,9 @@ struct gralloc_drm_output
int fb_format;
int bpp;
uint32_t active;
+
+ /* 'private fb' for this output */
+ struct gralloc_drm_bo_t *bo;
};
struct gralloc_drm_t {