Skip to content
Commit b231933d authored by Iswara Nagulendran's avatar Iswara Nagulendran Committed by Alex Deucher
Browse files

drm/amd/display: Read before writing Backlight Mode Set Register



[HOW&WHY]
Reading the value from
DP_EDP_BACKLIGHT_MODE_SET_REGISTER, DPCD 0x721
before setting the
BP_EDP_PANEL_LUMINANC_CONTROL_ENABLE bit
to ensure there are no accidental overwrites.

Reviewed-by: default avatarSreeja Golui <sreeja.golui@amd.com>
Reviewed-by: default avatarHarry Vanzylldejong <harry.vanzylldejong@amd.com>
Acked-by: default avatarRoman Li <roman.li@amd.com>
Signed-off-by: default avatarIswara Nagulendran <iswara.nagulendran@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 1b9ec7cb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment