]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/vmwgfx: Also check for crtc status while checking for DU active
authorDeepak Rawat <drawat@vmware.com>
Fri, 21 Dec 2018 22:38:35 +0000 (14:38 -0800)
committerThomas Hellstrom <thellstrom@vmware.com>
Tue, 5 Feb 2019 12:53:28 +0000 (13:53 +0100)
commit479d59026fe44f89fa67efa01a4d47e00808e688
tree22a98d5aad1cec7b33f8b3c8616929a00941ca49
parent51fdbeb4ca1a8415c98f87cb877956ae83e71627
drm/vmwgfx: Also check for crtc status while checking for DU active

During modeset check it is possible to have all crtc_state's in atomic
state. Check for crtc enable status while checking for display unit
active status. Only error if enabling a crtc while display unit is not
active.

Cc: <stable@vger.kernel.org>
Fixes: 9da6e26c0aae: ("drm/vmwgfx: Fix a layout race condition")
Signed-off-by: Deepak Rawat <drawat@vmware.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c