Commit f2db78e
committed
drm/dp: Modify drm_edp_backlight_set_level
Modify drm_edp_backlight_set_level to be able to set the value
for register in DP_EDP_PANEL_TARGET_LUMINANCE_VALUE. We multiply
the level with 1000 since we get the value in Nits and the
register accepts it in milliNits.
--v2
-Add comment regarding the unit [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-9-suraj.kandpal@intel.com1 parent 2ff7f0c commit f2db78e
1 file changed
+12
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3944 | 3944 | | |
3945 | 3945 | | |
3946 | 3946 | | |
3947 | | - | |
| 3947 | + | |
| 3948 | + | |
3948 | 3949 | | |
3949 | 3950 | | |
3950 | | - | |
| 3951 | + | |
3951 | 3952 | | |
3952 | 3953 | | |
3953 | | - | |
| 3954 | + | |
| 3955 | + | |
| 3956 | + | |
| 3957 | + | |
| 3958 | + | |
| 3959 | + | |
| 3960 | + | |
| 3961 | + | |
3954 | 3962 | | |
3955 | 3963 | | |
3956 | 3964 | | |
3957 | 3965 | | |
3958 | 3966 | | |
3959 | 3967 | | |
3960 | | - | |
| 3968 | + | |
3961 | 3969 | | |
3962 | 3970 | | |
3963 | 3971 | | |
| |||
0 commit comments