public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Wayne Boyer <wayne.boyer@intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Subject: [PATCH 3/5] drm/i915: Remove VLV A0 hack
Date: Mon,  7 Dec 2015 10:51:08 -0800	[thread overview]
Message-ID: <1449514270-15171-4-git-send-email-wayne.boyer@intel.com> (raw)
In-Reply-To: <1449514270-15171-1-git-send-email-wayne.boyer@intel.com>

Do some further clean up based on the initial review of
drm/i915: Separate cherryview from valleyview.

In this case remove a hack for VLV A0.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Wayne Boyer <wayne.boyer@intel.com>
---
 drivers/gpu/drm/i915/i915_gem.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index b722a61..4556500 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -4838,14 +4838,6 @@ int i915_gem_init(struct drm_device *dev)
 
 	mutex_lock(&dev->struct_mutex);
 
-	if (IS_VALLEYVIEW(dev) || IS_CHERRYVIEW(dev)) {
-		/* VLVA0 (potential hack), BIOS isn't actually waking us */
-		I915_WRITE(VLV_GTLC_WAKE_CTRL, VLV_GTLC_ALLOWWAKEREQ);
-		if (wait_for((I915_READ(VLV_GTLC_PW_STATUS) &
-			      VLV_GTLC_ALLOWWAKEACK), 10))
-			DRM_DEBUG_DRIVER("allow wake ack timed out\n");
-	}
-
 	if (!i915.enable_execlists) {
 		dev_priv->gt.execbuf_submit = i915_gem_ringbuffer_submission;
 		dev_priv->gt.init_rings = i915_gem_init_rings;
-- 
2.6.3

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

  parent reply	other threads:[~2015-12-07 18:51 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-07 18:51 [PATCH 0/5] CHV and VLV separation and clean up Wayne Boyer
2015-12-07 18:51 ` [PATCH 1/5] drm/i915: Separate cherryview from valleyview Wayne Boyer
2015-12-08 11:44   ` Jani Nikula
2015-12-08 11:51     ` Ville Syrjälä
2015-12-08 19:46       ` Wayne Boyer
2015-12-09 17:10         ` Ville Syrjälä
2015-12-09 20:27           ` Boyer, Wayne
2015-12-09 20:29           ` Wayne Boyer
2015-12-09 20:59             ` Ville Syrjälä
2015-12-10  9:45               ` Jani Nikula
2015-12-07 18:51 ` [PATCH 2/5] drm/i915: Use HAS_PCH_SPLIT to determine correct devices Wayne Boyer
2015-12-07 19:18   ` Ville Syrjälä
2015-12-07 18:51 ` Wayne Boyer [this message]
2015-12-07 19:19   ` [PATCH 3/5] drm/i915: Remove VLV A0 hack Ville Syrjälä
2015-12-07 18:51 ` [PATCH 4/5] drm/i915: Only set gem object L3 cache level for IVB devices Wayne Boyer
2015-12-07 19:28   ` Ville Syrjälä
2015-12-07 19:56     ` Imre Deak
2015-12-07 22:26       ` Boyer, Wayne
2015-12-08 11:47         ` Ville Syrjälä
2015-12-08 17:38           ` Wayne Boyer
2015-12-08 17:45             ` Ville Syrjälä
2015-12-08 20:50               ` Chris Wilson
2015-12-08 21:07                 ` Ville Syrjälä
2015-12-08 21:12                   ` Chris Wilson
2015-12-07 18:51 ` [PATCH 5/5] drm/i915: Remove BUG_ON call in vlv_enable_pll Wayne Boyer
2015-12-07 19:29   ` Ville Syrjälä
2015-12-07 19:47     ` Ville Syrjälä
2015-12-07 23:02       ` Wayne Boyer
2015-12-08 11:48         ` Ville Syrjälä
2015-12-10  9:46           ` Daniel Vetter

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=1449514270-15171-4-git-send-email-wayne.boyer@intel.com \
    --to=wayne.boyer@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=rodrigo.vivi@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox