]> Pileus Git - ~andy/linux/commit
Merge branch 'bdw-fixes' into backlight-rework
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 14 Nov 2013 14:17:41 +0000 (15:17 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 15 Nov 2013 08:44:29 +0000 (09:44 +0100)
commit96ab4c70396e4e5a4d623bc95e86484682bef78f
treeb5f31a822c7b8c1872ce91ca2aff6506fcd26af9
parent565ee3897f0cb1e9b09905747b3784e6605767e8
parent596cc11e7a4a89bf6c45f955402d0bd0c7d51f13
Merge branch 'bdw-fixes' into backlight-rework

Merge the bdw changes into the backlight rework branch so that we can
adapt the new code for bdw, too.  This is a bit a mess, but doing this
another way would have delayed the merging of the backlight
refactoring. Mea culpa.

As discussed with Jani on irc only do bdw-specific callbacks for the
set/get methods and bake in the only other special-case into the pch
enable function.

Conflicts:
drivers/gpu/drm/i915/intel_panel.c

v2: Don't enable the PWM too early for bdw (Jani).

v3: Create new bdw_ functions for setup and enable - the rules change
sufficiently imo with the switch from controlling the pwm from the cpu
to controlling it completel from the pch to warrant this.

v4: Rip out unused pipe variable in bdw_enable_backlight (0-day
builder).

Tested-by: Ben Widawsky <ben@bwidawsk.net> (on bdw)
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_opregion.c
drivers/gpu/drm/i915/intel_panel.c