All of lore.kernel.org
 help / color / mirror / Atom feed
From: Leo Li <sunpeng.li-5C7GfCeVMHo@public.gmane.org>
To: Harry Wentland <harry.wentland-5C7GfCeVMHo@public.gmane.org>,
	amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Re: [PATCH 20/43] drm/amd/display: Add optimized_required flag
Date: Wed, 29 Nov 2017 11:03:10 -0500	[thread overview]
Message-ID: <4fe10c9d-ffc9-8bc5-0d53-f5434cee2d72@amd.com> (raw)
In-Reply-To: <20171123195316.8366-21-harry.wentland-5C7GfCeVMHo@public.gmane.org>



On 2017-11-23 02:52 PM, Harry Wentland wrote:
> Signed-off-by: Harry Wentland <harry.wentland@amd.com>

Reviewed-by: Leo (Sunpeng) Li <sunpeng.li@amd.com>

> ---
>   drivers/gpu/drm/amd/display/dc/core/dc.c | 2 ++
>   drivers/gpu/drm/amd/display/dc/dc.h      | 2 ++
>   2 files changed, 4 insertions(+)
> 
> diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c
> index 98eff80acffa..19d96aeaa113 100644
> --- a/drivers/gpu/drm/amd/display/dc/core/dc.c
> +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c
> @@ -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);
> diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h
> index 71f1802a25d7..9fbcfd7b5f8d 100644
> --- a/drivers/gpu/drm/amd/display/dc/dc.h
> +++ b/drivers/gpu/drm/amd/display/dc/dc.h
> @@ -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;
> 
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

  parent reply	other threads:[~2017-11-29 16:03 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-23 19:52 [PATCH 00/43] DC Patches Nov 23, 2017 Harry Wentland
     [not found] ` <20171123195316.8366-1-harry.wentland-5C7GfCeVMHo@public.gmane.org>
2017-11-23 19:52   ` [PATCH 01/43] drm/amd/display: Remove unnecessary wait mpcc idle Harry Wentland
2017-11-23 19:52   ` [PATCH 02/43] drm/amd/display: fix seq issue: turn on clock before programming afmt Harry Wentland
2017-11-23 19:52   ` [PATCH 03/43] drm/amd/display: try to find matching audio inst for enc inst first Harry Wentland
2017-11-23 19:52   ` [PATCH 04/43] drm/amd/display: dal 3.1.21 Harry Wentland
2017-11-23 19:52   ` [PATCH 05/43] drm/amd/display: Integrating MPC pseudocode Harry Wentland
2017-11-23 19:52   ` [PATCH 06/43] drm/amd/display: Remove PSR functions in Linux Harry Wentland
2017-11-23 19:52   ` [PATCH 07/43] drm/amd/display: Fix amdgpu_dm bugs found by smatch Harry Wentland
2017-11-23 19:52   ` [PATCH 08/43] drm/amd/display: Bunch of smatch error and warning fixes in DC Harry Wentland
2017-11-23 19:52   ` [PATCH 09/43] drm/amd/display: Remove plane_res.mi check in dce110_apply_ctx_for_surface Harry Wentland
2017-11-23 19:52   ` [PATCH 10/43] drm/amd/display: Remove redundant checks in set_default_colors Harry Wentland
2017-11-23 19:52   ` [PATCH 11/43] drm/amd/display: Fix use before NULL check in validate_timing Harry Wentland
2017-11-23 19:52   ` [PATCH 12/43] drm/amd/display: Fix hubp check in set_cursor_position Harry Wentland
2017-11-23 19:52   ` [PATCH 13/43] drm/amd/display: Fix potential NULL and mem leak in create_links Harry Wentland
2017-11-23 19:52   ` [PATCH 14/43] drm/amd/display: Fix potential mem leak in DC construct Harry Wentland
2017-11-23 19:52   ` [PATCH 15/43] drm/amd/display: Fix couple more inconsistent NULL checks in dc_resource Harry Wentland
2017-11-23 19:52   ` [PATCH 16/43] drm/amd/display: Fixed read wrong reg to get bot_sel Harry Wentland
2017-11-23 19:52   ` [PATCH 17/43] drm/amd/display: MPC updates Harry Wentland
2017-11-23 19:52   ` [PATCH 18/43] drm/amd/display: Do not put drm_atomic_state on resume Harry Wentland
2017-11-23 19:52   ` [PATCH 19/43] drm/amd/display: Use same wait mpcc idle function Harry Wentland
2017-11-23 19:52   ` [PATCH 20/43] drm/amd/display: Add optimized_required flag Harry Wentland
     [not found]     ` <20171123195316.8366-21-harry.wentland-5C7GfCeVMHo@public.gmane.org>
2017-11-29 16:03       ` Leo Li [this message]
2017-11-23 19:52   ` [PATCH 21/43] drm/amd/display: Change optimized_required logic Harry Wentland
2017-11-23 19:52   ` [PATCH 22/43] drm/amd/display: Implement work around for optc underflow Harry Wentland
2017-11-23 19:52   ` [PATCH 23/43] drm/amd/display: Add dcc_change surface update flag Harry Wentland
2017-11-23 19:52   ` [PATCH 24/43] drm/amd/display: fix gamma setting Harry Wentland
2017-11-23 19:52   ` [PATCH 25/43] drm/amd/display: dal 3.1.22 Harry Wentland
2017-11-23 19:52   ` [PATCH 26/43] drm/amd/display: Fix access of wrong array element TF format conversion Harry Wentland
2017-11-23 19:53   ` [PATCH 27/43] drm/amd/display: Clean up os_types.h a bit Harry Wentland
2017-11-23 19:53   ` [PATCH 28/43] drm/amd/display: Switch to drm_atomic_helper_wait_for_flip_done Harry Wentland
     [not found]     ` <20171123195316.8366-29-harry.wentland-5C7GfCeVMHo@public.gmane.org>
2017-11-24  8:52       ` Michel Dänzer
2017-11-23 19:53   ` [PATCH 29/43] drm/amd/display: dal 3.1.23 Harry Wentland
2017-11-23 19:53   ` [PATCH 30/43] drm/amd/display: Disable plane right after disconnected Harry Wentland
2017-11-23 19:53   ` [PATCH 31/43] drm/amd/display: CNVC pseudocode review follow up Harry Wentland
2017-11-23 19:53   ` [PATCH 32/43] drm/amd/display: Reset MPCC muxes during init Harry Wentland
2017-11-23 19:53   ` [PATCH 33/43] drm/amd/display: Build unity lut for shaper Harry Wentland
2017-11-23 19:53   ` [PATCH 34/43] drm/amd/display: OPP DPG test pattern Harry Wentland
2017-11-23 19:53   ` [PATCH 35/43] drm/amd/display: USB-C / thunderbolt dock specific workaround Harry Wentland
2017-11-23 19:53   ` [PATCH 36/43] drm/amd/display: Add is_tiling_rotated flag to plane_state Harry Wentland
2017-11-23 19:53   ` [PATCH 37/43] drm/amd/display: Fix overlow issue Harry Wentland
2017-11-23 19:53   ` [PATCH 38/43] drm/amd/display: fix recout_skip calculation when rotating 180 or 270 Harry Wentland
2017-11-23 19:53   ` [PATCH 39/43] drm/amd/display: Program cursor regs after context swapped Harry Wentland
2017-11-23 19:53   ` [PATCH 40/43] drm/amd/display: Cache cursor position Harry Wentland
2017-11-23 19:53   ` [PATCH 41/43] drm/amd/display: Refine update flags usage in update_dchubp_dpp Harry Wentland
2017-11-23 19:53   ` [PATCH 42/43] drm/amd/display: Set mpcc_disconnect_pending during MPC reset Harry Wentland
2017-11-23 19:53   ` [PATCH 43/43] drm/amd/display: dal 3.1.24 Harry Wentland

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4fe10c9d-ffc9-8bc5-0d53-f5434cee2d72@amd.com \
    --to=sunpeng.li-5c7gfcevmho@public.gmane.org \
    --cc=amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    --cc=harry.wentland-5C7GfCeVMHo@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.