From 6acef2e0ae6cfae1817578e5fc22c04105a3a653 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tapani=20P=C3=A4lli?= Date: Wed, 27 Feb 2013 08:02:06 +0200 Subject: gralloc: use proper mode for hdmi output MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- gralloc_drm_priv.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gralloc_drm_priv.h') 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 { -- cgit v1.1