>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 (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(-)

-- 
2.34.1

Reply via email to