From: Inki Dae Date: Mon, 20 Aug 2012 11:05:56 +0000 (+0900) Subject: drm/exynos: check NV12M format specific to Exynos properly X-Git-Tag: v3.7-rc1~86^2~1^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01ed812671c1163b35bf6ce9be221bd371bf9a8f;p=pandora-kernel.git drm/exynos: check NV12M format specific to Exynos properly this patch adds buf_cnt variable in exynos_drm_fb structure and that means a buffer count to drm framebuffer and also adds two functions to get/set the buffer count from/to exynos_drm_fb structure. if pixel format is not DRM_FORMAT_NV12MT then it gets a buffer count to drm framebuffer refering to mode_cmd->handles and offsets. but when booted, the buffer count will always be 1 because pixel format of console framebuffer is RGB format. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- Reading git-diff-tree failed