[PATCH] drm/mgag200: fix kernel hang in cursor code.

2015-11-18 Thread Rui Wang
The machine hang completely with the following message on the console: [ 487.777538] BUG: unable to handle kernel NULL pointer dereference at 0060 [ 487.777554] IP: [] _raw_spin_lock+0xe/0x30 [ 487.777557] PGD 42e9f7067 PUD 42f2fa067 PMD 0 [ 487.777560] Oops: 0002 [#1] SMP ... [

[PATCH] drm/mgag200: fix kernel hang in cursor code.

2015-11-18 Thread Daniel Vetter
On Wed, Nov 18, 2015 at 11:00:53PM +0800, Rui Wang wrote: > The machine hang completely with the following message on the console: > > [ 487.777538] BUG: unable to handle kernel NULL pointer dereference at > 0060 > [ 487.777554] IP: [] _raw_spin_lock+0xe/0x30 > [ 487.777557] PGD 42