drm/amd/display: Add new infopacket definition

Modify freesync module to build VTEM infopackets when in HdmiVRR mode

Signed-off-by: Bayan Zabihiyan <Bayan.Zabihiyan@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Bayan Zabihiyan
2018-12-27 08:43:45 -05:00
committed by Alex Deucher
parent 2ee7c03cf1
commit ca35899c4e
3 changed files with 92 additions and 7 deletions

View File

@@ -104,7 +104,7 @@ struct mod_vrr_params_fixed_refresh {
struct mod_vrr_params {
bool supported;
bool send_vsif;
bool send_info_frame;
enum mod_vrr_state state;
uint32_t min_refresh_in_uhz;

View File

@@ -41,7 +41,8 @@ enum color_transfer_func {
enum vrr_packet_type {
PACKET_TYPE_VRR,
PACKET_TYPE_FS1,
PACKET_TYPE_FS2
PACKET_TYPE_FS2,
PACKET_TYPE_VTEM
};