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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>

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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx





[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux