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)
commite9f494d36fc4cab2ba7e9e7f3bb4edf5b214f651
treeae5e20023a96ae50af923e7943ee8ed68151d846
parentc5649ee49761f5367c46c5ae6579ab8e8b03575d
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