]> git.baikalelectronics.ru Git - kernel.git/commit
drm: mali-dp: Clear CVAL when leaving config mode
authorBrian Starkey <brian.starkey@arm.com>
Tue, 8 Nov 2016 11:36:14 +0000 (11:36 +0000)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Tue, 8 Nov 2016 11:40:02 +0000 (11:40 +0000)
commit0a86d0f0cd131de9f1d62f09a3145acb15916147
treee2c81d2396738319539cf9f66a0bcf98452dd4df
parent52d32a5fc21bbb688e2a54adb4a2bd73566ebd0b
drm: mali-dp: Clear CVAL when leaving config mode

It's possible for CVAL to get set whilst we are in config mode. If this
happens, afer we leave config mode the HW will latch whatever
configuration is in the registers at the next vsync. Most likely this
will be a partial configuration, as we'll be racing against the ongoing
atomic_commit.

To avoid this, clear CVAL before leaving config mode.

Signed-off-by: Brian Starkey <brian.starkey@arm.com>
Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
drivers/gpu/drm/arm/malidp_hw.c