Skip to content
Commit ec26d9e9 authored by Liu Ying's avatar Liu Ying Committed by Thierry Reding
Browse files

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: default avatarLiu Ying <Ying.Liu@freescale.com>
Acked-by: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarChris Zhong <zyw@rock-chips.com>
[treding@nvidia.com: add kerneldoc comment and commit message]
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 8005c49d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment