lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200116211623.53799-1-lyude@redhat.com>
Date:   Thu, 16 Jan 2020 16:16:07 -0500
From:   Lyude Paul <lyude@...hat.com>
To:     intel-gfx@...ts.freedesktop.org
Cc:     dri-devel@...ts.freedesktop.org, "Daniel Vetter" <daniel@...ll.ch>,
        "David Airlie" <airlied@...ux.ie>,
        "Maarten Lankhorst" <maarten.lankhorst@...ux.intel.com>,
        "Rodrigo Vivi" <rodrigo.vivi@...el.com>,
        linux-kernel@...r.kernel.org, "Imre Deak" <imre.deak@...el.com>,
        "Jani Nikula" <jani.nikula@...ux.intel.com>,
        "Ramalingam C" <ramalingam.c@...el.com>,
        Ville Syrjälä 
        <ville.syrjala@...ux.intel.com>,
        "Chris Wilson" <chris@...is-wilson.co.uk>,
        "Joonas Lahtinen" <joonas.lahtinen@...ux.intel.com>,
        "Lee Shawn C" <shawn.c.lee@...el.com>,
        "Lyude Paul" <lyude@...hat.com>
Subject: [PATCH v3 0/5] drm/i915: eDP DPCD aux backlight fixes

I recently got a ThinkPad X1 Extreme 2nd Generation for fixing some
issues on, and noticed that out of the box the backlight doesn't work.
Along the way of fixing that, I found a few issues with how i915 handles
DPCD AUX backlight control and fixed them. Now I've got working
backlight controls, hooray!

Note that this patch series enables DPCD backlight controls by default.
This time however, we ignore the backlight type advertised in the VBT
(unless it's a custom backlight interface that doesn't use the standard
VESA interface over AUX) and just trust the DPCD.

Lyude Paul (5):
  drm/i915: Fix eDP DPCD aux max backlight calculations
  drm/i915: Assume 100% brightness when not in DPCD control mode
  drm/i915: Fix DPCD register order in intel_dp_aux_enable_backlight()
  drm/i915: Don't use VBT for detecting DPCD backlight controls
  drm/i915: Auto detect DPCD backlight support by default

 .../drm/i915/display/intel_display_types.h    |   3 +
 .../drm/i915/display/intel_dp_aux_backlight.c | 175 ++++++++++++------
 drivers/gpu/drm/i915/i915_params.c            |   2 +-
 drivers/gpu/drm/i915/i915_params.h            |   2 +-
 4 files changed, 126 insertions(+), 56 deletions(-)

-- 
2.24.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ