>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.kand...@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(-)

-- 
2.34.1

Reply via email to