]> git.karo-electronics.de Git - linux-beck.git/commit
drm/sti: run gdp init sequence only once
authorFabien Dessenne <fabien.dessenne@st.com>
Tue, 6 Sep 2016 07:42:00 +0000 (09:42 +0200)
committerVincent Abriou <vincent.abriou@st.com>
Tue, 20 Sep 2016 09:32:05 +0000 (11:32 +0200)
commit00b517e54f937ae4917ca613e3956e424f7a17cd
tree9c4ed953d0300f0782d66c7c7b25aa7514d5a1fa
parent9dd5942b3195fc94c538d6cf1d26cde8813da80c
drm/sti: run gdp init sequence only once

Do not rely on plane->status to define whether this is the first update
but rather check for gdp->vtg.
This avoids multiple and unwanted calls to sti_vtg_register_client()
which breaks the kernel scheduler.

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