All of lore.kernel.org
 help / color / mirror / Atom feed
From: Manasi Navare <manasi.d.navare@intel.com>
To: "José Roberto de Souza" <jose.souza@intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [Intel-gfx] [PATCH CI 1/3] drm/i915/display: Check the old state to find port sync slave
Date: Tue, 3 Dec 2019 14:08:21 -0800	[thread overview]
Message-ID: <20191203220821.GM28227@intel.com> (raw)
In-Reply-To: <20191202222513.337777-1-jose.souza@intel.com>

On Mon, Dec 02, 2019 at 02:25:11PM -0800, José Roberto de Souza wrote:
> If the CRTC is going from enabled to disabled and it is a port sync
> slave, it needs to check to the old state to be disabled before the
> port sync master.

Yes this makes sense, thank you for the fix

Reviewed-by: Manasi navare <manasi.d.navare@intel.com>

Manasi

> 
> Cc: Manasi Navare <manasi.d.navare@intel.com>
> Cc: Matt Roper <matthew.d.roper@intel.com>
> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
> Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
> ---
>  drivers/gpu/drm/i915/display/intel_display.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
> index 1f1cd7578706..3062578e2bdb 100644
> --- a/drivers/gpu/drm/i915/display/intel_display.c
> +++ b/drivers/gpu/drm/i915/display/intel_display.c
> @@ -14497,8 +14497,8 @@ static void intel_commit_modeset_disables(struct intel_atomic_state *state)
>  		 * slave CRTCs are disabled first and then master CRTC since
>  		 * Slave vblanks are masked till Master Vblanks.
>  		 */
> -		if (is_trans_port_sync_mode(new_crtc_state)) {
> -			if (is_trans_port_sync_master(new_crtc_state))
> +		if (is_trans_port_sync_mode(old_crtc_state)) {
> +			if (is_trans_port_sync_master(old_crtc_state))
>  				intel_trans_port_sync_modeset_disables(state,
>  								       crtc,
>  								       old_crtc_state,
> -- 
> 2.24.0
> 
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

      parent reply	other threads:[~2019-12-03 22:04 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-02 22:25 [PATCH CI 1/3] drm/i915/display: Check the old state to find port sync slave José Roberto de Souza
2019-12-02 22:25 ` [Intel-gfx] " José Roberto de Souza
2019-12-02 22:25 ` [PATCH CI 2/3] drm/i915/dp: Power down sink before disable pipe/transcoder clock José Roberto de Souza
2019-12-02 22:25   ` [Intel-gfx] " José Roberto de Souza
2019-12-02 22:25 ` [PATCH CI 3/3] drm/i915/display/mst: Move DPMS_OFF call to post_disable José Roberto de Souza
2019-12-02 22:25   ` [Intel-gfx] " José Roberto de Souza
2019-12-03  1:09 ` ✗ Fi.CI.BAT: failure for series starting with [CI,1/3] drm/i915/display: Check the old state to find port sync slave Patchwork
2019-12-03  1:09   ` [Intel-gfx] " Patchwork
2019-12-03  2:11 ` ✓ Fi.CI.BAT: success for series starting with [CI,1/3] drm/i915/display: Check the old state to find port sync slave (rev2) Patchwork
2019-12-03  2:11   ` [Intel-gfx] " Patchwork
2019-12-03  8:24 ` ✓ Fi.CI.IGT: " Patchwork
2019-12-03  8:24   ` [Intel-gfx] " Patchwork
2019-12-03 20:36   ` Souza, Jose
2019-12-03 22:08 ` Manasi Navare [this message]

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=20191203220821.GM28227@intel.com \
    --to=manasi.d.navare@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jose.souza@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 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.