]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/dp: Modify drm_edp_probe_state
authorSuraj Kandpal <suraj.kandpal@intel.com>
Fri, 20 Jun 2025 06:34:38 +0000 (12:04 +0530)
committerSuraj Kandpal <suraj.kandpal@intel.com>
Mon, 30 Jun 2025 15:11:44 +0000 (20:41 +0530)
commitc38da578a86e62b1d585bae107651079cfa457ca
treebe75790ffdee707774235e45d565ae1ba529f91d
parent9274a940f1c90c15fb66a8c5488b1b79e4e8c432
drm/dp: Modify drm_edp_probe_state

Modify drm_edp_probe_state to read current level from
DP_EDP_PANEL_TARGET_LUMINANCE_VALUE. We divide it by
1000 since the value in this register is in millinits.

--v2
-Add comment on the unit sent back [Arun]

Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: Arun R Murthy <arun.r.murthy@intel.com>
Link: https://lore.kernel.org/r/20250620063445.3603086-7-suraj.kandpal@intel.com
drivers/gpu/drm/display/drm_dp_helper.c