Re: [Intel-gfx] [PATCH 14/21] drm/i915: Abstract backlight registers a bit

2013-11-11 Thread Jani Nikula
On Fri, 08 Nov 2013, Daniel Vetter wrote: > So I'd just go with adding a copy-pasted version of set/get/enable for > broadwell. That should also fit in with Jani's plans for 3.14 with the > complete backlight refactoring. Adding Jani so he can explain what he'd > like. I'd like http://mid.gmane.o

Re: [Intel-gfx] [PATCH 14/21] drm/i915: Abstract backlight registers a bit

2013-11-08 Thread Daniel Vetter
On Thu, Nov 07, 2013 at 09:40:44PM -0800, Ben Widawsky wrote: > Many GENs generally perform the same actions just on different > registers. This is true going forward as well. To ease the transition a > bit, extract the common code where possible. > > Signed-off-by: Ben Widawsky As explained on

[Intel-gfx] [PATCH 14/21] drm/i915: Abstract backlight registers a bit

2013-11-08 Thread Ben Widawsky
Many GENs generally perform the same actions just on different registers. This is true going forward as well. To ease the transition a bit, extract the common code where possible. Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/intel_panel.c | 25 + 1 file changed, 1