Skip to contentSkip to conversation

drm/i915/dg1: Read OPROM via SPI controller

PATCH In review Lucas De Marchi 3 participants 5 messages Dec 16, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 drm/i915/dg1: Read OPROM via SPI controller

From: Clint Taylor <[email protected]>

Read OPROM SPI through MMIO and find VBT entry since we can't use OpRegion and PCI mapping may not work on some systems due to most BIOSes not leaving the Option ROM mapped.

v2: Remove message with allocation failure

---
 drivers/gpu/drm/i915/display/intel_bios.c | 77 +++++++++++++++++++++--
 drivers/gpu/drm/i915/i915_reg.h           |  8 +++
 2 files changed, 79 insertions(+), 6 deletions(-)
drivers/gpu/drm/i915/display/intel_bios.c +71 -6
index 9d989c9f5da4..76a8f001f4c4 100644
@@ -2335,6 +2335,63 @@ bool intel_bios_is_valid_vbt(const void *buf, size_t size)
 	return vbt;
 }
 
+static struct vbt_header *spi_oprom_get_vbt(struct drm_i915_private *i915)
+{
+	u32 count, data, found, store = 0;
+	u32 static_region, oprom_offset;
+	u32 oprom_size = 0x200000;
+	u16 vbt_size;
+	u32 *vbt;
+
+	static_region = intel_uncore_read(&i915->uncore, SPI_STATIC_REGIONS);
+	static_region &= OPTIONROM_SPI_REGIONID_MASK;
+	intel_uncore_write(&i915->uncore, PRIMARY_SPI_REGIONID, static_region);
+
+	oprom_offset = intel_uncore_read(&i915->uncore, OROM_OFFSET);
+	oprom_offset &= OROM_OFFSET_MASK;
+
+	for (count = 0; count < oprom_size; count += 4) {
+		intel_uncore_write(&i915->uncore, PRIMARY_SPI_ADDRESS, oprom_offset + count);
+		data = intel_uncore_read(&i915->uncore, PRIMARY_SPI_TRIGGER);
+
+		if (data == *((const u32 *)"$VBT")) {
+			found = oprom_offset + count;
+			break;
+		}
+	}
+
+	if (count >= oprom_size)
+		goto err_not_found;
+
+	/* Get VBT size and allocate space for the VBT */
+	intel_uncore_write(&i915->uncore, PRIMARY_SPI_ADDRESS, found +
+		   offsetof(struct vbt_header, vbt_size));
+	vbt_size = intel_uncore_read(&i915->uncore, PRIMARY_SPI_TRIGGER);
+	vbt_size &= 0xffff;
+
+	vbt = kzalloc(vbt_size, GFP_KERNEL);
+	if (!vbt)
+		goto err_not_found;
+
+	for (count = 0; count < vbt_size; count += 4) {
+		intel_uncore_write(&i915->uncore, PRIMARY_SPI_ADDRESS, found + count);
+		data = intel_uncore_read(&i915->uncore, PRIMARY_SPI_TRIGGER);
+		*(vbt + store++) = data;
+	}
+
+	if (!intel_bios_is_valid_vbt(vbt, vbt_size))
+		goto err_free_vbt;
+
+	drm_dbg_kms(&i915->drm, "Found valid VBT in SPI flash\n");
+
+	return (struct vbt_header *)vbt;
+
+err_free_vbt:
+	kfree(vbt);
+err_not_found:
+	return NULL;
+}
+
 static struct vbt_header *oprom_get_vbt(struct drm_i915_private *i915)
 {
 	struct pci_dev *pdev = to_pci_dev(i915->drm.dev);
@@ -2384,6 +2441,8 @@ static struct vbt_header *oprom_get_vbt(struct drm_i915_private *i915)
 
 	pci_unmap_rom(pdev, oprom);
 
+	drm_dbg_kms(&i915->drm, "Found valid VBT in PCI ROM\n");
+
 	return vbt;
 
 err_free_vbt:
@@ -2418,17 +2477,23 @@ void intel_bios_init(struct drm_i915_private *i915)
 
 	init_vbt_defaults(i915);
 
-	/* If the OpRegion does not have VBT, look in PCI ROM. */
+	/*
+	 * If the OpRegion does not have VBT, look in SPI flash through MMIO or
+	 * PCI mapping
+	 */
+	if (!vbt && IS_DGFX(i915)) {
+		oprom_vbt = spi_oprom_get_vbt(i915);
+		vbt = oprom_vbt;
+	}
+
 	if (!vbt) {
 		oprom_vbt = oprom_get_vbt(i915);
-		if (!oprom_vbt)
-			goto out;
-
 		vbt = oprom_vbt;
-
-		drm_dbg_kms(&i915->drm, "Found valid VBT in PCI ROM\n");
 	}
 
+	if (!vbt)
+		goto out;
+
 	bdb = get_bdb_header(vbt);
 	i915->vbt.version = bdb->version;
 
drivers/gpu/drm/i915/i915_reg.h +8 -0
index 698a023e70f5..3240b3eb1ddd 100644
@@ -12974,6 +12974,14 @@ enum skl_power_gate {
 #define  TCSS_DDI_STATUS_HPD_LIVE_STATUS_TBT	REG_BIT(1)
 #define  TCSS_DDI_STATUS_HPD_LIVE_STATUS_ALT	REG_BIT(0)
 
+#define PRIMARY_SPI_TRIGGER			_MMIO(0x102040)
+#define PRIMARY_SPI_ADDRESS			_MMIO(0x102080)
+#define PRIMARY_SPI_REGIONID			_MMIO(0x102084)
+#define SPI_STATIC_REGIONS			_MMIO(0x102090)
+#define   OPTIONROM_SPI_REGIONID_MASK		REG_GENMASK(7, 0)
+#define OROM_OFFSET				_MMIO(0x1020c0)
+#define   OROM_OFFSET_MASK			REG_GENMASK(20, 16)
+
 /* This register controls the Display State Buffer (DSB) engines. */
 #define _DSBSL_INSTANCE_BASE		0x70B00
 #define DSBSL_INSTANCE(pipe, id)	(_DSBSL_INSTANCE_BASE + \
Signature · 1 line
2.34.1
#1 lore raw

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915/dg1: Read OPROM via SPI controller (rev3)

== Series Details ==

== Series Details ==

Series: drm/i915/dg1: Read OPROM via SPI controller (rev3)
URL : https://patchwork.freedesktop.org/series/94826/
State : warning

== Summary ==

$ dim sparse --fast origin/drm-tip
Sparse version: v0.6.2
Fast mode used, each commit won't be checked separately.
#2 lore raw

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/dg1: Read OPROM via SPI controller (rev3)

In reply to Lucas De Marchi
== Series Details ==

== Series Details ==

Series: drm/i915/dg1: Read OPROM via SPI controller (rev3)
URL : https://patchwork.freedesktop.org/series/94826/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_11006 -> Patchwork_21857
====================================================

Summary
-------

**SUCCESS**

No regressions found.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/index.html

Participating hosts (41 -> 34)
------------------------------

Additional (2): fi-icl-u2 fi-rkl-guc
Missing (9): fi-kbl-soraka bat-dg1-6 bat-dg1-5 fi-bsw-cyan bat-adlp-6 fi-pnv-d510 fi-bdw-samus bat-jsl-2 bat-jsl-1

Known issues
------------

Here are the changes found in Patchwork_21857 that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@amdgpu/amd_basic@cs-gfx:
- fi-rkl-guc: NOTRUN -> [SKIP][1] ([fdo#109315]) +17 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/fi-rkl-guc/igt@amdgpu/[email protected]

* igt@amdgpu/amd_cs_nop@fork-gfx0:
- fi-icl-u2: NOTRUN -> [SKIP][2] ([fdo#109315]) +17 similar issues
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/fi-icl-u2/igt@amdgpu/[email protected]

* igt@amdgpu/amd_cs_nop@sync-fork-compute0:
- fi-snb-2600: NOTRUN -> [SKIP][3] ([fdo#109271]) +17 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/fi-snb-2600/igt@amdgpu/[email protected]

* igt@gem_flink_basic@bad-flink:
- fi-skl-6600u: [PASS][4] -> [FAIL][5] ([i915#4547])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11006/fi-skl-6600u/igt@[email protected]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/fi-skl-6600u/igt@[email protected]

* igt@gem_huc_copy@huc-copy:
- fi-icl-u2: NOTRUN -> [SKIP][6] ([i915#2190])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/fi-icl-u2/igt@[email protected]

* igt@gem_lmem_swapping@parallel-random-engines:
- fi-icl-u2: NOTRUN -> [SKIP][7] ([i915#4613]) +3 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/fi-icl-u2/igt@[email protected]

* igt@gem_lmem_swapping@verify-random:
- fi-rkl-guc: NOTRUN -> [SKIP][8] ([i915#4613]) +3 similar issues
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/fi-rkl-guc/igt@[email protected]

* igt@gem_tiled_pread_basic:
- fi-rkl-guc: NOTRUN -> [SKIP][9] ([i915#3282])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/fi-rkl-guc/igt@gem_tiled_pread_basic.html

* igt@i915_pm_backlight@basic-brightness:
- fi-rkl-guc: NOTRUN -> [SKIP][10] ([i915#3012])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/fi-rkl-guc/igt@[email protected]

* igt@i915_selftest@live@hangcheck:
- fi-hsw-4770: [PASS][11] -> [INCOMPLETE][12] ([i915#4785])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11006/fi-hsw-4770/igt@i915_selftest@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/fi-hsw-4770/igt@i915_selftest@[email protected]

* igt@kms_chamelium@dp-edid-read:
- fi-rkl-guc: NOTRUN -> [SKIP][13] ([fdo#111827]) +8 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/fi-rkl-guc/igt@[email protected]

* igt@kms_chamelium@hdmi-hpd-fast:
- fi-icl-u2: NOTRUN -> [SKIP][14] ([fdo#111827]) +8 similar issues
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/fi-icl-u2/igt@[email protected]

* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- fi-rkl-guc: NOTRUN -> [SKIP][15] ([i915#4103]) +1 similar issue
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/fi-rkl-guc/igt@[email protected]

* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- fi-icl-u2: NOTRUN -> [SKIP][16] ([fdo#109278]) +2 similar issues
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/fi-icl-u2/igt@[email protected]

* igt@kms_force_connector_basic@force-load-detect:
- fi-rkl-guc: NOTRUN -> [SKIP][17] ([fdo#109285])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/fi-rkl-guc/igt@[email protected]
- fi-icl-u2: NOTRUN -> [SKIP][18] ([fdo#109285])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/fi-icl-u2/igt@[email protected]

* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-d:
- fi-rkl-guc: NOTRUN -> [SKIP][19] ([i915#533])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/fi-rkl-guc/igt@[email protected]

* igt@kms_psr@sprite_plane_onoff:
- fi-rkl-guc: NOTRUN -> [SKIP][20] ([i915#1072]) +3 similar issues
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/fi-rkl-guc/igt@kms_psr@sprite_plane_onoff.html

* igt@prime_vgem@basic-userptr:
- fi-icl-u2: NOTRUN -> [SKIP][21] ([i915#3301])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/fi-icl-u2/igt@[email protected]
- fi-rkl-guc: NOTRUN -> [SKIP][22] ([i915#3301] / [i915#3708])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/fi-rkl-guc/igt@[email protected]

* igt@prime_vgem@basic-write:
- fi-rkl-guc: NOTRUN -> [SKIP][23] ([i915#3291] / [i915#3708]) +2 similar issues
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/fi-rkl-guc/igt@[email protected]

* igt@runner@aborted:
- fi-hsw-4770: NOTRUN -> [FAIL][24] ([fdo#109271] / [i915#1436] / [i915#4312])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/fi-hsw-4770/igt@[email protected]

#### Possible fixes ####

* igt@i915_selftest@live@hangcheck:
- fi-snb-2600: [INCOMPLETE][25] ([i915#3921]) -> [PASS][26]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11006/fi-snb-2600/igt@i915_selftest@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/fi-snb-2600/igt@i915_selftest@[email protected]

#### Warnings ####

* igt@runner@aborted:
- fi-skl-6600u: [FAIL][27] ([i915#1436] / [i915#4312]) -> [FAIL][28] ([i915#4312])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11006/fi-skl-6600u/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/fi-skl-6600u/igt@[email protected]

[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109278]: https://bugs.freedesktop.org/show_bug.cgi?id=109278
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1436]: https://gitlab.freedesktop.org/drm/intel/issues/1436
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#3012]: https://gitlab.freedesktop.org/drm/intel/issues/3012
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3291]: https://gitlab.freedesktop.org/drm/intel/issues/3291
[i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#3921]: https://gitlab.freedesktop.org/drm/intel/issues/3921
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#4547]: https://gitlab.freedesktop.org/drm/intel/issues/4547
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4785]: https://gitlab.freedesktop.org/drm/intel/issues/4785
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533

Build changes
-------------

* Linux: CI_DRM_11006 -> Patchwork_21857

CI-20190529: 20190529
CI_DRM_11006: c638e6957221626098fab621a4774b77b933dff2 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6310: 07dfbd0af8b49c75036f0ccb0a161f6e290a91a3 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_21857: d9c1dda2568b4c567c9cb9119cebffe7fa57c086 @ git://anongit.freedesktop.org/gfx-ci/linux

== Linux commits ==

d9c1dda2568b drm/i915/dg1: Read OPROM via SPI controller

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/index.html

#3 lore raw

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915/dg1: Read OPROM via SPI controller (rev3)

In reply to Lucas De Marchi
== Series Details ==

== Series Details ==

Series: drm/i915/dg1: Read OPROM via SPI controller (rev3)
URL : https://patchwork.freedesktop.org/series/94826/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_11006_full -> Patchwork_21857_full
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with Patchwork_21857_full absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes introduced in Patchwork_21857_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.

Participating hosts (10 -> 17)
------------------------------

Additional (7): shard-dg1-15 shard-dg1-13 shard-dg1-12 shard-dg1-16 shard-dg1-17 shard-dg1-19 shard-dg1-18

Possible new issues
-------------------

Here are the unknown changes that may have been introduced in Patchwork_21857_full:

### IGT changes ###

#### Possible regressions ####

* {igt@gem_render_copy@mixed-tiled-to-yf-tiled-ccs@lmem0} (NEW):
- {shard-dg1-12}: NOTRUN -> [FAIL][1] +3 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-dg1-12/igt@gem_render_copy@[email protected]

* {igt@gem_render_copy@y-tiled-ccs-to-y-tiled-mc-ccs@lmem0} (NEW):
- {shard-dg1-18}: NOTRUN -> [FAIL][2] +1 similar issue
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-dg1-18/igt@gem_render_copy@[email protected]

* {igt@gem_render_copy@y-tiled-ccs-to-y-tiled@lmem0} (NEW):
- {shard-dg1-15}: NOTRUN -> [FAIL][3] +3 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-dg1-15/igt@gem_render_copy@[email protected]

* {igt@gem_render_copy@y-tiled-ccs-to-yf-tiled-mc-ccs@lmem0} (NEW):
- {shard-dg1-19}: NOTRUN -> [FAIL][4]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-dg1-19/igt@gem_render_copy@[email protected]

* {igt@gem_render_copy@y-tiled-mc-ccs-to-y-tiled-ccs@lmem0} (NEW):
- {shard-dg1-17}: NOTRUN -> [FAIL][5] +1 similar issue
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-dg1-17/igt@gem_render_copy@[email protected]

* {igt@gem_render_copy@yf-tiled-ccs-to-x-tiled@lmem0} (NEW):
- {shard-dg1-16}: NOTRUN -> [FAIL][6]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-dg1-16/igt@gem_render_copy@[email protected]

* {igt@gem_render_copy@yf-tiled-ccs-to-yf-tiled@lmem0} (NEW):
- {shard-dg1-13}: NOTRUN -> [FAIL][7] +1 similar issue
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-dg1-13/igt@gem_render_copy@[email protected]

* igt@kms_flip@flip-vs-suspend-interruptible@c-hdmi-a2:
- shard-glk: [PASS][8] -> [INCOMPLETE][9]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11006/shard-glk1/igt@kms_flip@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-glk5/igt@kms_flip@[email protected]

#### Suppressed ####

The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.

* igt@api_intel_bb@object-reloc-keep-cache:
- {shard-dg1-12}: NOTRUN -> [SKIP][10] +181 similar issues
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-dg1-12/igt@[email protected]

* igt@drm_import_export@flink:
- {shard-dg1-17}: NOTRUN -> [FAIL][11] +6 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-dg1-17/igt@[email protected]

* igt@gem_create@create-massive:
- {shard-dg1-13}: NOTRUN -> [DMESG-WARN][12]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-dg1-13/igt@[email protected]

* igt@gem_exec_capture@capture:
- {shard-dg1-19}: NOTRUN -> [SKIP][13] +91 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-dg1-19/igt@[email protected]

* igt@gem_readwrite@write-bad-handle:
- {shard-dg1-17}: NOTRUN -> [SKIP][14] +131 similar issues
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-dg1-17/igt@[email protected]

* igt@gem_render_copy@y-tiled-ccs-to-linear@smem:
- {shard-dg1-13}: NOTRUN -> [FAIL][15] +1 similar issue
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-dg1-13/igt@gem_render_copy@[email protected]

* igt@gem_render_copy@y-tiled-ccs-to-yf-tiled-mc-ccs@smem:
- {shard-dg1-19}: NOTRUN -> [FAIL][16] +2 similar issues
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-dg1-19/igt@gem_render_copy@[email protected]

* igt@gem_render_copy@yf-tiled-ccs-to-x-tiled@smem:
- {shard-dg1-16}: NOTRUN -> [FAIL][17] +1 similar issue
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-dg1-16/igt@gem_render_copy@[email protected]

* igt@gem_userptr_blits@input-checking:
- {shard-dg1-16}: NOTRUN -> [DMESG-WARN][18]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-dg1-16/igt@[email protected]

* igt@i915_module_load@reload-with-fault-injection:
- {shard-dg1-17}: NOTRUN -> [INCOMPLETE][19]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-dg1-17/igt@[email protected]

* igt@i915_pm_rps@waitboost:
- {shard-dg1-15}: NOTRUN -> [FAIL][20] +10 similar issues
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-dg1-15/igt@[email protected]

* igt@kms_concurrent@pipe-a:
- {shard-dg1-18}: NOTRUN -> [CRASH][21]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-dg1-18/igt@[email protected]

* igt@kms_concurrent@pipe-d:
- {shard-dg1-15}: NOTRUN -> [CRASH][22]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-dg1-15/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-cur-indfb-draw-mmap-wc:
- {shard-dg1-18}: NOTRUN -> [SKIP][23] +92 similar issues
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-dg1-18/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-cur-indfb-draw-mmap-wc.html

* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-draw-mmap-wc:
- {shard-dg1-16}: NOTRUN -> [SKIP][24] +60 similar issues
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-dg1-16/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-draw-mmap-wc.html

* igt@kms_psr@psr2_primary_page_flip:
- {shard-dg1-13}: NOTRUN -> [SKIP][25] +78 similar issues
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-dg1-13/igt@kms_psr@psr2_primary_page_flip.html

* igt@prime_mmap@test_errors:
- {shard-dg1-12}: NOTRUN -> [FAIL][26] +11 similar issues
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-dg1-12/igt@prime_mmap@test_errors.html

* igt@prime_mmap@test_forked_cpu_write:
- {shard-dg1-18}: NOTRUN -> [FAIL][27] +4 similar issues
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-dg1-18/igt@prime_mmap@test_forked_cpu_write.html

* igt@prime_mmap_coherency@read:
- {shard-dg1-15}: NOTRUN -> [INCOMPLETE][28]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-dg1-15/igt@[email protected]

* igt@prime_mmap_coherency@write:
- {shard-dg1-12}: NOTRUN -> [INCOMPLETE][29] +1 similar issue
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-dg1-12/igt@[email protected]

* igt@tools_test@sysfs_l3_parity:
- {shard-dg1-15}: NOTRUN -> [SKIP][30] +137 similar issues
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-dg1-15/igt@tools_test@sysfs_l3_parity.html

New tests
---------

New tests have been introduced between CI_DRM_11006_full and Patchwork_21857_full:

### New IGT tests (34) ###

* igt@gem_exec_create@legacy@lmem0:
- Statuses : 1 pass(s)
- Exec time: [2.04] s

* igt@gem_exec_create@madvise@lmem0:
- Statuses : 1 pass(s)
- Exec time: [20.25] s

* igt@gem_gpgpu_fill@basic@lmem0:
- Statuses : 1 pass(s)
- Exec time: [0.01] s

* igt@gem_lmem_swapping@heavy-multi@lmem0:
- Statuses : 1 pass(s)
- Exec time: [27.58] s

* igt@gem_lmem_swapping@heavy-random@lmem0:
- Statuses : 1 pass(s)
- Exec time: [31.25] s

* igt@gem_lmem_swapping@heavy-verify-multi@lmem0:
- Statuses : 1 pass(s)
- Exec time: [22.00] s

* igt@gem_lmem_swapping@parallel-multi@lmem0:
- Statuses : 1 pass(s)
- Exec time: [26.65] s

* igt@gem_lmem_swapping@parallel-random-verify@lmem0:
- Statuses : 1 pass(s)
- Exec time: [27.86] s

* igt@gem_lmem_swapping@parallel-random@lmem0:
- Statuses : 1 pass(s)
- Exec time: [23.69] s

* igt@gem_lmem_swapping@random@lmem0:
- Statuses : 1 pass(s)
- Exec time: [12.64] s

* igt@gem_render_copy@linear-to-vebox-y-tiled@lmem0:
- Statuses : 1 pass(s)
- Exec time: [0.74] s

* igt@gem_render_copy@linear-to-vebox-yf-tiled@lmem0:
- Statuses : 1 pass(s)
- Exec time: [0.74] s

* igt@gem_render_copy@linear@lmem0:
- Statuses : 1 pass(s)
- Exec time: [0.12] s

* igt@gem_render_copy@mixed-tiled-to-y-tiled-ccs@lmem0:
- Statuses : 1 fail(s)
- Exec time: [0.92] s

* igt@gem_render_copy@mixed-tiled-to-yf-tiled-ccs@lmem0:
- Statuses : 1 fail(s)
- Exec time: [0.94] s

* igt@gem_render_copy@x-tiled-to-vebox-y-tiled@lmem0:
- Statuses : 1 pass(s)
- Exec time: [0.74] s

* igt@gem_render_copy@y-tiled-ccs-to-linear@lmem0:
- Statuses : 1 fail(s)
- Exec time: [0.29] s

* igt@gem_render_copy@y-tiled-ccs-to-y-tiled-ccs@lmem0:
- Statuses : 1 fail(s)
- Exec time: [0.92] s

* igt@gem_render_copy@y-tiled-ccs-to-y-tiled-mc-ccs@lmem0:
- Statuses : 1 fail(s)
- Exec time: [0.93] s

* igt@gem_render_copy@y-tiled-ccs-to-y-tiled@lmem0:
- Statuses : 1 fail(s)
- Exec time: [0.92] s

* igt@gem_render_copy@y-tiled-ccs-to-yf-tiled-mc-ccs@lmem0:
- Statuses : 1 fail(s)
- Exec time: [0.92] s

* igt@gem_render_copy@y-tiled-ccs-to-yf-tiled@lmem0:
- Statuses : 1 fail(s)
- Exec time: [0.91] s

* igt@gem_render_copy@y-tiled-mc-ccs-to-vebox-yf-tiled@lmem0:
- Statuses : 1 fail(s)
- Exec time: [0.91] s

* igt@gem_render_copy@y-tiled-mc-ccs-to-y-tiled-ccs@lmem0:
- Statuses : 1 fail(s)
- Exec time: [0.92] s

* igt@gem_render_copy@y-tiled-mc-ccs-to-yf-tiled-ccs@lmem0:
- Statuses : 1 fail(s)
- Exec time: [0.92] s

* igt@gem_render_copy@y-tiled-to-vebox-linear@lmem0:
- Statuses : 1 pass(s)
- Exec time: [0.12] s

* igt@gem_render_copy@y-tiled-to-vebox-x-tiled@lmem0:
- Statuses : 1 pass(s)
- Exec time: [0.74] s

* igt@gem_render_copy@yf-tiled-ccs-to-linear@lmem0:
- Statuses : 1 fail(s)
- Exec time: [0.30] s

* igt@gem_render_copy@yf-tiled-ccs-to-x-tiled@lmem0:
- Statuses : 1 fail(s)
- Exec time: [0.91] s

* igt@gem_render_copy@yf-tiled-ccs-to-y-tiled-ccs@lmem0:
- Statuses : 1 fail(s)
- Exec time: [0.92] s

* igt@gem_render_copy@yf-tiled-ccs-to-yf-tiled-ccs@lmem0:
- Statuses : 1 fail(s)
- Exec time: [0.92] s

* igt@gem_render_copy@yf-tiled-ccs-to-yf-tiled@lmem0:
- Statuses : 1 fail(s)
- Exec time: [0.92] s

* igt@gem_render_copy@yf-tiled-to-vebox-linear@lmem0:
- Statuses : 1 pass(s)
- Exec time: [0.11] s

* igt@gem_render_copy@yf-tiled-to-vebox-y-tiled@lmem0:
- Statuses : 1 pass(s)
- Exec time: [0.75] s

Known issues
------------

Here are the changes found in Patchwork_21857_full that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@gem_ctx_isolation@preservation-s3@vcs0:
- shard-kbl: [PASS][31] -> [DMESG-WARN][32] ([i915#180]) +2 similar issues
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11006/shard-kbl1/igt@gem_ctx_isolation@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-kbl1/igt@gem_ctx_isolation@[email protected]

* igt@gem_ctx_sseu@engines:
- shard-tglb: NOTRUN -> [SKIP][33] ([i915#280])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-tglb8/igt@[email protected]

* igt@gem_exec_balancer@parallel-contexts:
- shard-tglb: NOTRUN -> [SKIP][34] ([i915#4525])
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-tglb3/igt@[email protected]

* igt@gem_exec_capture@pi@vecs0:
- shard-skl: NOTRUN -> [INCOMPLETE][35] ([i915#4547])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-skl4/igt@gem_exec_capture@[email protected]

* igt@gem_exec_fair@basic-none-vip@rcs0:
- shard-kbl: [PASS][36] -> [FAIL][37] ([i915#2842]) +2 similar issues
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11006/shard-kbl3/igt@gem_exec_fair@[email protected]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-kbl2/igt@gem_exec_fair@[email protected]
- shard-tglb: NOTRUN -> [FAIL][38] ([i915#2842]) +1 similar issue
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-tglb3/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-none@vecs0:
- shard-apl: [PASS][39] -> [FAIL][40] ([i915#2842])
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11006/shard-apl1/igt@gem_exec_fair@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-apl4/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-tglb: [PASS][41] -> [FAIL][42] ([i915#2842]) +1 similar issue
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11006/shard-tglb2/igt@gem_exec_fair@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-tglb3/igt@gem_exec_fair@[email protected]

* igt@gem_huc_copy@huc-copy:
- shard-tglb: [PASS][43] -> [SKIP][44] ([i915#2190])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11006/shard-tglb5/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-tglb6/igt@[email protected]

* igt@gem_lmem_swapping@heavy-verify-multi:
- shard-apl: NOTRUN -> [SKIP][45] ([fdo#109271] / [i915#4613])
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-apl1/igt@[email protected]

* igt@gem_lmem_swapping@parallel-random-verify:
- shard-tglb: NOTRUN -> [SKIP][46] ([i915#4613])
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-tglb8/igt@[email protected]

* igt@gem_lmem_swapping@verify-random:
- shard-skl: NOTRUN -> [SKIP][47] ([fdo#109271] / [i915#4613]) +2 similar issues
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-skl4/igt@[email protected]

* igt@gem_pxp@protected-encrypted-src-copy-not-readible:
- shard-tglb: NOTRUN -> [SKIP][48] ([i915#4270])
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-tglb1/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][49] ([i915#4270])
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-iclb3/igt@[email protected]

* igt@gem_softpin@evict-snoop:
- shard-tglb: NOTRUN -> [SKIP][50] ([fdo#109312])
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-tglb3/igt@[email protected]

* igt@gem_userptr_blits@dmabuf-sync:
- shard-apl: NOTRUN -> [SKIP][51] ([fdo#109271] / [i915#3323])
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-apl6/igt@[email protected]

* igt@gem_userptr_blits@input-checking:
- shard-skl: NOTRUN -> [DMESG-WARN][52] ([i915#3002])
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-skl4/igt@[email protected]

* igt@gen7_exec_parse@basic-allowed:
- shard-tglb: NOTRUN -> [SKIP][53] ([fdo#109289]) +1 similar issue
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-tglb3/igt@[email protected]

* igt@gen7_exec_parse@bitmasks:
- shard-iclb: NOTRUN -> [SKIP][54] ([fdo#109289])
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-iclb7/igt@[email protected]

* igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-180-async-flip:
- shard-skl: NOTRUN -> [FAIL][55] ([i915#3743]) +1 similar issue
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-skl1/igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-180-async-flip.html

* igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-0-hflip:
- shard-apl: NOTRUN -> [SKIP][56] ([fdo#109271] / [i915#3777])
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-apl6/igt@[email protected]

* igt@kms_big_fb@y-tiled-64bpp-rotate-270:
- shard-tglb: NOTRUN -> [SKIP][57] ([fdo#111614])
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-tglb8/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][58] ([fdo#110725] / [fdo#111614])
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-iclb7/igt@[email protected]

* igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-hflip:
- shard-kbl: NOTRUN -> [SKIP][59] ([fdo#109271] / [i915#3777]) +2 similar issues
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-kbl7/igt@[email protected]

* igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-0-hflip:
- shard-skl: NOTRUN -> [SKIP][60] ([fdo#109271] / [i915#3777])
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-skl4/igt@[email protected]

* igt@kms_big_fb@yf-tiled-32bpp-rotate-0:
- shard-tglb: NOTRUN -> [SKIP][61] ([fdo#111615])
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-tglb8/igt@[email protected]

* igt@kms_ccs@pipe-a-bad-rotation-90-y_tiled_gen12_rc_ccs_cc:
- shard-kbl: NOTRUN -> [SKIP][62] ([fdo#109271] / [i915#3886])
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-kbl7/igt@kms_ccs@pipe-a-bad-rotation-90-y_tiled_gen12_rc_ccs_cc.html

* igt@kms_ccs@pipe-b-bad-aux-stride-y_tiled_gen12_mc_ccs:
- shard-tglb: NOTRUN -> [SKIP][63] ([i915#3689] / [i915#3886])
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-tglb2/igt@kms_ccs@pipe-b-bad-aux-stride-y_tiled_gen12_mc_ccs.html

* igt@kms_ccs@pipe-b-ccs-on-another-bo-y_tiled_gen12_rc_ccs_cc:
- shard-skl: NOTRUN -> [SKIP][64] ([fdo#109271] / [i915#3886]) +4 similar issues
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-skl4/igt@kms_ccs@pipe-b-ccs-on-another-bo-y_tiled_gen12_rc_ccs_cc.html

* igt@kms_ccs@pipe-b-crc-primary-rotation-180-yf_tiled_ccs:
- shard-tglb: NOTRUN -> [SKIP][65] ([fdo#111615] / [i915#3689]) +1 similar issue
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-tglb3/igt@kms_ccs@pipe-b-crc-primary-rotation-180-yf_tiled_ccs.html

* igt@kms_ccs@pipe-b-crc-sprite-planes-basic-y_tiled_gen12_rc_ccs_cc:
- shard-iclb: NOTRUN -> [SKIP][66] ([fdo#109278] / [i915#3886]) +1 similar issue
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-iclb7/igt@kms_ccs@pipe-b-crc-sprite-planes-basic-y_tiled_gen12_rc_ccs_cc.html

* igt@kms_ccs@pipe-b-random-ccs-data-y_tiled_gen12_mc_ccs:
- shard-apl: NOTRUN -> [SKIP][67] ([fdo#109271] / [i915#3886]) +1 similar issue
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-apl6/igt@kms_ccs@pipe-b-random-ccs-data-y_tiled_gen12_mc_ccs.html

* igt@kms_ccs@pipe-d-missing-ccs-buffer-y_tiled_ccs:
- shard-tglb: NOTRUN -> [SKIP][68] ([i915#3689]) +2 similar issues
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-tglb3/igt@kms_ccs@pipe-d-missing-ccs-buffer-y_tiled_ccs.html

* igt@kms_chamelium@dp-edid-change-during-suspend:
- shard-apl: NOTRUN -> [SKIP][69] ([fdo#109271] / [fdo#111827]) +3 similar issues
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-apl1/igt@[email protected]

* igt@kms_chamelium@vga-hpd-after-suspend:
- shard-skl: NOTRUN -> [SKIP][70] ([fdo#109271] / [fdo#111827]) +10 similar issues
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-skl4/igt@[email protected]

* igt@kms_color@pipe-b-ctm-blue-to-red:
- shard-skl: [PASS][71] -> [DMESG-WARN][72] ([i915#1982]) +1 similar issue
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11006/shard-skl1/igt@[email protected]
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-skl7/igt@[email protected]

* igt@kms_color_chamelium@pipe-b-ctm-limited-range:
- shard-tglb: NOTRUN -> [SKIP][73] ([fdo#109284] / [fdo#111827]) +8 similar issues
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-tglb1/igt@[email protected]

* igt@kms_color_chamelium@pipe-b-gamma:
- shard-kbl: NOTRUN -> [SKIP][74] ([fdo#109271] / [fdo#111827]) +6 similar issues
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-kbl3/igt@[email protected]

* igt@kms_color_chamelium@pipe-c-ctm-green-to-red:
- shard-iclb: NOTRUN -> [SKIP][75] ([fdo#109284] / [fdo#111827]) +2 similar issues
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-iclb7/igt@[email protected]

* igt@kms_content_protection@mei_interface:
- shard-tglb: NOTRUN -> [SKIP][76] ([fdo#111828])
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-tglb3/igt@kms_content_protection@mei_interface.html

* igt@kms_cursor_crc@pipe-b-cursor-32x10-onscreen:
- shard-tglb: NOTRUN -> [SKIP][77] ([i915#3359]) +1 similar issue
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-tglb3/igt@[email protected]

* igt@kms_cursor_crc@pipe-c-cursor-32x32-onscreen:
- shard-tglb: NOTRUN -> [SKIP][78] ([i915#3319]) +2 similar issues
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-tglb1/igt@[email protected]

* igt@kms_cursor_crc@pipe-d-cursor-512x512-rapid-movement:
- shard-tglb: NOTRUN -> [SKIP][79] ([fdo#109279] / [i915#3359]) +2 similar issues
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-tglb1/igt@[email protected]

* igt@kms_cursor_crc@pipe-d-cursor-64x21-sliding:
- shard-iclb: NOTRUN -> [SKIP][80] ([fdo#109278]) +8 similar issues
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-iclb7/igt@[email protected]

* igt@kms_cursor_legacy@2x-long-cursor-vs-flip-legacy:
- shard-iclb: NOTRUN -> [SKIP][81] ([fdo#109274] / [fdo#109278]) +1 similar issue
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-iclb7/igt@[email protected]

* igt@kms_cursor_legacy@short-busy-flip-before-cursor-atomic-transitions-varying-size:
- shard-tglb: NOTRUN -> [SKIP][82] ([i915#4103])
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-tglb8/igt@kms_cursor_legacy@short-busy-flip-before-cursor-atomic-transitions-varying-size.html

* igt@kms_flip@2x-plain-flip-ts-check:
- shard-tglb: NOTRUN -> [SKIP][83] ([fdo#111825]) +23 similar issues
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-tglb3/igt@[email protected]

* igt@kms_flip@2x-wf_vblank-ts-check-interruptible:
- shard-iclb: NOTRUN -> [SKIP][84] ([fdo#109274])
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-iclb3/igt@kms_flip@2x-wf_vblank-ts-check-interruptible.html

* igt@kms_flip@flip-vs-suspend@c-dp1:
- shard-apl: [PASS][85] -> [DMESG-WARN][86] ([i915#180]) +1 similar issue
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11006/shard-apl1/igt@kms_flip@[email protected]
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-apl4/igt@kms_flip@[email protected]

* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile:
- shard-iclb: [PASS][87] -> [SKIP][88] ([i915#3701]) +1 similar issue
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11006/shard-iclb7/igt@[email protected]
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-iclb2/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-render:
- shard-iclb: NOTRUN -> [SKIP][89] ([fdo#109280]) +6 similar issues
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-iclb7/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-render.html

* igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-draw-mmap-cpu:
- shard-kbl: NOTRUN -> [SKIP][90] ([fdo#109271]) +55 similar issues
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-kbl3/igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-draw-mmap-cpu.html

* igt@kms_hdr@bpc-switch:
- shard-skl: [PASS][91] -> [FAIL][92] ([i915#1188])
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11006/shard-skl6/igt@[email protected]
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-skl10/igt@[email protected]

* igt@kms_multipipe_modeset@basic-max-pipe-crc-check:
- shard-tglb: NOTRUN -> [SKIP][93] ([i915#1839])
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-tglb8/igt@[email protected]

* igt@kms_plane_alpha_blend@pipe-a-constant-alpha-min:
- shard-skl: NOTRUN -> [FAIL][94] ([fdo#108145] / [i915#265]) +1 similar issue
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-skl1/igt@[email protected]

* igt@kms_plane_alpha_blend@pipe-c-alpha-transparent-fb:
- shard-skl: NOTRUN -> [FAIL][95] ([i915#265])
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-skl4/igt@[email protected]

* igt@kms_plane_lowres@pipe-c-tiling-y:
- shard-iclb: NOTRUN -> [SKIP][96] ([i915#3536])
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-iclb7/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][97] ([i915#3536])
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-tglb8/igt@[email protected]

* igt@kms_psr2_sf@overlay-plane-update-continuous-sf:
- shard-apl: NOTRUN -> [SKIP][98] ([fdo#109271] / [i915#658])
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-apl6/igt@[email protected]

* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area:
- shard-tglb: NOTRUN -> [SKIP][99] ([i915#2920])
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-tglb3/igt@[email protected]

* igt@kms_psr2_sf@plane-move-sf-dmg-area:
- shard-iclb: NOTRUN -> [SKIP][100] ([fdo#111068] / [i915#658])
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-iclb7/igt@[email protected]

* igt@kms_psr@psr2_cursor_mmap_gtt:
- shard-tglb: NOTRUN -> [FAIL][101] ([i915#132] / [i915#3467]) +1 similar issue
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-tglb3/igt@kms_psr@psr2_cursor_mmap_gtt.html

* igt@kms_psr@psr2_primary_blt:
- shard-iclb: [PASS][102] -> [SKIP][103] ([fdo#109441])
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11006/shard-iclb2/igt@kms_psr@psr2_primary_blt.html
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-iclb7/igt@kms_psr@psr2_primary_blt.html

* igt@kms_setmode@basic:
- shard-apl: [PASS][104] -> [FAIL][105] ([i915#31])
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11006/shard-apl3/igt@[email protected]
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-apl2/igt@[email protected]

* igt@kms_writeback@writeback-fb-id:
- shard-kbl: NOTRUN -> [SKIP][106] ([fdo#109271] / [i915#2437])
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-kbl7/igt@[email protected]

* igt@kms_writeback@writeback-pixel-formats:
- shard-skl: NOTRUN -> [SKIP][107] ([fdo#109271] / [i915#2437])
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/shard-skl4/igt@[email protected]

* igt@nouveau_crc@pipe-a-source-rg:
- shard-tglb: NOTRUN -> [SKIP][108] ([i915#2530])
[108]: https://intel-gfx-ci.01.

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21857/index.html

Acked-by on v2 1/1
#4 lore raw
In reply to Lucas De Marchi
Quoted 6 lines · Lucas De Marchi

From: Clint Taylor <[email protected]>

Read OPROM SPI through MMIO and find VBT entry since we can't use OpRegion and PCI mapping may not work on some systems due to most BIOSes not leaving the Option ROM mapped.

Quoted 7 lines

v2: Remove message with allocation failure

Quoted 131 lines
---
 drivers/gpu/drm/i915/display/intel_bios.c | 77 +++++++++++++++++++++--
 drivers/gpu/drm/i915/i915_reg.h           |  8 +++
 2 files changed, 79 insertions(+), 6 deletions(-)
drivers/gpu/drm/i915/display/intel_bios.c +71 -6
index 9d989c9f5da4..76a8f001f4c4 100644
@@ -2335,6 +2335,63 @@ bool intel_bios_is_valid_vbt(const void *buf, size_t size)
 	return vbt;
 }
 
+static struct vbt_header *spi_oprom_get_vbt(struct drm_i915_private *i915)
+{
+	u32 count, data, found, store = 0;
+	u32 static_region, oprom_offset;
+	u32 oprom_size = 0x200000;
+	u16 vbt_size;
+	u32 *vbt;
+
+	static_region = intel_uncore_read(&i915->uncore, SPI_STATIC_REGIONS);
+	static_region &= OPTIONROM_SPI_REGIONID_MASK;
+	intel_uncore_write(&i915->uncore, PRIMARY_SPI_REGIONID, static_region);
+
+	oprom_offset = intel_uncore_read(&i915->uncore, OROM_OFFSET);
+	oprom_offset &= OROM_OFFSET_MASK;
+
+	for (count = 0; count < oprom_size; count += 4) {
+		intel_uncore_write(&i915->uncore, PRIMARY_SPI_ADDRESS, oprom_offset + count);
+		data = intel_uncore_read(&i915->uncore, PRIMARY_SPI_TRIGGER);
+
+		if (data == *((const u32 *)"$VBT")) {
+			found = oprom_offset + count;
+			break;
+		}
+	}
+
+	if (count >= oprom_size)
+		goto err_not_found;
+
+	/* Get VBT size and allocate space for the VBT */
+	intel_uncore_write(&i915->uncore, PRIMARY_SPI_ADDRESS, found +
+		   offsetof(struct vbt_header, vbt_size));
+	vbt_size = intel_uncore_read(&i915->uncore, PRIMARY_SPI_TRIGGER);
+	vbt_size &= 0xffff;
+
+	vbt = kzalloc(vbt_size, GFP_KERNEL);
+	if (!vbt)
+		goto err_not_found;
+
+	for (count = 0; count < vbt_size; count += 4) {
+		intel_uncore_write(&i915->uncore, PRIMARY_SPI_ADDRESS, found + count);
+		data = intel_uncore_read(&i915->uncore, PRIMARY_SPI_TRIGGER);
+		*(vbt + store++) = data;
+	}
+
+	if (!intel_bios_is_valid_vbt(vbt, vbt_size))
+		goto err_free_vbt;
+
+	drm_dbg_kms(&i915->drm, "Found valid VBT in SPI flash\n");
+
+	return (struct vbt_header *)vbt;
+
+err_free_vbt:
+	kfree(vbt);
+err_not_found:
+	return NULL;
+}
+
 static struct vbt_header *oprom_get_vbt(struct drm_i915_private *i915)
 {
 	struct pci_dev *pdev = to_pci_dev(i915->drm.dev);
@@ -2384,6 +2441,8 @@ static struct vbt_header *oprom_get_vbt(struct drm_i915_private *i915)
 
 	pci_unmap_rom(pdev, oprom);
 
+	drm_dbg_kms(&i915->drm, "Found valid VBT in PCI ROM\n");
+
 	return vbt;
 
 err_free_vbt:
@@ -2418,17 +2477,23 @@ void intel_bios_init(struct drm_i915_private *i915)
 
 	init_vbt_defaults(i915);
 
-	/* If the OpRegion does not have VBT, look in PCI ROM. */
+	/*
+	 * If the OpRegion does not have VBT, look in SPI flash through MMIO or
+	 * PCI mapping
+	 */
+	if (!vbt && IS_DGFX(i915)) {
+		oprom_vbt = spi_oprom_get_vbt(i915);
+		vbt = oprom_vbt;
+	}
+
 	if (!vbt) {
 		oprom_vbt = oprom_get_vbt(i915);
-		if (!oprom_vbt)
-			goto out;
-
 		vbt = oprom_vbt;
-
-		drm_dbg_kms(&i915->drm, "Found valid VBT in PCI ROM\n");
 	}
 
+	if (!vbt)
+		goto out;
+
 	bdb = get_bdb_header(vbt);
 	i915->vbt.version = bdb->version;
 
drivers/gpu/drm/i915/i915_reg.h +8 -0
index 698a023e70f5..3240b3eb1ddd 100644
@@ -12974,6 +12974,14 @@ enum skl_power_gate {
 #define  TCSS_DDI_STATUS_HPD_LIVE_STATUS_TBT	REG_BIT(1)
 #define  TCSS_DDI_STATUS_HPD_LIVE_STATUS_ALT	REG_BIT(0)
 
+#define PRIMARY_SPI_TRIGGER			_MMIO(0x102040)
+#define PRIMARY_SPI_ADDRESS			_MMIO(0x102080)
+#define PRIMARY_SPI_REGIONID			_MMIO(0x102084)
+#define SPI_STATIC_REGIONS			_MMIO(0x102090)
+#define   OPTIONROM_SPI_REGIONID_MASK		REG_GENMASK(7, 0)
+#define OROM_OFFSET				_MMIO(0x1020c0)
+#define   OROM_OFFSET_MASK			REG_GENMASK(20, 16)
+
 /* This register controls the Display State Buffer (DSB) engines. */
 #define _DSBSL_INSTANCE_BASE		0x70B00
 #define DSBSL_INSTANCE(pipe, id)	(_DSBSL_INSTANCE_BASE + \
Signature · 1 line
Jani Nikula, Intel Open Source Graphics Center