[RFC PATCH v3 4/4] tests/drv_module_reload: add ipvr support

2015-01-07 Thread Daniel Vetter
Vetter; Thierry Reding; intel-gfx at lists.freedesktop.org; dri- > > devel at lists.freedesktop.org; Kelley, Sean V; Chehab, John; > > emil.l.velikov at gmail.com; Jiang, Fei; Beckett, Robert; Barbalho, Rafael > > Subject: Re: [RFC PATCH v3 4/4] tests/drv_module_reload: add ipvr sup

[RFC PATCH v3 4/4] tests/drv_module_reload: add ipvr support

2015-01-06 Thread Cheng, Yao
p.org; Kelley, Sean V; Chehab, John; > emil.l.velikov at gmail.com; Jiang, Fei; Beckett, Robert; Barbalho, Rafael > Subject: Re: [RFC PATCH v3 4/4] tests/drv_module_reload: add ipvr support > > On Sun, Dec 21, 2014 at 02:40:24PM +, Cheng, Yao wrote: > > > -Origi

[RFC PATCH v3 4/4] tests/drv_module_reload: add ipvr support

2015-01-05 Thread Daniel Vetter
desktop.org; dri- > > devel at lists.freedesktop.org; Kelley, Sean V; Chehab, John; > > emil.l.velikov at gmail.com; Jiang, Fei > > Subject: Re: [RFC PATCH v3 4/4] tests/drv_module_reload: add ipvr support > > > > On Thu, Dec 18, 2014 at 11:04 AM, Thierry Reding > gmail.c

[RFC PATCH v3 4/4] tests/drv_module_reload: add ipvr support

2014-12-21 Thread Cheng, Yao
gt; emil.l.velikov at gmail.com; Jiang, Fei > Subject: Re: [RFC PATCH v3 4/4] tests/drv_module_reload: add ipvr support > > On Thu, Dec 18, 2014 at 11:04 AM, Thierry Reding > wrote: > >> I double checked the symptom and found it was a deadlock on > drm_global_mutex. > >>

[RFC PATCH v3 4/4] tests/drv_module_reload: add ipvr support

2014-12-18 Thread Daniel Vetter
On Thu, Dec 18, 2014 at 11:04 AM, Thierry Reding wrote: >> I double checked the symptom and found it was a deadlock on drm_global_mutex. >> When i915_driver_load() registers the platform device while ipvr module is >> in the system, ipvr's probe() function tries to lock drm_global_mutex which >>

[RFC PATCH v3 4/4] tests/drv_module_reload: add ipvr support

2014-12-18 Thread Thierry Reding
desktop.org; dri- > > devel at lists.freedesktop.org; daniel.vetter at ffwll.ch; Kelley, Sean V; > > Chehab, > > John; emil.l.velikov at gmail.com; Jiang, Fei > > Subject: Re: [RFC PATCH v3 4/4] tests/drv_module_reload: add ipvr support > > Thanks Thiery for the suggest

[RFC PATCH v3 4/4] tests/drv_module_reload: add ipvr support

2014-12-18 Thread Cheng, Yao
Sean V; > Chehab, > John; emil.l.velikov at gmail.com; Jiang, Fei > Subject: Re: [RFC PATCH v3 4/4] tests/drv_module_reload: add ipvr support Thanks Thiery for the suggestion, pls see my inline comments > > > Thierry/Daniel, the actual symptom is, after "rmmod i915",

[RFC PATCH v3 4/4] tests/drv_module_reload: add ipvr support

2014-12-17 Thread Thierry Reding
iel Vetter; Cheng, Yao; intel-gfx at lists.freedesktop.org; dri- > > devel at lists.freedesktop.org; daniel.vetter at ffwll.ch; Kelley, Sean V; > > Chehab, > > John; emil.l.velikov at gmail.com; Jiang, Fei > > Subject: Re: [RFC PATCH v3 4/4] tests/drv_module_reload: add ip

[RFC PATCH v3 4/4] tests/drv_module_reload: add ipvr support

2014-12-17 Thread Thierry Reding
On Mon, Nov 24, 2014 at 02:14:48PM +0100, Daniel Vetter wrote: > On Mon, Nov 24, 2014 at 10:55:46AM +0100, Thierry Reding wrote: > > On Fri, Nov 21, 2014 at 09:36:33PM +0100, Daniel Vetter wrote: > > > On Fri, Nov 21, 2014 at 09:27:04PM +0100, Thierry Reding wrote: > > > > On Sat, Nov 22, 2014 at 0

[RFC PATCH v3 4/4] tests/drv_module_reload: add ipvr support

2014-12-01 Thread Cheng, Yao
op.org; daniel.vetter at ffwll.ch; Kelley, Sean V; > Chehab, > John; emil.l.velikov at gmail.com; Jiang, Fei > Subject: Re: [RFC PATCH v3 4/4] tests/drv_module_reload: add ipvr support > > On Mon, Nov 24, 2014 at 10:55:46AM +0100, Thierry Reding wrote: > > On Fri, Nov 21, 201

[RFC PATCH v3 4/4] tests/drv_module_reload: add ipvr support

2014-11-24 Thread Daniel Vetter
On Mon, Nov 24, 2014 at 10:55:46AM +0100, Thierry Reding wrote: > On Fri, Nov 21, 2014 at 09:36:33PM +0100, Daniel Vetter wrote: > > On Fri, Nov 21, 2014 at 09:27:04PM +0100, Thierry Reding wrote: > > > On Sat, Nov 22, 2014 at 03:10:01AM +0800, Yao Cheng wrote: > > > > on vlv, if ipvr is installed,

[RFC PATCH v3 4/4] tests/drv_module_reload: add ipvr support

2014-11-24 Thread Thierry Reding
On Fri, Nov 21, 2014 at 09:36:33PM +0100, Daniel Vetter wrote: > On Fri, Nov 21, 2014 at 09:27:04PM +0100, Thierry Reding wrote: > > On Sat, Nov 22, 2014 at 03:10:01AM +0800, Yao Cheng wrote: > > > on vlv, if ipvr is installed, it need be manually unloaded before > > > i915, otherwise user might ru

[RFC PATCH v3 4/4] tests/drv_module_reload: add ipvr support

2014-11-22 Thread Yao Cheng
on vlv, if ipvr is installed, it need be manually unloaded before i915, otherwise user might run into use-after-free issue. v2: added this patch per Daniel's comment v3: no change Signed-off-by: Yao Cheng --- tests/drv_module_reload | 16 1 file changed, 16 insertions(+) diff

[RFC PATCH v3 4/4] tests/drv_module_reload: add ipvr support

2014-11-21 Thread Daniel Vetter
On Fri, Nov 21, 2014 at 09:27:04PM +0100, Thierry Reding wrote: > On Sat, Nov 22, 2014 at 03:10:01AM +0800, Yao Cheng wrote: > > on vlv, if ipvr is installed, it need be manually unloaded before > > i915, otherwise user might run into use-after-free issue. > > Huh? That doesn't sound right. What e

[RFC PATCH v3 4/4] tests/drv_module_reload: add ipvr support

2014-11-21 Thread Thierry Reding
On Sat, Nov 22, 2014 at 03:10:01AM +0800, Yao Cheng wrote: > on vlv, if ipvr is installed, it need be manually unloaded before > i915, otherwise user might run into use-after-free issue. Huh? That doesn't sound right. What exactly is it that's going wrong? You should never have to do this. If you