From: Russell King Date: Sun, 3 Nov 2013 15:52:16 +0000 (+0000) Subject: imx-drm: simplify setup of panel format X-Git-Tag: v3.15-rc1~139^2~910^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2d66aad1aade34df678177c5ccb58feaea72156;p=pandora-kernel.git imx-drm: simplify setup of panel format The encoder format passed into imx_drm_crtc_panel_format*() is the encoder format used for DRM in most cases; the HDMI encoder sets this to none, but this is incorrect, it should be TMDS. Since this is the case, we can pass the drm_encoder structure directly into this function and use the supplied fields there to configure the CRTC. Acked-by: Philipp Zabel Acked-by: Shawn Guo Reviewed-by: Fabio Estevam Signed-off-by: Russell King --- Reading git-diff-tree failed