drm/sun4i: de2: rgb field in de2 format struct is redundant
authorJernej Skrabec <jernej.skrabec@siol.net>
Mon, 24 Feb 2020 17:38:58 +0000 (18:38 +0100)
committerJernej Skrabec <jernej.skrabec@siol.net>
Tue, 24 Mar 2020 20:12:51 +0000 (21:12 +0100)
commita9a753594a8939023ac12bef379912c5231ec941
tree66b1158daa1a543fb2c3860616f676d318939fc1
parent8ad463acc78a591116eb64b5a8eec13c2486aed6
drm/sun4i: de2: rgb field in de2 format struct is redundant

drm_format_info structure already contains information if format is RGB
or YUV. Use that instead.

Acked-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20200224173901.174016-5-jernej.skrabec@siol.net
drivers/gpu/drm/sun4i/sun8i_mixer.c
drivers/gpu/drm/sun4i/sun8i_mixer.h
drivers/gpu/drm/sun4i/sun8i_ui_layer.c
drivers/gpu/drm/sun4i/sun8i_vi_layer.c