]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vmwgfx: don't check for old_crtc_state enable status
authorDeepak Rawat <drawat@vmware.com>
Thu, 13 Sep 2018 10:33:49 +0000 (12:33 +0200)
committerThomas Hellstrom <thellstrom@vmware.com>
Thu, 20 Sep 2018 06:00:02 +0000 (08:00 +0200)
commit3ac0d4bbaf8874f463694c7af80f8d1a6754a724
tree2fcbc0d159f76045cb963dc9a68b813ec037f943
parent202fdaf8da70d7634557fe057d2b3d2fae598d74
drm/vmwgfx: don't check for old_crtc_state enable status

During atomic check to prepare the new topology no need to check if
old_crtc_state was enabled or not. This will cause atomic_check to fail
because due to connector routing a crtc can be in atomic_state even if
there was no change to enable status.

Detected this issue with igt run.

Signed-off-by: Deepak Rawat <drawat@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c