mbox series

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

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

Message

Kandpal, Suraj Feb. 4, 2025, 12:50 p.m. UTC
From eDP 1.5 we are supposed to use the VESA pathways to control
brightness. But still did not have the nits luminance control coded
in. This series enables nits based luminance control over Aux using
VESA pathways.

--v2
-Prefer using Luminance for function name over nits [Jani]

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 Luminance 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 luminance via VESA
  drm/i915/backlight: Enable nits based luminance

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