]> git.baikalelectronics.ru Git - kernel.git/commit
drm/sti: do not post GDP command if no update
authorVincent Abriou <vincent.abriou@st.com>
Thu, 2 Feb 2017 08:50:48 +0000 (09:50 +0100)
committerVincent Abriou <vincent.abriou@st.com>
Fri, 10 Feb 2017 08:34:39 +0000 (09:34 +0100)
commit4dda01eca941cf71f7d39a612f1ff3818b29107c
treeae5e20023a96ae50af923e7943ee8ed68151d846
parentb9485b5f4bd671e7e8b7affab998f4551b3174d0
drm/sti: do not post GDP command if no update

Do not process update requests with unmodified parameters.

This typically happens when the driver is called with legacy
(non-atomic) IOCTL : in that case atomic_update() is called multiple
times with the same parameters.

Signed-off-by: Vincent Abriou <vincent.abriou@st.com>
drivers/gpu/drm/sti/sti_gdp.c