Re: [Intel-gfx] [PATCH] drm/i915: add missing rpm ref to i915_gem_pwrite_ioctl

2014-12-18 Thread Jani Nikula
On Tue, 16 Dec 2014, Imre Deak wrote: > On Wed, 2014-11-12 at 16:40 +0200, Imre Deak wrote: >> Without this RPM ref we can hit the device suspended WARN via: >> i915_gem_object_pin()->ggtt_bind_vma->gen6_ggtt_insert_entries(). I >> noticed this on my BYT while keeping the i915 device in runtime >>

Re: [Intel-gfx] [PATCH] drm/i915: add missing rpm ref to i915_gem_pwrite_ioctl

2014-12-16 Thread Imre Deak
On Wed, 2014-11-12 at 16:40 +0200, Imre Deak wrote: > Without this RPM ref we can hit the device suspended WARN via: > i915_gem_object_pin()->ggtt_bind_vma->gen6_ggtt_insert_entries(). I > noticed this on my BYT while keeping the i915 device in runtime > suspended state for a while. I chose this pl

Re: [Intel-gfx] [PATCH] drm/i915: add missing rpm ref to

2014-11-12 Thread shuang . he
Tested-By: PRC QA PRTS (Patch Regression Test System Contact: shuang...@intel.com) -Summary- Platform: baseline_drm_intel_nightly_pass_rate->patch_applied_pass_rate BYT: pass/total=291/291->290/291 PNV: pass/total=356/356->356

Re: [Intel-gfx] [PATCH] drm/i915: add missing rpm ref to i915_gem_pwrite_ioctl

2014-11-12 Thread Daniel Vetter
On Wed, Nov 12, 2014 at 04:40:35PM +0200, Imre Deak wrote: > Without this RPM ref we can hit the device suspended WARN via: > i915_gem_object_pin()->ggtt_bind_vma->gen6_ggtt_insert_entries(). I > noticed this on my BYT while keeping the i915 device in runtime > suspended state for a while. I chose

[Intel-gfx] [PATCH] drm/i915: add missing rpm ref to i915_gem_pwrite_ioctl

2014-11-12 Thread Imre Deak
Without this RPM ref we can hit the device suspended WARN via: i915_gem_object_pin()->ggtt_bind_vma->gen6_ggtt_insert_entries(). I noticed this on my BYT while keeping the i915 device in runtime suspended state for a while. I chose this place to take the ref to avoid the possible deadlock via the m