Re: [RFC v2 01/10] drm: drm:fourcc: Add bpp information to struct drm_format_info

2018-01-30 Thread Daniel Vetter
On Thu, Jan 25, 2018 at 06:03:58PM -0800, Hyun Kwon wrote: > 'cpp' doesn't work for any format where component size is not byte aligned. > Add 'bpp' to have a bit level information. Add a meesage to > drm_format_plane_cpp() to indicate that the returned cpp would be > rounded for non byte aligned f

[RFC v2 01/10] drm: drm:fourcc: Add bpp information to struct drm_format_info

2018-01-25 Thread Hyun Kwon
'cpp' doesn't work for any format where component size is not byte aligned. Add 'bpp' to have a bit level information. Add a meesage to drm_format_plane_cpp() to indicate that the returned cpp would be rounded for non byte aligned formats. Signed-off-by: Hyun Kwon --- v2 - Introduce bpp --- ---