mbox series

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

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

Message

Kandpal, Suraj Feb. 6, 2025, 6:32 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 (8):
  drm/dp: Add eDP 1.5 bit definition
  drm/dp: Increase eDP display control capability size
  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                  |   3 +-
 3 files changed, 143 insertions(+), 42 deletions(-)