drm/amd/display: add embedded flag to dml
Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com> Reviewed-by: Eric Bernstein <Eric.Bernstein@amd.com> Acked-by: Leo Li <sunpeng.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
5cb4ca07c2
commit
d5ac4ff211
@@ -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)
|
|||||||
|
|
||||||
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 {
|
|||||||
|
|
||||||
/* 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;
|
||||||
|
|||||||
Reference in New Issue
Block a user