summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/dc_bios_types.h
diff options
context:
space:
mode:
authorChris Park <Chris.Park@amd.com>2020-08-05 13:46:40 -0400
committerAlex Deucher <alexander.deucher@amd.com>2020-08-18 17:55:36 -0400
commit5dea2142a86d9aafca07f1318851fb729577f03a (patch)
treeb35f27c97ec503c11cadf7b239cf161e678bc6b2 /drivers/gpu/drm/amd/display/dc/dc_bios_types.h
parent34174b89bfa495bed9cddcc504fb38feca90fab7 (diff)
drm/amd/display: Call DMUB for eDP power control
[Why] If DMUB is used, LVTMA VBIOS call can be used to control eDP instead of tranditional transmitter control. Interface is agreed with VBIOS for eDP to use this new path to program LVTMA registers. [How] Create DAL interface to send DMUB command for LVTMA as currently implemented in VBIOS. Signed-off-by: Chris Park <Chris.Park@amd.com> Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com> Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dc_bios_types.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dc_bios_types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc_bios_types.h b/drivers/gpu/drm/amd/display/dc/dc_bios_types.h
index d06d07042a12..0811f941f430 100644
--- a/drivers/gpu/drm/amd/display/dc/dc_bios_types.h
+++ b/drivers/gpu/drm/amd/display/dc/dc_bios_types.h
@@ -136,6 +136,10 @@ struct dc_vbios_funcs {
enum bp_result (*get_atom_dc_golden_table)(
struct dc_bios *dcb);
+
+ enum bp_result (*enable_lvtma_control)(
+ struct dc_bios *bios,
+ uint8_t uc_pwr_on);
};
struct bios_registers {