summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dmub
diff options
context:
space:
mode:
authorTony Tascioglu <tony.tascioglu@amd.com>2022-12-12 10:20:33 -0500
committerAlex Deucher <alexander.deucher@amd.com>2023-01-17 15:40:28 -0500
commite0886e1fa53d0c705ff14df14769ddcc6e0a20ca (patch)
treea35aeea9c55ed7c483a34657ef981fea2b14290c /drivers/gpu/drm/amd/display/dmub
parent40774ad1c460ada855068f67da549f78ecb136e8 (diff)
downloadlinux-stable-e0886e1fa53d0c705ff14df14769ddcc6e0a20ca.tar.gz
linux-stable-e0886e1fa53d0c705ff14df14769ddcc6e0a20ca.tar.bz2
linux-stable-e0886e1fa53d0c705ff14df14769ddcc6e0a20ca.zip
drm/amd/display: Skip backlight control delay on external powered links
[Why] When an eDP panel is powered externally from a different GPU, we can avoid waiting for hardware sequencing delays when switching the backlight on/off as the display backlight is no longer powered by the original source. [How] This commit extends the 'link_powered_externally' variable to allow bypassing hardware delays for additional backlight commands and force the backlight on/off when a link is powered by another GPU. Tested-by: Daniel Wheeler <Daniel.Wheeler@amd.com> Reviewed-by: Felipe Clark <felipe.clark@amd.com> Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: Tony Tascioglu <tony.tascioglu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dmub')
-rw-r--r--drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h b/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
index b3acdb53875c..06c553b61322 100644
--- a/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
+++ b/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
@@ -3111,7 +3111,7 @@ struct dmub_rb_cmd_panel_cntl {
*/
struct dmub_cmd_lvtma_control_data {
uint8_t uc_pwr_action; /**< LVTMA_ACTION */
- uint8_t bypass_powerdown_wait;
+ uint8_t bypass_panel_control_wait;
uint8_t reserved_0[2];
uint8_t panel_inst; /**< LVTMA control instance */
uint8_t reserved_1[3]; /**< For future use */