diff options
author | 2025-02-06 12:02:50 +0530 | |
---|---|---|
committer | 2025-02-06 22:14:42 +0530 | |
commit | 3f8a009a794eac8f5b7fac0242d321cc4581303d (patch) | |
tree | 6683d2b6b93338c52fc341895b59a13bc4fb0f13 /drivers/gpu/drm/i915/display/intel_dp_mst.c | |
parent | drm/i915/backlight: Check Luminance based brightness control for VESA (diff) | |
download | wireguard-linux-3f8a009a794eac8f5b7fac0242d321cc4581303d.tar.xz wireguard-linux-3f8a009a794eac8f5b7fac0242d321cc4581303d.zip |
drm/i915/backlight: Modify function to get VESA brightness in Nits
Modify vesa_get_brightness function to take into account
luminance_control_support and based on that read the appropriate
register and return the value.
--v2
-Changes since we now use luminance instead of nits
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-6-suraj.kandpal@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_mst.c')
0 files changed, 0 insertions, 0 deletions