summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/panel
diff options
context:
space:
mode:
authorMaxime Ripard2018-01-22 10:25:26 +0100
committerMaxime Ripard2018-01-22 15:22:29 +0100
commitdd63250c55bf26a814c957f6772e8f8683b70077 (patch)
treecff2ad1ac3587bba2344cd218a59d1a717976929 /drivers/gpu/drm/panel
parentdrm/sun4i: backend: Use runtime_pm variant of atomic_commit_tail (diff)
downloadkernel-qcow2-linux-dd63250c55bf26a814c957f6772e8f8683b70077.tar.gz
kernel-qcow2-linux-dd63250c55bf26a814c957f6772e8f8683b70077.tar.xz
kernel-qcow2-linux-dd63250c55bf26a814c957f6772e8f8683b70077.zip
drm/sun4i: backend: Make sure we don't have a commit pending
If we try to read the backend registers while it fetches the new values, we end up with the value of some random register instead of the one we asked for. In order to prevent that, let's make sure that the very first thing we do during our atomic modesetting is to let the commit bit come to a rest. We don't have to worry about anything else since the only time we will trigger a new transaction is during the atomic_commit which comes much later. Reviewed-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Link: https://patchwork.freedesktop.org/patch/msgid/35604307e5bde2b85c674de79fa7c4d55700f085.1516613040.git-series.maxime.ripard@free-electrons.com
Diffstat (limited to 'drivers/gpu/drm/panel')
0 files changed, 0 insertions, 0 deletions