]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Replace is_planar_yuv_format() with drm_format_info_is_yuv_semiplanar()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 13 Sep 2019 19:31:54 +0000 (22:31 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 16 Sep 2019 11:44:03 +0000 (14:44 +0300)
commitd9934d0b518032dc74dcb6ed1a4c59334b7a13db
tree653d01e67bc9a2ca193d0358dd257f04752f5c4b
parent8fac9ec4cd5f6256c7ab11cfd4f57dff8838d3a2
drm/i915: Replace is_planar_yuv_format() with drm_format_info_is_yuv_semiplanar()

There's a helper in drm_fourcc.h these days to check of we're dealing
with a two plane YUV format. Make use if it.

Also s/plane/color_plane/ in skl_plane_relative_data_rate() to reduce
the confusion.

Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190913193157.9556-2-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_atomic_plane.c
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_display.h
drivers/gpu/drm/i915/display/intel_sprite.c
drivers/gpu/drm/i915/display/intel_sprite.h
drivers/gpu/drm/i915/intel_pm.c