[PATCH 2/4] drm: Add drm_format_plane_cpp() utility function

2012-04-05 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? This function returns the bytes per pixel value based on the pixel format and plane index. Signed-off-by: Ville Syrj?l? --- drivers/gpu/drm/drm_crtc.c | 45 include/drm/drm_crtc.h |1 + 2 files changed, 46 insertions(+)

[PATCH 2/4] drm: Add drm_format_plane_cpp() utility function

2012-04-05 Thread ville . syrjala
From: Ville Syrjälä This function returns the bytes per pixel value based on the pixel format and plane index. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/drm_crtc.c | 45 include/drm/drm_crtc.h |1 + 2 files changed, 46 insertions(+)