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

2016-01-05 Thread Inki Dae
Hi Daniel, 2016년 01월 05일 05:24에 Daniel Stone 이(가) 쓴 글: > Hi Inki, > > On 4 January 2016 at 12:57, Inki Dae wrote: >> 2015년 12월 24일 22:32에 Daniel Stone 이(가) 쓴 글: >>> On 24 December 2015 at 09:10, Inki Dae wrote: +void

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

2016-01-05 Thread Daniel Vetter
On Tue, Jan 05, 2016 at 07:55:52PM +0900, Inki Dae wrote: > Hi Daniel, > > 2016년 01월 05일 05:24에 Daniel Stone 이(가) 쓴 글: > > Hi Inki, > > > > On 4 January 2016 at 12:57, Inki Dae wrote: > >> 2015년 12월 24일 22:32에 Daniel Stone 이(가) 쓴 글: > >>> On 24 December 2015 at 09:10, Inki

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

2016-01-05 Thread Inki Dae
+ Rob Clark, Hi Daniel and Rob, 2016년 01월 05일 20:08에 Daniel Vetter 이(가) 쓴 글: > On Tue, Jan 05, 2016 at 07:55:52PM +0900, Inki Dae wrote: >> Hi Daniel, >> >> 2016년 01월 05일 05:24에 Daniel Stone 이(가) 쓴 글: >>> Hi Inki, >>> >>> On 4 January 2016 at 12:57, Inki Dae wrote:

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

2016-01-04 Thread Daniel Stone
Hi Inki, On 4 January 2016 at 12:57, Inki Dae wrote: > 2015년 12월 24일 22:32에 Daniel Stone 이(가) 쓴 글: >> On 24 December 2015 at 09:10, Inki Dae wrote: >>> +void exynos_drm_crtc_cancel_page_flip(struct drm_crtc *crtc) >>> +{ >>> + struct

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

2015-12-24 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

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

2015-12-24 Thread Daniel Stone
Hi Inki, On 24 December 2015 at 09:10, Inki Dae wrote: > +void exynos_drm_crtc_cancel_page_flip(struct drm_crtc *crtc) > +{ > + struct exynos_drm_crtc *exynos_crtc = to_exynos_crtc(crtc); > + unsigned long flags; > + > + spin_lock_irqsave(>dev->event_lock,