summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/sun4i/sun8i_mixer.h
diff options
context:
space:
mode:
authorJernej Skrabec <jernej.skrabec@siol.net>2020-02-24 18:38:58 +0100
committerJernej Skrabec <jernej.skrabec@siol.net>2020-03-24 21:12:51 +0100
commita9a753594a8939023ac12bef379912c5231ec941 (patch)
tree66b1158daa1a543fb2c3860616f676d318939fc1 /drivers/gpu/drm/sun4i/sun8i_mixer.h
parent8ad463acc78a591116eb64b5a8eec13c2486aed6 (diff)
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
Diffstat (limited to 'drivers/gpu/drm/sun4i/sun8i_mixer.h')
-rw-r--r--drivers/gpu/drm/sun4i/sun8i_mixer.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/sun4i/sun8i_mixer.h b/drivers/gpu/drm/sun4i/sun8i_mixer.h
index 345b28b0a80a..447ad0b01b00 100644
--- a/drivers/gpu/drm/sun4i/sun8i_mixer.h
+++ b/drivers/gpu/drm/sun4i/sun8i_mixer.h
@@ -147,7 +147,6 @@
struct de2_fmt_info {
u32 drm_fmt;
u32 de2_fmt;
- bool rgb;
enum sun8i_csc_mode csc;
};