diff options
author | Tony Tascioglu <tony.tascioglu@amd.com> | 2022-11-25 17:31:44 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-01-17 15:39:39 -0500 |
commit | 3351ce5d8cad587b37a2289ce96153e3873110fb (patch) | |
tree | 2efc41b02a357523f14eeebcb1543957867cf2fa /drivers/gpu/drm/amd/display/dc/bios/command_table2.h | |
parent | 762e8febab9db16fb7b3bc7f07fe27f6f544325a (diff) | |
download | linux-3351ce5d8cad587b37a2289ce96153e3873110fb.tar.gz linux-3351ce5d8cad587b37a2289ce96153e3873110fb.tar.bz2 linux-3351ce5d8cad587b37a2289ce96153e3873110fb.zip |
drm/amd/display: Optimize link power-down when link powered externally
[Why]
When an eDP panel is powered externally by a different GPU, we don't need
to wait for hardware sequencing delays when powering down a link, as the
display is not dependent on the GPU being powered down.
[How]
This commit adds a variable 'link_powered_externally' to indicate when a
link is being 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/dc/bios/command_table2.h')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/bios/command_table2.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/bios/command_table2.h b/drivers/gpu/drm/amd/display/dc/bios/command_table2.h index be060b4b87db..acb7cc69f699 100644 --- a/drivers/gpu/drm/amd/display/dc/bios/command_table2.h +++ b/drivers/gpu/drm/amd/display/dc/bios/command_table2.h @@ -96,7 +96,8 @@ struct cmd_tbl { struct bios_parser *bp, uint8_t id); enum bp_result (*enable_lvtma_control)(struct bios_parser *bp, uint8_t uc_pwr_on, - uint8_t panel_instance); + uint8_t panel_instance, + uint8_t bypass_powerdown_wait); }; void dal_firmware_parser_init_cmd_tbl(struct bios_parser *bp); |