mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
drm/amd/display: Add optimized_required flag
Signed-off-by: Harry Wentland <harry.wentland@amd.com> Reviewed-by: Leo (Sunpeng) Li <sunpeng.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
1ccda80ff4
commit
4010472575
2 changed files with 4 additions and 0 deletions
|
@ -788,6 +788,8 @@ bool dc_post_update_surfaces_to_stream(struct dc *dc)
|
|||
dc->hwss.disable_plane(dc, &context->res_ctx.pipe_ctx[i]);
|
||||
}
|
||||
|
||||
dc->optimized_required = false;
|
||||
|
||||
/* 3rd param should be true, temp w/a for RV*/
|
||||
#if defined(CONFIG_DRM_AMD_DC_DCN1_0)
|
||||
dc->hwss.set_bandwidth(dc, context, dc->ctx->dce_version < DCN_VERSION_1_0);
|
||||
|
|
|
@ -250,6 +250,8 @@ struct dc {
|
|||
*/
|
||||
struct dm_pp_display_configuration prev_display_config;
|
||||
|
||||
bool optimized_required;
|
||||
|
||||
/* FBC compressor */
|
||||
#if defined(CONFIG_DRM_AMD_DC_FBC)
|
||||
struct compressor *fbc_compressor;
|
||||
|
|
Loading…
Reference in a new issue