Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
To: Intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>,
	Jani Nikula <jani.nikula@intel.com>,
	Lucas De Marchi <lucas.demarchi@intel.com>,
	Rodrigo Vivi <rodrigo.vivi@intel.com>,
	Matt Roper <matthew.d.roper@intel.com>
Subject: [Intel-gfx] [PATCH 1/3] drm/i915: Remove early/pre-production Haswell code
Date: Fri,  6 Oct 2023 09:31:01 +0100	[thread overview]
Message-ID: <20231006083103.660153-2-tvrtko.ursulin@linux.intel.com> (raw)
In-Reply-To: <20231006083103.660153-1-tvrtko.ursulin@linux.intel.com>

From: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

It is not our policy to keep pre-production hardware support for this long
so I guess this one was just forgotten.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
---
 drivers/gpu/drm/i915/i915_driver.c | 1 -
 drivers/gpu/drm/i915/i915_drv.h    | 2 --
 2 files changed, 3 deletions(-)

diff --git a/drivers/gpu/drm/i915/i915_driver.c b/drivers/gpu/drm/i915/i915_driver.c
index ccbb2834cde0..78a42c8a8509 100644
--- a/drivers/gpu/drm/i915/i915_driver.c
+++ b/drivers/gpu/drm/i915/i915_driver.c
@@ -175,7 +175,6 @@ static void intel_detect_preproduction_hw(struct drm_i915_private *dev_priv)
 {
 	bool pre = false;
 
-	pre |= IS_HASWELL_EARLY_SDV(dev_priv);
 	pre |= IS_SKYLAKE(dev_priv) && INTEL_REVID(dev_priv) < 0x6;
 	pre |= IS_BROXTON(dev_priv) && INTEL_REVID(dev_priv) < 0xA;
 	pre |= IS_KABYLAKE(dev_priv) && INTEL_REVID(dev_priv) < 0x1;
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index cb60fc9cf873..9d493ff1685a 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -590,8 +590,6 @@ IS_SUBPLATFORM(const struct drm_i915_private *i915,
 	IS_SUBPLATFORM(i915, INTEL_ALDERLAKE_P, INTEL_SUBPLATFORM_RPL)
 #define IS_RAPTORLAKE_U(i915) \
 	IS_SUBPLATFORM(i915, INTEL_ALDERLAKE_P, INTEL_SUBPLATFORM_RPLU)
-#define IS_HASWELL_EARLY_SDV(i915) (IS_HASWELL(i915) && \
-				    (INTEL_DEVID(i915) & 0xFF00) == 0x0C00)
 #define IS_BROADWELL_ULT(i915) \
 	IS_SUBPLATFORM(i915, INTEL_BROADWELL, INTEL_SUBPLATFORM_ULT)
 #define IS_BROADWELL_ULX(i915) \
-- 
2.39.2


  reply	other threads:[~2023-10-06  8:31 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-06  8:31 [Intel-gfx] [PATCH 0/3] Trim some pre-production code Tvrtko Ursulin
2023-10-06  8:31 ` Tvrtko Ursulin [this message]
2023-10-06 10:39   ` [Intel-gfx] [PATCH 1/3] drm/i915: Remove early/pre-production Haswell code Andi Shyti
2023-10-06 10:46   ` Ville Syrjälä
2023-10-06 11:12     ` Tvrtko Ursulin
2023-10-06 15:44   ` Zanoni, Paulo R
2023-10-06 19:49   ` Andrzej Hajda
2023-10-06  8:31 ` [Intel-gfx] [PATCH 2/3] drm/i915: Remove incomplete PVC plumbing Tvrtko Ursulin
2023-10-06 12:06   ` Andi Shyti
2023-10-06 19:50   ` Andrzej Hajda
2023-10-06  8:31 ` [Intel-gfx] [PATCH 3/3] drm/i915: Remove xehpsdv support Tvrtko Ursulin
2023-10-06 13:30   ` Andi Shyti
2023-10-06 19:51   ` Andrzej Hajda
2023-10-06  9:05 ` [Intel-gfx] [PATCH 0/3] Trim some pre-production code Andi Shyti
2023-10-06 14:21 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for " Patchwork
2023-10-06 14:40 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork
2023-10-06 19:41 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for Trim some pre-production code (rev2) Patchwork
2023-10-06 19:52 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2023-10-07  9:06 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork

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=20231006083103.660153-2-tvrtko.ursulin@linux.intel.com \
    --to=tvrtko.ursulin@linux.intel.com \
    --cc=Intel-gfx@lists.freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jani.nikula@intel.com \
    --cc=lucas.demarchi@intel.com \
    --cc=matthew.d.roper@intel.com \
    --cc=rodrigo.vivi@intel.com \
    --cc=tvrtko.ursulin@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