]> git.baikalelectronics.ru Git - kernel.git/commit
drm/dsi: Add a helper to get bits per pixel of MIPI DSI pixel format
authorLiu Ying <Ying.liu@freescale.com>
Fri, 20 Nov 2015 08:15:30 +0000 (16:15 +0800)
committerThierry Reding <treding@nvidia.com>
Mon, 23 Nov 2015 08:07:38 +0000 (09:07 +0100)
commitdeede405aa3dd872ae9e2f9a202a32cb085654f4
tree191ef1d875c31fffe41cde969512f06f69c51dc5
parent2715d332e6151136472842d51b2ec873c0652275
drm/dsi: Add a helper to get bits per pixel of MIPI DSI pixel format

Add a helper that can be used to obtain the number of bits per pixel
corresponding to a given MIPI DSI pixel format. This is useful in
bandwidth calculations, for example.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Chris Zhong <zyw@rock-chips.com>
[treding@nvidia.com: add kerneldoc comment and commit message]
Signed-off-by: Thierry Reding <treding@nvidia.com>
include/drm/drm_mipi_dsi.h