[PATCH v3] drm/exynos: fix kernel panic issue at drm releasing

2016-01-12 Thread Inki Dae
Hi Daniel, 2016년 01월 12일 04:00에 Daniel Stone 이(가) 쓴 글: > Hi Inki, > > On 8 January 2016 at 08:46, Inki Dae wrote: >> Changelog v3: >> - initialize only device specific things. Each page flip event object >> is created by DRM core so DRM core should release the object including

[PATCH v3] drm/exynos: fix kernel panic issue at drm releasing

2016-01-12 Thread Daniel Stone
Hi Inki, On 12 January 2016 at 06:25, Inki Dae wrote: > 2016년 01월 12일 04:00에 Daniel Stone 이(가) 쓴 글: >> On 8 January 2016 at 08:46, Inki Dae wrote: >>> Changelog v3: >>> - initialize only device specific things. Each page flip event object >>> is created by DRM core so DRM core

[PATCH v3] drm/exynos: fix kernel panic issue at drm releasing

2016-01-11 Thread Daniel Vetter
On Fri, Jan 8, 2016 at 9:46 AM, Inki Dae wrote: > This patch fixes a kernel panic issue which happened > when drm driver is closed while modetest. > > This issue could be reproduced easily by launching modetest > with page flip repeatedly. > > The reason is that invalid drm_file object could be ac

[PATCH v3] drm/exynos: fix kernel panic issue at drm releasing

2016-01-11 Thread Daniel Stone
Hi Inki, On 8 January 2016 at 08:46, Inki Dae wrote: > Changelog v3: > - initialize only device specific things. Each page flip event object > is created by DRM core so DRM core should release the object including > incrementing event space. I'm a bit confused here; we no longer call event->

[PATCH v3] drm/exynos: fix kernel panic issue at drm releasing

2016-01-08 Thread Inki Dae
This patch fixes a kernel panic issue which happened when drm driver is closed while modetest. This issue could be reproduced easily by launching modetest with page flip repeatedly. The reason is that invalid drm_file object could be accessed by send_vblank_event function when finishing page flip