Re: [Intel-gfx] [PATCH 1/2] drm/i915: prepare for multiple power wells

2013-10-23 Thread Imre Deak
On Wed, 2013-10-23 at 11:56 -0200, Paulo Zanoni wrote: > 2013/10/22 Imre Deak : > > In the future we'll need to support multiple power wells, so prepare for > > that here. Create a new power domains struct which contains all > > power domain/well specific fields. Since we'll have one lock protectin

Re: [Intel-gfx] [PATCH 1/2] drm/i915: prepare for multiple power wells

2013-10-23 Thread Paulo Zanoni
2013/10/22 Imre Deak : > In the future we'll need to support multiple power wells, so prepare for > that here. Create a new power domains struct which contains all > power domain/well specific fields. Since we'll have one lock protecting > all power wells, move power_well->lock to the new struct to

[Intel-gfx] [PATCH 1/2] drm/i915: prepare for multiple power wells

2013-10-22 Thread Imre Deak
In the future we'll need to support multiple power wells, so prepare for that here. Create a new power domains struct which contains all power domain/well specific fields. Since we'll have one lock protecting all power wells, move power_well->lock to the new struct too. No functional change. Sign