Re: [Intel-gfx] [PATCH] drm/i915: Fix Cherryview oops on boot

2018-12-13 Thread Matt Roper
On Thu, Dec 13, 2018 at 04:12:41PM +, Chris Wilson wrote: > Do not dereference the LUT blob before checking whether that blob > exists. Or else, > > <1>[ 13.978684] BUG: unable to handle kernel NULL pointer dereference at > 0048 > <6>[ 13.978718] PGD 0 P4D 0 > <4>[ 13.978733

[Intel-gfx] [PATCH] drm/i915: Fix Cherryview oops on boot

2018-12-13 Thread Chris Wilson
Do not dereference the LUT blob before checking whether that blob exists. Or else, <1>[ 13.978684] BUG: unable to handle kernel NULL pointer dereference at 0048 <6>[ 13.978718] PGD 0 P4D 0 <4>[ 13.978733] Oops: [#1] PREEMPT SMP PTI <4>[ 13.978750] CPU: 0 PID: 282 Comm: mo