Re: [Intel-gfx] [RFC 1/6] drm/i915: cover ioctls with runtime_get/put

2014-02-23 Thread Naresh Kumar Kachhi
On 02/22/2014 01:37 AM, Jesse Barnes wrote: On Fri, 24 Jan 2014 19:23:54 +0200 Imre Deak wrote: On Fri, 2014-01-24 at 20:35 +0530, Naresh Kumar Kachhi wrote: On 01/22/2014 06:53 PM, Imre Deak wrote: On Wed, 2014-01-22 at 13:51 +0100, Daniel Vetter wrote: On Wed, Jan 22, 2014 at 05:34:17PM

Re: [Intel-gfx] [RFC 1/6] drm/i915: cover ioctls with runtime_get/put

2014-02-23 Thread Naresh Kumar Kachhi
On 01/24/2014 09:26 PM, Paulo Zanoni wrote: 2014/1/24 Naresh Kumar Kachhi : On 01/22/2014 06:53 PM, Imre Deak wrote: On Wed, 2014-01-22 at 13:51 +0100, Daniel Vetter wrote: On Wed, Jan 22, 2014 at 05:34:17PM +0530, naresh.kumar.kac...@intel.com wrote: From: Naresh Kumar Kachhi With runtime

Re: [Intel-gfx] [RFC 1/6] drm/i915: cover ioctls with runtime_get/put

2014-02-21 Thread Jesse Barnes
On Fri, 24 Jan 2014 19:23:54 +0200 Imre Deak wrote: > On Fri, 2014-01-24 at 20:35 +0530, Naresh Kumar Kachhi wrote: > > On 01/22/2014 06:53 PM, Imre Deak wrote: > > > > > On Wed, 2014-01-22 at 13:51 +0100, Daniel Vetter wrote: > > > > On Wed, Jan 22, 2014 at 05:34:17PM +0530, naresh.kumar.kac...

Re: [Intel-gfx] [RFC 1/6] drm/i915: cover ioctls with runtime_get/put

2014-01-24 Thread Imre Deak
On Fri, 2014-01-24 at 20:35 +0530, Naresh Kumar Kachhi wrote: > On 01/22/2014 06:53 PM, Imre Deak wrote: > > > On Wed, 2014-01-22 at 13:51 +0100, Daniel Vetter wrote: > > > On Wed, Jan 22, 2014 at 05:34:17PM +0530, naresh.kumar.kac...@intel.com > > > wrote: > > > > From: Naresh Kumar Kachhi > >

Re: [Intel-gfx] [RFC 1/6] drm/i915: cover ioctls with runtime_get/put

2014-01-24 Thread Paulo Zanoni
2014/1/24 Naresh Kumar Kachhi : > On 01/22/2014 06:53 PM, Imre Deak wrote: > > On Wed, 2014-01-22 at 13:51 +0100, Daniel Vetter wrote: > > On Wed, Jan 22, 2014 at 05:34:17PM +0530, naresh.kumar.kac...@intel.com > wrote: > > From: Naresh Kumar Kachhi > > With runtime PM enabled, we need to make sur

Re: [Intel-gfx] [RFC 1/6] drm/i915: cover ioctls with runtime_get/put

2014-01-24 Thread Naresh Kumar Kachhi
On 01/22/2014 06:53 PM, Imre Deak wrote: On Wed, 2014-01-22 at 13:51 +0100, Daniel Vetter wrote: On Wed, Jan 22, 2014 at 05:34:17PM +0530, naresh.kumar.kac...@intel.com wrote: From: Naresh Kumar Kachhi With runtime PM enabled, we need to make sure that all HW access are valid (i.e. Gfx is in

Re: [Intel-gfx] [RFC 1/6] drm/i915: cover ioctls with runtime_get/put

2014-01-22 Thread Paulo Zanoni
2014/1/22 : > From: Naresh Kumar Kachhi > > With runtime PM enabled, we need to make sure that all HW access > are valid (i.e. Gfx is in D0). Invalid accesses might end up in > HW hangs. Ex. A hang is seen if display register is accessed on > BYT while display power island is power gated. > > Th

Re: [Intel-gfx] [RFC 1/6] drm/i915: cover ioctls with runtime_get/put

2014-01-22 Thread Imre Deak
On Wed, 2014-01-22 at 13:51 +0100, Daniel Vetter wrote: > On Wed, Jan 22, 2014 at 05:34:17PM +0530, naresh.kumar.kac...@intel.com wrote: > > From: Naresh Kumar Kachhi > > > > With runtime PM enabled, we need to make sure that all HW access > > are valid (i.e. Gfx is in D0). Invalid accesses migh

Re: [Intel-gfx] [RFC 1/6] drm/i915: cover ioctls with runtime_get/put

2014-01-22 Thread Daniel Vetter
On Wed, Jan 22, 2014 at 05:34:17PM +0530, naresh.kumar.kac...@intel.com wrote: > From: Naresh Kumar Kachhi > > With runtime PM enabled, we need to make sure that all HW access > are valid (i.e. Gfx is in D0). Invalid accesses might end up in > HW hangs. Ex. A hang is seen if display register is

[Intel-gfx] [RFC 1/6] drm/i915: cover ioctls with runtime_get/put

2014-01-22 Thread naresh . kumar . kachhi
From: Naresh Kumar Kachhi With runtime PM enabled, we need to make sure that all HW access are valid (i.e. Gfx is in D0). Invalid accesses might end up in HW hangs. Ex. A hang is seen if display register is accessed on BYT while display power island is power gated. This patch is covering all th