drm/sun4i: Substitute sun4i_backend_format_is_yuv() with format->is_yuv
authorAyan Kumar Halder <ayan.halder@arm.com>
Tue, 17 Jul 2018 17:13:46 +0000 (18:13 +0100)
committerAyan Kumar Halder <ayan.halder@arm.com>
Wed, 18 Jul 2018 16:00:29 +0000 (17:00 +0100)
commit979c11ef39cee79d6f556091a357890962be2580
tree1a1efa58e950c7c396d1ecc6c383b4486323c773
parentd8bd23d9936bea7184a2bce1242ea646f4906d7d
drm/sun4i: Substitute sun4i_backend_format_is_yuv() 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-5-git-send-email-ayan.halder@arm.com
drivers/gpu/drm/sun4i/sun4i_backend.c