]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Only set default brightness for OLED
authorCamille Cho <Camille.Cho@amd.com>
Thu, 8 Jul 2021 10:28:37 +0000 (18:28 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Jul 2021 18:24:38 +0000 (14:24 -0400)
commit2d73eabe2984a435737498ab39bb1500a9ffe9a9
tree7e9a8cc56634d2f3ff72127706543218811f744c
parenta8e380fd8d71493623c94511f75e81786cffa223
drm/amd/display: Only set default brightness for OLED

[Why]
We used to unconditionally set backlight path as AUX for panels capable
of backlight adjustment via DPCD in set default brightness.

[How]
This should be limited to OLED panel only since we control backlight via
PWM path for SDR mode in LCD HDR panel.

Reviewed-by: Krunoslav Kovac <krunoslav.kovac@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Camille Cho <Camille.Cho@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c