]> git.baikalelectronics.ru Git - kernel.git/commit
drm/sti: use valid video mode
authorFabien Dessenne <fabien.dessenne@st.com>
Tue, 6 Sep 2016 07:42:53 +0000 (09:42 +0200)
committerVincent Abriou <vincent.abriou@st.com>
Tue, 20 Sep 2016 09:32:06 +0000 (11:32 +0200)
commitf766c6c810a6894a6049b5ee9406e098ac8cb611
tree7722a43e80c26a17545c49ea3557a934ec888e13
parent3bc6b01de30538f836632a1a701c0061e711b38c
drm/sti: use valid video mode

In atomic mode the crtc_xxx (eg crtc_hdisplay) members of the mode
structure may be unset before calling atomic_check/commit for planes.
Instead of, use xxx members which are actually set.

Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
Acked-by: Vincent Abriou <vincent.abriou@st.com>
drivers/gpu/drm/sti/sti_gdp.c
drivers/gpu/drm/sti/sti_hqvdp.c
drivers/gpu/drm/sti/sti_vid.c