diff options
author | 2025-02-06 12:02:49 +0530 | |
---|---|---|
committer | 2025-02-06 22:14:42 +0530 | |
commit | 64481497924d8055fa7d6e60948ca899fe341cb6 (patch) | |
tree | b4a3b8fff1794f9789b52985e65e83619d055d1c /drivers/gpu/drm/i915/display/intel_dp_mst.c | |
parent | drm/i915/backlight: Use proper interface based on eDP version (diff) | |
download | wireguard-linux-64481497924d8055fa7d6e60948ca899fe341cb6.tar.xz wireguard-linux-64481497924d8055fa7d6e60948ca899fe341cb6.zip |
drm/i915/backlight: Check Luminance based brightness control for VESA
Check if we are capable of controlling brightness via luminance
which is dependent on PANEL_LUMINANCE_CONTROL_CAPABLE bit being set
on EDP_GENERAL_CAPABILITY_2 register.
--v2
-Prefer using luminance rather than nits [Jani]
-Fix commit message
--v3
-Fix the bit name used in commit message [Arun]
-Use correct edp_dpcd[] to check the capability [Arun]
Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Tested-by: Ben Kao <ben.kao@intel.com>
Reviewed-by: Arun R Murthy <arun.r.murthy@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250206063253.2827017-5-suraj.kandpal@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_mst.c')
0 files changed, 0 insertions, 0 deletions