drm: Add drm_format_{horz, vert}_chroma_subsampling() utility functions
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 5 Apr 2012 18:35:17 +0000 (21:35 +0300)
committerDave Airlie <airlied@redhat.com>
Fri, 20 Apr 2012 11:38:00 +0000 (12:38 +0100)
commit01b68b0483627631c738dcfca0dee7e22892c420
tree9eead4bda1b134612d0c564a3a6c2ad690291560
parent5a86bd552407bd6b3e0df4e88636797484d06430
drm: Add drm_format_{horz, vert}_chroma_subsampling() utility functions

These functions return the chroma subsampling factors for the specified
pixel format.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc.c
include/drm/drm_crtc.h