Re: [PATCH] drm/bochs: Fix NULL dereference on atomic_disable helper

2019-03-11 Thread Daniel Vetter
On Mon, Mar 11, 2019 at 02:07:16PM +0100, Gerd Hoffmann wrote: > Hi, > > > > > static void bochs_crtc_atomic_flush(struct drm_crtc *crtc, > > > > struct drm_crtc_state > > > > *old_crtc_state) > > > > { > > > > @@ -66,6 +71,7 @@ static const struct drm_crtc

[PATCH] drm/bochs: Fix NULL dereference on atomic_disable helper

2019-03-10 Thread Rodrigo Siqueira
When the subtest basic-plain-flip from IGT project was executed on Bochs driver, the following bug appears: BUG: unable to handle kernel NULL pointer dereference at PGD 0 P4D 0 Oops: 0010 [#1] PREEMPT SMP PTI CPU: 0 PID: 423 Comm: kms_flip Not tainted 5.0.0-VM+ #102 Hardware name: