All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Chris Wilson <chris@chris-wilson.co.uk>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/i915: Release temporary load-detect state upon switching
Date: Thu, 19 Jan 2017 15:31:46 +0200	[thread overview]
Message-ID: <20170119133146.GX31595@intel.com> (raw)
In-Reply-To: <20170119113749.2517-1-chris@chris-wilson.co.uk>

On Thu, Jan 19, 2017 at 11:37:49AM +0000, Chris Wilson wrote:
> After we call drm_atomic_commit() on the load-detect state, we can free
> our local reference. Upon restore, we only apply and free the previous state.
> 
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>

Fixes: ?

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>

> ---
>  drivers/gpu/drm/i915/intel_display.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
> index bddadd97db8d..ca3e7116438c 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -11276,6 +11276,7 @@ bool intel_get_load_detect_pipe(struct drm_connector *connector,
>  	}
>  
>  	old->restore_state = restore_state;
> +	drm_atomic_state_put(state);
>  
>  	/* let the connector get through one full cycle before testing */
>  	intel_wait_for_vblank(dev_priv, intel_crtc->pipe);
> -- 
> 2.11.0
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Ville Syrjälä
Intel OTC
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  parent reply	other threads:[~2017-01-19 13:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-19 11:37 [PATCH] drm/i915: Release temporary load-detect state upon switching Chris Wilson
2017-01-19 13:24 ` ✗ Fi.CI.BAT: failure for " Patchwork
2017-01-19 13:31 ` Ville Syrjälä [this message]
2017-01-19 13:46   ` [PATCH] " Chris Wilson

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=20170119133146.GX31595@intel.com \
    --to=ville.syrjala@linux.intel.com \
    --cc=chris@chris-wilson.co.uk \
    --cc=intel-gfx@lists.freedesktop.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.