[PATCH RFC v5 10/21] drm/dsi: Add a helper to get bits per pixel of MIPI DSI pixel format

2014-12-24 Thread Liu Ying
Signed-off-by: Liu Ying --- v4->v5: * None. v3->v4: * None. v2->v3: * None. v1->v2: * Thierry Reding suggested that the mipi_dsi_pixel_format_to_bpp() function could be placed at the common DRM MIPI DSI driver. This patch is newly added. include/drm/drm_mipi_dsi.h | 14

[PATCH RFC v5 10/21] drm/dsi: Add a helper to get bits per pixel of MIPI DSI pixel format

2014-12-24 Thread Liu Ying
Signed-off-by: Liu Ying ying@freescale.com --- v4-v5: * None. v3-v4: * None. v2-v3: * None. v1-v2: * Thierry Reding suggested that the mipi_dsi_pixel_format_to_bpp() function could be placed at the common DRM MIPI DSI driver. This patch is newly added. include/drm/drm_mipi_dsi.h