• Paulo Zanoni's avatar
    drm/i915: don't forget the PCH backlight registers · a4f32fc3
    Paulo Zanoni authored
    When we enable/disable the CPU backlight registers we can't forget to
    enable/disable the PCH backlight registers. Since we're using the CPU
    registers we should also unset the override bit.
    
    Fixes a regression on the following commit:
      drm/i915: properly enable the blc controller on the right pipe
    
    The commit just deleted the code that sets the PCH registers, so it
    was relying on the values set by the BIOS. I told my BIOS to boot on
    the DVI monitor instead of the LVDS panel, so I noticed the bug.
    Signed-off-by: default avatarPaulo Zanoni <paulo.r.zanoni@intel.com>
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    a4f32fc3
intel_panel.c 12.3 KB