drm/amd/display: Update in dml
Update DML to configure drr_display in vba struct. Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com> Acked-by: Alan Liu <HaoPing.Liu@amd.com> Signed-off-by: Alvin Lee <Alvin.Lee2@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
0bf95a1ebd
commit
044b5cb9e8
|
@ -499,6 +499,7 @@ struct _vcs_dpi_display_pipe_dest_params_st {
|
|||
unsigned int refresh_rate;
|
||||
bool synchronize_timings;
|
||||
unsigned int odm_combine_policy;
|
||||
bool drr_display;
|
||||
};
|
||||
|
||||
struct _vcs_dpi_display_pipe_params_st {
|
||||
|
|
|
@ -697,6 +697,7 @@ static void fetch_pipe_params(struct display_mode_lib *mode_lib)
|
|||
mode_lib->vba.PixelClock[mode_lib->vba.NumberOfActivePlanes] = dst->pixel_rate_mhz;
|
||||
mode_lib->vba.PixelClockBackEnd[mode_lib->vba.NumberOfActivePlanes] = dst->pixel_rate_mhz;
|
||||
mode_lib->vba.DPPCLK[mode_lib->vba.NumberOfActivePlanes] = clks->dppclk_mhz;
|
||||
mode_lib->vba.DRRDisplay[mode_lib->vba.NumberOfActiveSurfaces] = dst->drr_display;
|
||||
if (ip->is_line_buffer_bpp_fixed)
|
||||
mode_lib->vba.LBBitPerPixel[mode_lib->vba.NumberOfActivePlanes] =
|
||||
ip->line_buffer_fixed_bpp;
|
||||
|
|
Loading…
Reference in New Issue