OSDN Git Service

drm/rockchip: Substitute is_yuv_support() with format->is_yuv
authorAyan Kumar Halder <ayan.halder@arm.com>
Tue, 17 Jul 2018 17:13:44 +0000 (18:13 +0100)
committerAyan Kumar Halder <ayan.halder@arm.com>
Wed, 18 Jul 2018 15:59:27 +0000 (16:59 +0100)
commitd8bd23d9936bea7184a2bce1242ea646f4906d7d
treea40424f7c8dd065c789239e1b2e033f52df34901
parent9bace65934e74d47e467c44765e6a202c302fe7a
drm/rockchip: Substitute is_yuv_support() with format->is_yuv

drm_format_info table has a field 'is_yuv' to denote if the format
is yuv or not. The driver is expected to use this instead of
having a function for the same purpose.

Signed-off-by: Ayan Kumar halder <ayan.halder@arm.com>
Reviewed-by: Ville Syrjala <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1531847626-22248-3-git-send-email-ayan.halder@arm.com
drivers/gpu/drm/rockchip/rockchip_drm_vop.c