Skip to contentSkip to conversation

drm/i915/dg2: Use I915_BO_ALLOC_CONTIGUOUS flag for DPT

PATCH In review Stanislav Lisovskiy 3 participants 4 messages Dec 9, 2021 – Mar 3, 2022

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

PATCH 1/1 drm/i915/dg2: Use I915_BO_ALLOC_CONTIGUOUS flag for DPT

Do mapping using CONTIGUOUS flag - otherwise
i915_gem_object_is_contiguous warn is triggered.

---
 drivers/gpu/drm/i915/display/intel_dpt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/display/intel_dpt.c +1 -1
index 963ca7155b06..f66346dcf2d8 100644
@@ -244,7 +244,7 @@ intel_dpt_create(struct intel_framebuffer *fb)
 	size = round_up(size * sizeof(gen8_pte_t), I915_GTT_PAGE_SIZE);
 
 	if (HAS_LMEM(i915))
-		dpt_obj = i915_gem_object_create_lmem(i915, size, 0);
+		dpt_obj = i915_gem_object_create_lmem(i915, size, I915_BO_ALLOC_CONTIGUOUS);
 	else
 		dpt_obj = i915_gem_object_create_stolen(i915, size);
 	if (IS_ERR(dpt_obj))
Signature · 1 line
2.24.1.485.gad05a3d8e5
#1 lore raw

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/dg2: Use I915_BO_ALLOC_CONTIGUOUS flag for DPT

== Series Details ==

== Series Details ==

Series: drm/i915/dg2: Use I915_BO_ALLOC_CONTIGUOUS flag for DPT
URL : https://patchwork.freedesktop.org/series/97806/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_10984 -> Patchwork_21801
====================================================

Summary
-------

**FAILURE**

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

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

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

Participating hosts (44 -> 35)
------------------------------

Additional (2): fi-kbl-soraka fi-tgl-u2
Missing (11): fi-ilk-m540 bat-dg1-6 fi-hsw-4200u fi-icl-u2 fi-bsw-cyan bat-adlp-6 bat-adlp-4 fi-ctg-p8600 fi-pnv-d510 bat-jsl-2 fi-bdw-samus

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

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

### IGT changes ###

#### Possible regressions ####

* igt@gem_exec_suspend@basic-s0:
- fi-kbl-soraka: NOTRUN -> [INCOMPLETE][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21801/fi-kbl-soraka/igt@[email protected]

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

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

### IGT changes ###

#### Issues hit ####

* igt@core_hotunplug@unbind-rebind:
- fi-tgl-u2: NOTRUN -> [INCOMPLETE][2] ([i915#4006])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21801/fi-tgl-u2/igt@[email protected]

* igt@gem_exec_fence@basic-busy@bcs0:
- fi-kbl-soraka: NOTRUN -> [SKIP][3] ([fdo#109271]) +2 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21801/fi-kbl-soraka/igt@gem_exec_fence@[email protected]

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

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

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

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

* igt@kms_force_connector_basic@force-load-detect:
- fi-tgl-u2: NOTRUN -> [SKIP][8] ([fdo#109285])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21801/fi-tgl-u2/igt@[email protected]

* igt@prime_vgem@basic-userptr:
- fi-tgl-u2: NOTRUN -> [SKIP][9] ([i915#3301])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21801/fi-tgl-u2/igt@[email protected]

* igt@runner@aborted:
- fi-tgl-u2: NOTRUN -> [FAIL][10] ([i915#2722] / [i915#4312])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21801/fi-tgl-u2/igt@[email protected]

#### Possible fixes ####

* igt@gem_exec_suspend@basic-s0:
- fi-glk-dsi: [DMESG-WARN][11] ([i915#2943]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10984/fi-glk-dsi/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21801/fi-glk-dsi/igt@[email protected]
- fi-tgl-1115g4: [FAIL][13] ([i915#1888]) -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10984/fi-tgl-1115g4/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21801/fi-tgl-1115g4/igt@[email protected]

* igt@i915_pm_rpm@basic-pci-d3-state:
- fi-skl-6600u: [FAIL][15] ([i915#3239]) -> [PASS][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10984/fi-skl-6600u/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21801/fi-skl-6600u/igt@[email protected]

* igt@kms_frontbuffer_tracking@basic:
- fi-cml-u2: [DMESG-WARN][17] ([i915#4269]) -> [PASS][18]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10984/fi-cml-u2/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21801/fi-cml-u2/igt@[email protected]

[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109284]: https://bugs.freedesktop.org/show_bug.cgi?id=109284
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1888]: https://gitlab.freedesktop.org/drm/intel/issues/1888
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2722]: https://gitlab.freedesktop.org/drm/intel/issues/2722
[i915#2943]: https://gitlab.freedesktop.org/drm/intel/issues/2943
[i915#3239]: https://gitlab.freedesktop.org/drm/intel/issues/3239
[i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301
[i915#4006]: https://gitlab.freedesktop.org/drm/intel/issues/4006
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4269]: https://gitlab.freedesktop.org/drm/intel/issues/4269
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613

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

* Linux: CI_DRM_10984 -> Patchwork_21801

CI-20190529: 20190529
CI_DRM_10984: d7b5243a6417de5fc244d7dc45109f6835aa7c88 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6304: ef0df2fbe5847fe5c4426b8a86a0b101588d0586 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_21801: 5d85e4d8308a08c26a1e94d66b80a6f16223be4c @ git://anongit.freedesktop.org/gfx-ci/linux

== Linux commits ==

5d85e4d8308a drm/i915/dg2: Use I915_BO_ALLOC_CONTIGUOUS flag for DPT

== Logs ==

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

Reviewed-by on v1 1/1
#2 lore raw
In reply to Stanislav Lisovskiy
Quoted 5 lines · Stanislav Lisovskiy

Do mapping using CONTIGUOUS flag - otherwise
i915_gem_object_is_contiguous warn is triggered.

As a temporary fix,

Quoted 20 lines
---
 drivers/gpu/drm/i915/display/intel_dpt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/display/intel_dpt.c +1 -2
index 963ca7155b06..f66346dcf2d8 100644
@@ -244,7 +244,7 @@ intel_dpt_create(struct intel_framebuffer *fb)
        size = round_up(size * sizeof(gen8_pte_t), I915_GTT_PAGE_SIZE);
 
        if (HAS_LMEM(i915))
-               dpt_obj = i915_gem_object_create_lmem(i915, size, 0);
+               dpt_obj = i915_gem_object_create_lmem(i915, size, I915_BO_ALLOC_CONTIGUOUS);
        else
                dpt_obj = i915_gem_object_create_stolen(i915, size);
        if (IS_ERR(dpt_obj))
--

2.24.1.485.gad05a3d8e5

#3 lore raw

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/dg2: Use I915_BO_ALLOC_CONTIGUOUS flag for DPT (rev2)

In reply to Stanislav Lisovskiy
== Series Details ==

== Series Details ==

Series: drm/i915/dg2: Use I915_BO_ALLOC_CONTIGUOUS flag for DPT (rev2)
URL : https://patchwork.freedesktop.org/series/97806/
State : failure

== Summary ==

Applying: drm/i915/dg2: Use I915_BO_ALLOC_CONTIGUOUS flag for DPT Using index info to reconstruct a base tree...
M drivers/gpu/drm/i915/display/intel_dpt.c
Falling back to patching base and 3-way merge... Auto-merging drivers/gpu/drm/i915/display/intel_dpt.c No changes -- Patch already applied.