Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
To: intel-xe@lists.freedesktop.org
Cc: "Zbigniew Kempczyński" <zbigniew.kempczynski@intel.com>,
	"Matthew Auld" <matthew.auld@intel.com>,
	"Rodrigo Vivi" <rodrigo.vivi@intel.com>,
	"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>
Subject: [PATCH v2 2/3] drm/xe: Use 64K pages for scanout buffers for Battlemage
Date: Wed, 21 Aug 2024 22:56:36 +0200	[thread overview]
Message-ID: <20240821205637.552424-3-maarten.lankhorst@linux.intel.com> (raw)
In-Reply-To: <20240821205637.552424-1-maarten.lankhorst@linux.intel.com>

From: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>

Set BMG platform to use 64K pages for display.

Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Cc: Matthew Auld <matthew.auld@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
---
 drivers/gpu/drm/xe/xe_pci.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
index 3c34b032ebf41..701a3f7a338c2 100644
--- a/drivers/gpu/drm/xe/xe_pci.c
+++ b/drivers/gpu/drm/xe/xe_pci.c
@@ -180,6 +180,13 @@ static const struct xe_graphics_desc graphics_xe2 = {
 	XE2_GFX_FEATURES,
 };
 
+static const struct xe_graphics_desc graphics_bmg = {
+	.name = "Xe2_BMG",
+
+	XE2_GFX_FEATURES,
+	.vram_flags = XE_VRAM_FLAGS_DISPLAY_NEED64K_CCS,
+};
+
 static const struct xe_media_desc media_xem = {
 	.name = "Xe_M",
 	.ver = 12,
@@ -361,7 +368,7 @@ static const struct gmdid_map graphics_ip_map[] = {
 	{ 1270, &graphics_xelpg },
 	{ 1271, &graphics_xelpg },
 	{ 1274, &graphics_xelpg },	/* Xe_LPG+ */
-	{ 2001, &graphics_xe2 },
+	{ 2001, &graphics_bmg },
 	{ 2004, &graphics_xe2 },
 };
 
-- 
2.45.2


  parent reply	other threads:[~2024-08-21 20:56 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-21 20:56 [PATCH v2 0/3] drm/xe: Alternative CCS fix Maarten Lankhorst
2024-08-21 20:56 ` [PATCH v2 1/3] drm/xe: Align all 64k VRAM buffers physically when multiple of 64k Maarten Lankhorst
2024-08-22 12:12   ` Zbigniew Kempczyński
2024-08-22 13:57     ` Juha-Pekka Heikkila
2024-08-22 12:14   ` Zbigniew Kempczyński
2024-08-22 12:31     ` Maarten Lankhorst
2024-08-22 12:48   ` Thomas Hellström
2024-08-21 20:56 ` Maarten Lankhorst [this message]
2024-08-21 20:56 ` [PATCH v2 3/3] drm/i915/display: Allowing looking up invalid modifiers to make xe happy Maarten Lankhorst
2024-08-21 20:59   ` [PATCH v2.1] " Maarten Lankhorst
2024-08-21 21:05 ` ✓ CI.Patch_applied: success for drm/xe: Alternative CCS fix. (rev3) Patchwork
2024-08-21 21:05 ` ✗ CI.checkpatch: warning " Patchwork
2024-08-21 21:06 ` ✓ CI.KUnit: success " Patchwork
2024-08-21 21:18 ` ✓ CI.Build: " Patchwork
2024-08-21 21:21 ` ✓ CI.Hooks: " Patchwork
2024-08-21 21:22 ` ✗ CI.checksparse: warning " Patchwork
2024-08-21 21:44 ` ✓ CI.BAT: success " Patchwork
2024-08-22  6:15 ` ✗ CI.FULL: failure " 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=20240821205637.552424-3-maarten.lankhorst@linux.intel.com \
    --to=maarten.lankhorst@linux.intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=matthew.auld@intel.com \
    --cc=rodrigo.vivi@intel.com \
    --cc=zbigniew.kempczynski@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