Commit d5ac4ff2 authored by Dmytro Laktyushkin's avatar Dmytro Laktyushkin Committed by Alex Deucher

drm/amd/display: add embedded flag to dml

Signed-off-by: default avatarDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: default avatarEric Bernstein <Eric.Bernstein@amd.com>
Acked-by: default avatarLeo Li <sunpeng.li@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 5cb4ca07
...@@ -318,6 +318,7 @@ struct _vcs_dpi_display_pipe_dest_params_st { ...@@ -318,6 +318,7 @@ struct _vcs_dpi_display_pipe_dest_params_st {
unsigned int vupdate_width; unsigned int vupdate_width;
unsigned int vready_offset; unsigned int vready_offset;
unsigned char interlaced; unsigned char interlaced;
unsigned char embedded;
double pixel_rate_mhz; double pixel_rate_mhz;
unsigned char synchronized_vblank_all_planes; unsigned char synchronized_vblank_all_planes;
unsigned char otg_inst; unsigned char otg_inst;
......
...@@ -375,6 +375,7 @@ static void fetch_pipe_params(struct display_mode_lib *mode_lib) ...@@ -375,6 +375,7 @@ static void fetch_pipe_params(struct display_mode_lib *mode_lib)
mode_lib->vba.pipe_plane[j] = mode_lib->vba.NumberOfActivePlanes; mode_lib->vba.pipe_plane[j] = mode_lib->vba.NumberOfActivePlanes;
mode_lib->vba.EmbeddedPanel[mode_lib->vba.NumberOfActivePlanes] = dst->embedded;
mode_lib->vba.DPPPerPlane[mode_lib->vba.NumberOfActivePlanes] = 1; mode_lib->vba.DPPPerPlane[mode_lib->vba.NumberOfActivePlanes] = 1;
mode_lib->vba.SourceScan[mode_lib->vba.NumberOfActivePlanes] = mode_lib->vba.SourceScan[mode_lib->vba.NumberOfActivePlanes] =
(enum scan_direction_class) (src->source_scan); (enum scan_direction_class) (src->source_scan);
......
...@@ -387,6 +387,7 @@ struct vba_vars_st { ...@@ -387,6 +387,7 @@ struct vba_vars_st {
/* vba mode support */ /* vba mode support */
/*inputs*/ /*inputs*/
bool EmbeddedPanel[DC__NUM_DPP__MAX];
bool SupportGFX7CompatibleTilingIn32bppAnd64bpp; bool SupportGFX7CompatibleTilingIn32bppAnd64bpp;
double MaxHSCLRatio; double MaxHSCLRatio;
double MaxVSCLRatio; double MaxVSCLRatio;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment