]> 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)
commite5586042acd792b8aafb249c1b2a4c11c45e9e26
treeae5e20023a96ae50af923e7943ee8ed68151d846
parent4f7c9a7755bb9aa96622b4ec34ff6bfc3377c5f3
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