public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: "Souza, Jose" <jose.souza@intel.com>
To: "intel-gfx@lists.freedesktop.org"
	<intel-gfx@lists.freedesktop.org>,
	"Hogander, Jouni" <jouni.hogander@intel.com>
Cc: "Kahola, Mika" <mika.kahola@intel.com>
Subject: Re: [Intel-gfx] [PATCH 2/2] Revert "drm/i915/display/psr: Do full fetch when handling multi-planar formats"
Date: Fri, 29 Oct 2021 19:26:19 +0000	[thread overview]
Message-ID: <dd05fbbb62b836f9862d4627c87662a0edd3c656.camel@intel.com> (raw)
In-Reply-To: <20211021101024.13112-3-jouni.hogander@intel.com>

On Thu, 2021-10-21 at 13:10 +0300, Jouni Högander wrote:
> This reverts commit 1f61f0655b95d5b89589390e6f83c4a61d9b1e8d.
> 
> Now we are supporting selective fetch for biplanar formats. We can revert WA
> patch which forced using full fetch for biplanar formats.
> 

Reviewed-by: José Roberto de Souza <jose.souza@intel.com>

> Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
> ---
>  drivers/gpu/drm/i915/display/intel_psr.c | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/display/intel_psr.c b/drivers/gpu/drm/i915/display/intel_psr.c
> index 469bf95178f3..65282a545dbf 100644
> --- a/drivers/gpu/drm/i915/display/intel_psr.c
> +++ b/drivers/gpu/drm/i915/display/intel_psr.c
> @@ -1571,9 +1571,6 @@ static void intel_psr2_sel_fetch_pipe_alignment(const struct intel_crtc_state *c
>   * also planes are not updated if they have a negative X
>   * position so for now doing a full update in this cases
>   *
> - * TODO: We are missing multi-planar formats handling, until it is
> - * implemented it will send full frame updates.
> - *
>   * Plane scaling and rotation is not supported by selective fetch and both
>   * properties can change without a modeset, so need to be check at every
>   * atomic commmit.
> @@ -1583,7 +1580,6 @@ static bool psr2_sel_fetch_plane_state_supported(const struct intel_plane_state
>  	if (plane_state->uapi.dst.y1 < 0 ||
>  	    plane_state->uapi.dst.x1 < 0 ||
>  	    plane_state->scaler_id >= 0 ||
> -	    plane_state->hw.fb->format->num_planes > 1 ||
>  	    plane_state->uapi.rotation != DRM_MODE_ROTATE_0)
>  		return false;
>  


  reply	other threads:[~2021-10-29 19:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-21 10:10 [Intel-gfx] [PATCH 0/2] Selective fetch support for biplanar formats Jouni Högander
2021-10-21 10:10 ` [Intel-gfx] [PATCH 1/2] drm/i915/display: Add initial selective " Jouni Högander
2021-10-21 10:21   ` Jani Nikula
2021-10-29 19:25   ` Souza, Jose
2021-10-21 10:10 ` [Intel-gfx] [PATCH 2/2] Revert "drm/i915/display/psr: Do full fetch when handling multi-planar formats" Jouni Högander
2021-10-29 19:26   ` Souza, Jose [this message]
2021-10-21 10:20 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Selective fetch support for biplanar formats Patchwork
2021-10-21 10:51 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2021-10-21 12:09 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
2021-10-22 15:56 ` [Intel-gfx] ✓ Fi.CI.IGT: success " Patchwork
2021-10-29 19:44   ` Souza, Jose

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=dd05fbbb62b836f9862d4627c87662a0edd3c656.camel@intel.com \
    --to=jose.souza@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jouni.hogander@intel.com \
    --cc=mika.kahola@intel.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox