public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Ben Widawsky <ben@bwidawsk.net>
To: "Stéphane Marchesin" <marcheu@chromium.org>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/i915: Don't load context at driver init time on SNB
Date: Fri, 9 Aug 2013 21:55:18 -0700	[thread overview]
Message-ID: <20130810045518.GA7784@bwidawsk.net> (raw)
In-Reply-To: <1376105574-14630-1-git-send-email-marcheu@chromium.org>

On Fri, Aug 09, 2013 at 08:32:54PM -0700, Stéphane Marchesin wrote:
> This is a partial revert of b4ae3f22d238617ca11610b29fde16cf8c0bc6e0
> (drm/i915: load boot context at driver init time)
> 
> This bit breaks hardware video decode for me after resume.
> 
> Signed-off-by: Stéphane Marchesin <marcheu@chromium.org>
> ---
>  drivers/gpu/drm/i915/intel_pm.c | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
> index f895d15..ffa4ab2 100644
> --- a/drivers/gpu/drm/i915/intel_pm.c
> +++ b/drivers/gpu/drm/i915/intel_pm.c
> @@ -4614,10 +4614,6 @@ static void gen6_init_clock_gating(struct drm_device *dev)
>  		   ILK_DPARBUNIT_CLOCK_GATE_ENABLE  |
>  		   ILK_DPFDUNIT_CLOCK_GATE_ENABLE);
>  
> -	/* WaMbcDriverBootEnable:snb */
> -	I915_WRITE(GEN6_MBCTL, I915_READ(GEN6_MBCTL) |
> -		   GEN6_MBCTL_ENABLE_BOOT_FETCH);
> -
>  	g4x_disable_trickle_feed(dev);
>  
>  	/* The default value should be 0x200 according to docs, but the two

I was looking at this a bit with Stéphane. One thing we both see is that
the bit isn't sticking as it should. Clearly doing the write is having
an effect, but something is seriously wrong. Writing the bit manually
with IGT does make the bit stick.

Stéphane, could you try to write the bit with IGT before and after
resume, and see if it helps?

Adding Jesse to the CC, since he wrote the original patch, maybe he has
an idea why it doesn't stick.

-- 
Ben Widawsky, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2013-08-10  4:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-10  3:32 [PATCH] drm/i915: Don't load context at driver init time on SNB Stéphane Marchesin
2013-08-10  4:55 ` Ben Widawsky [this message]
2013-08-12 17:33   ` Stéphane Marchesin
2013-08-13  8:11     ` Ville Syrjälä
2013-08-14 17:41       ` Stéphane Marchesin
2013-08-20 17:38     ` Jesse Barnes

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=20130810045518.GA7784@bwidawsk.net \
    --to=ben@bwidawsk.net \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=marcheu@chromium.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox