diff options
author | Vincent Abriou <vincent.abriou@st.com> | 2017-02-02 09:49:02 +0100 |
---|---|---|
committer | Vincent Abriou <vincent.abriou@st.com> | 2017-02-10 09:34:39 +0100 |
commit | c5649ee49761f5367c46c5ae6579ab8e8b03575d (patch) | |
tree | 6bf45a1847cb24c9720e14565b6c59605cd8ec77 /include/drm/drm_cache.h | |
parent | 1b7f145123f4d59e6b88a83b507c7981df0ee701 (diff) |
drm/sti: do not set gdp pixel clock rate if mode is not set
Fix a division by 0 case : in some cases, when the GDP plane is being
disabled atomic_check() is called with "mode->clock = 0".
In that case, do not set parent and pixel clock rate.
Signed-off-by: Vincent Abriou <vincent.abriou@st.com>
Diffstat (limited to 'include/drm/drm_cache.h')
0 files changed, 0 insertions, 0 deletions