diff options
author | Jake Wang <haonan.wang2@amd.com> | 2021-02-23 17:46:55 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-03-23 23:02:53 -0400 |
commit | 06ddcee49a35981835e04910bef462a09f108984 (patch) | |
tree | 08ea7a193e113b5ab7fa01b32c17efbabdb90fdc /drivers/gpu/drm/amd/display/dc/bios/command_table2.h | |
parent | drm/amd/display: [FW Promotion] Release 0.0.55 (diff) | |
download | linux-dev-06ddcee49a35981835e04910bef462a09f108984.tar.xz linux-dev-06ddcee49a35981835e04910bef462a09f108984.zip |
drm/amd/display: Added multi instance support for panel control
[Why]
Panel control always programs instance 0. With multi eDP we need to
support multiple instances.
[How]
Use link index to set different instances for panel control.
Refactored LVTMA control to support multiple instances.
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Jake Wang <haonan.wang2@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Eryk Brol <eryk.brol@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 7bdce013cde5..be060b4b87db 100644 --- a/drivers/gpu/drm/amd/display/dc/bios/command_table2.h +++ b/drivers/gpu/drm/amd/display/dc/bios/command_table2.h @@ -95,7 +95,8 @@ struct cmd_tbl { unsigned int (*get_smu_clock_info)( struct bios_parser *bp, uint8_t id); enum bp_result (*enable_lvtma_control)(struct bios_parser *bp, - uint8_t uc_pwr_on); + uint8_t uc_pwr_on, + uint8_t panel_instance); }; void dal_firmware_parser_init_cmd_tbl(struct bios_parser *bp); |