Re: [PATCH] drm/rockchip: cancel pending vblanks on close

2016-03-13 Thread Mark yao
On 2016年03月12日 01:21, John Keeping wrote: When closing the DRM device while a vblank is pending, we access file_priv after it has been free'd, which gives: Unable to handle kernel NULL pointer dereference at virtual address ... PC is at __list_add+0x5c/0xe8 LR is at send_vbl

[PATCH] drm/rockchip: cancel pending vblanks on close

2016-03-11 Thread John Keeping
When closing the DRM device while a vblank is pending, we access file_priv after it has been free'd, which gives: Unable to handle kernel NULL pointer dereference at virtual address ... PC is at __list_add+0x5c/0xe8 LR is at send_vblank_event+0x54/0x1f0 ... [] (__list_add) fro