Re: [PATCH -next 05/15] drm/vmwgfx: Fix atomic mode set check

2018-07-04 Thread Thomas Hellstrom
Hi, On 07/04/2018 10:35 AM, Daniel Vetter wrote: On Tue, Jul 03, 2018 at 09:14:50PM +0200, Thomas Hellstrom wrote: From: Sinclair Yeh vmw_kms_atomic_check_modeset() is currently checking config using the legacy state, which is updated after a commit has happened. This means vmw_kms_atomic_ch

Re: [PATCH -next 05/15] drm/vmwgfx: Fix atomic mode set check

2018-07-04 Thread Daniel Vetter
On Tue, Jul 03, 2018 at 09:14:50PM +0200, Thomas Hellstrom wrote: > From: Sinclair Yeh > > vmw_kms_atomic_check_modeset() is currently checking config using the > legacy state, which is updated after a commit has happened. > > This means vmw_kms_atomic_check_modeset() will reject an invalid conf

[PATCH -next 05/15] drm/vmwgfx: Fix atomic mode set check

2018-07-03 Thread Thomas Hellstrom
From: Sinclair Yeh vmw_kms_atomic_check_modeset() is currently checking config using the legacy state, which is updated after a commit has happened. This means vmw_kms_atomic_check_modeset() will reject an invalid config on the next update rather than the current one. Fix this by using the new