diff options
author | Fabien Dessenne <fabien.dessenne@st.com> | 2016-09-06 10:42:25 +0300 |
---|---|---|
committer | Vincent Abriou <vincent.abriou@st.com> | 2016-09-20 12:32:06 +0300 |
commit | ffdbb82ca4e01b468871dc683e6c3ae169995f0a (patch) | |
tree | 487c25b7b58ae393d36633ed8b4eb078d089dbd8 /drivers/gpu/drm/sti/sti_compositor.h | |
parent | ae2178503d4237047db4afb5888aa7c8e8b820fb (diff) | |
download | linux-ffdbb82ca4e01b468871dc683e6c3ae169995f0a.tar.xz |
drm/sti: use vtg array instead of vtg_main/aux
This is more generic and more consistent with the other members of the
sti_compositor struct.
Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
Acked-by: Vincent Abriou <vincent.abriou@st.com>
Diffstat (limited to 'drivers/gpu/drm/sti/sti_compositor.h')
-rw-r--r-- | drivers/gpu/drm/sti/sti_compositor.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/gpu/drm/sti/sti_compositor.h b/drivers/gpu/drm/sti/sti_compositor.h index 177c57b74006..c9e7e3bf183e 100644 --- a/drivers/gpu/drm/sti/sti_compositor.h +++ b/drivers/gpu/drm/sti/sti_compositor.h @@ -60,8 +60,7 @@ struct sti_compositor_data { * @rst_aux: reset control of the aux path * @mixer: array of mixers * @vid: array of vids - * @vtg_main: vtg for main data path - * @vtg_aux: vtg for auxillary data path + * @vtg: array of vtgs * @vtg_vblank_nb: array of callbacks for VTG VSYNC notification */ struct sti_compositor { @@ -76,8 +75,7 @@ struct sti_compositor { struct reset_control *rst_aux; struct sti_mixer *mixer[STI_MAX_MIXER]; struct sti_vid *vid[STI_MAX_VID]; - struct sti_vtg *vtg_main; - struct sti_vtg *vtg_aux; + struct sti_vtg *vtg[STI_MAX_MIXER]; struct notifier_block vtg_vblank_nb[STI_MAX_MIXER]; }; |