public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Daniel Vetter <daniel@ffwll.ch>
To: Ben Widawsky <ben@bwidawsk.net>
Cc: Intel GFX <intel-gfx@lists.freedesktop.org>
Subject: Re: [PATCH 9/9] drm/i915: Re-enable rc6 on ILK (again^5)
Date: Sun, 14 Jul 2013 20:35:43 +0200	[thread overview]
Message-ID: <20130714183543.GO6143@phenom.ffwll.local> (raw)
In-Reply-To: <1373818974-23102-10-git-send-email-ben@bwidawsk.net>

On Sun, Jul 14, 2013 at 09:22:53AM -0700, Ben Widawsky wrote:
> With the conversion to use the existing, well tested HW context code for
> the ILK RC6 render context, let's once again try to enable RC6 by
> default on ILK.
> 
> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>

I think this commit should cite the last commit which reverted rc6 on ilk:

commit 6567d748c4e94e3481e523803ec07ebd825c80d6
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Sat Nov 10 10:00:06 2012 +0000

    Revert "drm/i915: enable rc6 on ilk again"

I agree that we could try this again (at least since the relocation
regression in 3.7 is fixed), but iirc it was rather unmistakably broken
with vt-d enabled, see:

commit cd7988eea561a70a4f98e431c1395f913672d626
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Sun Aug 26 20:33:18 2012 +0200

    drm/i915: disable rc6 on ilk when vt-d is enabled

So I think you need to pimp your commit a bit to essentially revert
6567d748c4e94e3481e523803 and also cite the above two commits.

Cheers, Daniel

> ---
>  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 03b90aa..c094aa3 100644
> --- a/drivers/gpu/drm/i915/intel_pm.c
> +++ b/drivers/gpu/drm/i915/intel_pm.c
> @@ -3172,10 +3172,6 @@ int intel_enable_rc6(const struct drm_device *dev)
>  	if (i915_enable_rc6 >= 0)
>  		return i915_enable_rc6;
>  
> -	/* Disable RC6 on Ironlake */
> -	if (INTEL_INFO(dev)->gen == 5)
> -		return 0;
> -
>  	if (IS_HASWELL(dev)) {
>  		DRM_DEBUG_DRIVER("Haswell: only RC6 available\n");
>  		return INTEL_RC6_ENABLE;
> -- 
> 1.8.3.2
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch

  reply	other threads:[~2013-07-14 18:35 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-14 16:22 [PATCH 0/9] HW contest support for Ironlake Ben Widawsky
2013-07-14 16:22 ` [PATCH 1/9] drm/i915: move ilk rc6 context setup Ben Widawsky
2013-07-14 16:22 ` [PATCH 2/9] drm/i915: Convert renderctx to a regular context Ben Widawsky
2013-07-15 10:24   ` Chris Wilson
2013-07-15 18:04     ` [PATCH 2/9] [v2] " Ben Widawsky
2013-07-14 16:22 ` [PATCH 3/9] drm/i915: Make ILK context objects more like others Ben Widawsky
2013-07-14 19:10   ` [PATCH 3/9] [v2] " Ben Widawsky
2013-07-14 16:22 ` [PATCH 4/9] drm/i915: Add gen5 support to mi_set_context Ben Widawsky
2013-07-14 16:22 ` [PATCH 5/9] drm/i915: Use do_switch for ILK renderctx Ben Widawsky
2013-07-14 16:22 ` [PATCH 6/9] drm/i915: HW contexts for ILK Ben Widawsky
2013-07-14 16:22 ` [PATCH 7/9] drm/i915: Use only the default context " Ben Widawsky
2013-07-14 16:22 ` [PATCH 8/9] drm/i915: Restore ILK powerctx pin attributes Ben Widawsky
2013-07-15 10:30   ` Chris Wilson
2013-07-15 17:58     ` Ben Widawsky
2013-07-15 22:12       ` Chris Wilson
2013-07-14 16:22 ` [PATCH 9/9] drm/i915: Re-enable rc6 on ILK (again^5) Ben Widawsky
2013-07-14 18:35   ` Daniel Vetter [this message]
2013-07-14 19:09   ` [PATCH 9/9] [v2] drm/i915: enable rc6 on ILK again^5 Ben Widawsky
2013-07-14 16:22 ` [PATCH] i965: Gen5: Use HW contexts on Ironlake Ben Widawsky
2013-07-14 16:24 ` [PATCH 0/9] HW contest support for Ironlake Ben Widawsky
2013-07-14 17:38   ` [PATCH 0/9] HW context support for Ironlake (was: Re: [PATCH 0/9] HW contest support for Ironlake) Ben Widawsky
2013-07-15 10:32 ` [PATCH 0/9] HW contest support for Ironlake Chris Wilson
2013-07-15 12:44 ` Chris Wilson
2013-07-15 17:24   ` Ben Widawsky
2013-07-15 18:52     ` Chris Wilson
2013-07-16 18:21   ` Ben Widawsky

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=20130714183543.GO6143@phenom.ffwll.local \
    --to=daniel@ffwll.ch \
    --cc=ben@bwidawsk.net \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox