All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] drm/i915: Add is_dgfx to device info
@ 2019-10-24 19:51 ` Lucas De Marchi
  0 siblings, 0 replies; 26+ messages in thread
From: Lucas De Marchi @ 2019-10-24 19:51 UTC (permalink / raw)
  To: intel-gfx

From: José Roberto de Souza <jose.souza@intel.com>

This will be helpful to diferentiate a set of GPUs
with the same GEN version.

Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
---
 drivers/gpu/drm/i915/i915_drv.h          | 1 +
 drivers/gpu/drm/i915/intel_device_info.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 674e9e921839..12646b94af87 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -1544,6 +1544,7 @@ IS_SUBPLATFORM(const struct drm_i915_private *i915,
 }
 
 #define IS_MOBILE(dev_priv)	(INTEL_INFO(dev_priv)->is_mobile)
+#define IS_DGFX(dev_priv)   (INTEL_INFO(dev_priv)->is_dgfx)
 
 #define IS_I830(dev_priv)	IS_PLATFORM(dev_priv, INTEL_I830)
 #define IS_I845G(dev_priv)	IS_PLATFORM(dev_priv, INTEL_I845G)
diff --git a/drivers/gpu/drm/i915/intel_device_info.h b/drivers/gpu/drm/i915/intel_device_info.h
index e9940f932d26..78a383f63957 100644
--- a/drivers/gpu/drm/i915/intel_device_info.h
+++ b/drivers/gpu/drm/i915/intel_device_info.h
@@ -107,6 +107,7 @@ enum intel_ppgtt_type {
 	func(is_mobile); \
 	func(is_lp); \
 	func(require_force_probe); \
+	func(is_dgfx); \
 	/* Keep has_* in alphabetical order */ \
 	func(has_64bit_reloc); \
 	func(gpu_reset_clobbers_display); \
-- 
2.23.0

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

^ permalink raw reply related	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2019-10-26  9:03 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-24 19:51 [PATCH 1/4] drm/i915: Add is_dgfx to device info Lucas De Marchi
2019-10-24 19:51 ` [Intel-gfx] " Lucas De Marchi
2019-10-24 19:51 ` [PATCH 2/4] drm/i915: add new gen12 dgfx platform macro Lucas De Marchi
2019-10-24 19:51   ` [Intel-gfx] " Lucas De Marchi
2019-10-24 19:55   ` Lucas De Marchi
2019-10-24 19:55     ` [Intel-gfx] " Lucas De Marchi
2019-10-24 20:34   ` Souza, Jose
2019-10-24 20:34     ` [Intel-gfx] " Souza, Jose
2019-10-24 19:51 ` [PATCH 3/4] drm/i915: do not set MOCS control values on dgfx Lucas De Marchi
2019-10-24 19:51   ` [Intel-gfx] " Lucas De Marchi
2019-10-25 16:49   ` Daniele Ceraolo Spurio
2019-10-25 16:49     ` [Intel-gfx] " Daniele Ceraolo Spurio
2019-10-24 19:51 ` [PATCH 4/4] drm/i915: split gen11_irq_handler to make it shareable Lucas De Marchi
2019-10-24 19:51   ` [Intel-gfx] " Lucas De Marchi
2019-10-24 19:57   ` Lucas De Marchi
2019-10-24 19:57     ` [Intel-gfx] " Lucas De Marchi
2019-10-24 22:08 ` [PATCH 1/4] drm/i915: Add is_dgfx to device info Lucas De Marchi
2019-10-24 22:08   ` [Intel-gfx] " Lucas De Marchi
2019-10-24 23:09   ` Rodrigo Vivi
2019-10-24 23:09     ` [Intel-gfx] " Rodrigo Vivi
2019-10-24 22:37 ` ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/4] " Patchwork
2019-10-24 22:37   ` [Intel-gfx] " Patchwork
2019-10-24 23:06 ` ✓ Fi.CI.BAT: success " Patchwork
2019-10-24 23:06   ` [Intel-gfx] " Patchwork
2019-10-26  9:03 ` ✓ Fi.CI.IGT: " Patchwork
2019-10-26  9:03   ` [Intel-gfx] " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.