[Intel-gfx] [PATCH 0/6] drm/i915: VLV/CHV backlight fixes

ville.syrjala at linux.intel.com ville.syrjala at linux.intel.com
Fri Nov 7 10:15:58 CET 2014


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

This series tries to fix the initial backlight setup on VLV/CHV so that
we read out the hardware state from the correct pipe's BLC registers.
Makes for a better experience on BSW where the BIOS always uses pipe B
for the eDP port.

I also noticed some weirdness with systemd due to the early backlight
device registration, so I went ahead and moved that to occur after the
modeset init has finished. That should fix the race between our state
readout and userspace backlight frobbery.

Ville Syrjälä (6):
  drm/i915: Warn if trying to poke a VLV backlight on invalid pipe
  drm/i915: Catch INVALID_PIPE in vlv_get_backlight()
  drm/i915: Don't deref NULL crtc in intel_get_pipe_from_connector()
  drm/i915: Pass the current pipe from eDP init to backlight setup
  drm/i915: Register the backlight device after the modeset init
  drm/i915: Remove most INVALID_PIPE checks from VLV backlight code

 drivers/gpu/drm/i915/i915_drv.h      |  2 +-
 drivers/gpu/drm/i915/intel_display.c |  6 ++-
 drivers/gpu/drm/i915/intel_dp.c      | 22 +++++++++-
 drivers/gpu/drm/i915/intel_drv.h     |  5 ++-
 drivers/gpu/drm/i915/intel_lvds.c    |  2 +-
 drivers/gpu/drm/i915/intel_panel.c   | 79 +++++++++++++++++++++++++-----------
 6 files changed, 87 insertions(+), 29 deletions(-)

-- 
2.0.4




More information about the Intel-gfx mailing list