mbox series

[0/7] Enable Aux based Nits brightness control for eDP

Message ID 20250124054631.1796456-1-suraj.kandpal@intel.com (mailing list archive)
Headers show
Series Enable Aux based Nits brightness control for eDP | expand

Message

Kandpal, Suraj Jan. 24, 2025, 5:46 a.m. UTC
From eDP 1.5 we are supposed to use the VESA pathways to control
brightness. But still did not have the Nits brightness control coded
in. This series enables NITS based backlight control over AUX using
VESA pathways.

Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/3669
Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>

Suraj Kandpal (7):
  drm/dp: Add eDP 1.5 bit definition
  drm/i915/backlight: Use proper interface based on eDP version
  drm/i915/backlight: Check Nits based brightness control for VESA
  drm/i915/backlight: Modify function to get VESA brightness in NITS
  drm/i915/backlight: Add function to change brightness in NITS for VESA
  drm/i915/backlight: Setup NITS based brightness via VESA
  drm/i915/backlight: Enable Nits based brightness

 .../drm/i915/display/intel_display_types.h    |   1 +
 .../drm/i915/display/intel_dp_aux_backlight.c | 178 ++++++++++++++----
 include/drm/display/drm_dp.h                  |   1 +
 3 files changed, 139 insertions(+), 41 deletions(-)

Comments

Kao, Ben Feb. 3, 2025, 7:13 a.m. UTC | #1
This patch works as expected with 6.13.0-rc7 on Dell Bolan.

Tested-by: Ben Kao <ben.kao@intel.com>