aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform/surface/aggregator/ssh_parser.c
diff options
context:
space:
mode:
authorCamille Cho <[email protected]>2023-11-03 12:08:42 +0800
committerAlex Deucher <[email protected]>2023-11-29 18:01:05 -0500
commitd9e865826c202b262f9ee3f17a03cc4ac5d44ced (patch)
treeeb7b7e91143924dbcd84a51167bc46c903e5140a /drivers/platform/surface/aggregator/ssh_parser.c
parent67e38874b85b8df7b23d29f78ac3d7ecccd9519d (diff)
drm/amd/display: Simplify brightness initialization
[Why] Remove the brightness cache in DC. It uses a single value to represent the brightness for both SDR and HDR mode. This leads to flash in HDR on/off. It also unconditionally programs brightness as in HDR mode. This may introduce garbage on SDR mode in miniLED panel. [How] Simplify the initialization flow by removing the DC cache and taking what panel has as default. Expand the mechanism for PWM to DPCD Aux to restore cached brightness value generally. Cc: [email protected] # 6.1+ Reviewed-by: Krunoslav Kovac <[email protected]> Acked-by: Hamza Mahfooz <[email protected]> Signed-off-by: Camille Cho <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions