diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2016-01-07 14:32:07 +0300 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2016-09-08 09:58:57 +0300 |
commit | 8e9240472522bd53d9372a03357b9f0ca8faef59 (patch) | |
tree | b5b2a9cc7d1f29957662ef7940980617419634b1 /drivers/gpu/drm/sun4i/sun4i_tcon.h | |
parent | b5644a5e72f0a18c0cddf887bec1e1370cf67a8c (diff) | |
download | linux-8e9240472522bd53d9372a03357b9f0ca8faef59.tar.xz |
drm/sun4i: support TCONs without channel 1
Some Allwinner SoCs, such as the A33, have a variation of the TCON that
doesn't have a second channel (or it is not wired to anything).
Make sure we can handle that case.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Diffstat (limited to 'drivers/gpu/drm/sun4i/sun4i_tcon.h')
-rw-r--r-- | drivers/gpu/drm/sun4i/sun4i_tcon.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/sun4i/sun4i_tcon.h b/drivers/gpu/drm/sun4i/sun4i_tcon.h index 100bfa093277..12bd48925f4d 100644 --- a/drivers/gpu/drm/sun4i/sun4i_tcon.h +++ b/drivers/gpu/drm/sun4i/sun4i_tcon.h @@ -164,6 +164,8 @@ struct sun4i_tcon { bool has_mux; struct drm_panel *panel; + + bool has_channel_1; }; struct drm_bridge *sun4i_tcon_find_bridge(struct device_node *node); |