intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: Jesse Barnes <jbarnes@virtuousgeek.org>
To: intel-gfx@lists.freedesktop.org
Subject: [PATCH] drm/i915: reset GPU after clock gating init
Date: Thu, 15 Nov 2012 10:24:03 -0800	[thread overview]
Message-ID: <1353003843-22947-1-git-send-email-jbarnes@virtuousgeek.org> (raw)

This is needed for SNB at least after disabling CSunit clock gating, and
shouldn't hurt on other platforms either.

This fixes an issue on James's machine where RC6 wouldn't always get
enabled.

Tested-by: James Kukunas <james.t.kukunas@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
---
 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 6d8a5ed..2fccd8f 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -8718,6 +8718,7 @@ void intel_modeset_init_hw(struct drm_device *dev)
 	intel_prepare_ddi(dev);
 
 	intel_init_clock_gating(dev);
+	intel_gpu_reset(dev);
 
 	mutex_lock(&dev->struct_mutex);
 	intel_enable_gt_powersave(dev);
-- 
1.7.9.5

             reply	other threads:[~2012-11-15 18:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-15 18:24 Jesse Barnes [this message]
2012-11-15 20:05 ` [PATCH] drm/i915: reset GPU after clock gating init Daniel Vetter
2012-11-15 20:10   ` Jesse Barnes
2012-11-17 15:34     ` 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=1353003843-22947-1-git-send-email-jbarnes@virtuousgeek.org \
    --to=jbarnes@virtuousgeek.org \
    --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;
as well as URLs for NNTP newsgroup(s).