On 10/12/2025 09:25, Borah, Chaitanya Kumar wrote:
Hello Loïc,
Hope you are doing well. I am Chaitanya from the linux graphics team
in Intel.
This mail is regarding a regression we are seeing in our CI runs[1] on
drm-tip repository.
Since the version CI_DRM_17644, we are seeing the following regression
`````````````````````````````````````````````````````````````````````````````````
<4> [392.386571] ------------[ cut here ]------------
<2> [392.386578] kernel BUG at
drivers/gpu/drm/i915/gem/i915_gem_region.c:49!
<4> [392.386597] Oops: invalid opcode: 0000 [#1] SMP NOPTI
<4> [392.386604] CPU: 0 UID: 0 PID: 5710 Comm: i915_selftest Tainted:
G S U W L 6.18.0-CI_DRM_17644-g20a0f6f7ed00+ #1
...
<4> [392.387153] RSP: 0018:ffffc9000142f740 EFLAGS: 00010246
<4> [392.387158] RAX: 0000000000000000 RBX: ffff8882427b8000 RCX:
0000000000000000
<4> [392.387162] RDX: 0000000000000000 RSI: 0000000000000000 RDI:
0000000000000000
<4> [392.387165] RBP: ffffc9000142f770 R08: 0000000000000000 R09:
0000000000000000
<4> [392.387168] R10: 0000000000000000 R11: 0000000000000000 R12:
ffff888144dcb800
<4> [392.387170] R13: ffff8881412b8a40 R14: 0000000000000100 R15:
ffff8882427b8000
<4> [392.387173] FS: 0000702699044940(0000) GS:ffff8888dc8ea000(0000)
knlGS:0000000000000000
<4> [392.387177] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4> [392.387180] CR2: 000058e25b5beef3 CR3: 00000001412d7000 CR4:
0000000000352ef0
<4> [392.387183] Call Trace:
<4> [392.387186] <TASK>
<4> [392.387191] i915_gem_object_create_region+0x1e/0x30 [i915]
<4> [392.387663] igt_tmpfs_fallback+0xaf/0x3c0 [i915]
<4> [392.388109] __i915_subtests+0xb8/0x250 [i915]
<4> [392.388557] ? __pfx___i915_live_teardown+0x10/0x10 [i915]
<4> [392.388981] ? __pfx___i915_live_setup+0x10/0x10 [i915]
<4> [392.389405] ? _printk+0x57/0x80
<4> [392.389413] i915_gem_huge_page_live_selftests+0xac/0xe0 [i915]
<4> [392.389835] __run_selftests+0xc5/0x220 [i915]
<4> [392.390263] i915_live_selftests+0xaa/0x130 [i915]
<4> [392.390688] i915_pci_probe+0x11b/0x220 [i915]
`````````````````````````````````````````````````````````````````````````````````
Details log can be found in [2].
After bisecting the tree, the following patch [3] seems to be the
first "bad" commit
`````````````````````````````````````````````````````````````````````````````````````````````````````````
commit a8a9a590221c1959716277d4b13fe658816afc0e
Author: Loïc Molinari <[email protected]>
Date: Fri Dec 5 19:22:26 2025 +0100
drm/i915: Use huge tmpfs mountpoint helpers
`````````````````````````````````````````````````````````````````````````````````````````````````````````
We also verified that if we revert the patch the issue is not seen.
Could you please check why the patch causes this regression and
provide a fix if necessary?
My bad actually. This should fix it:
diff --git a/drivers/gpu/drm/i915/gem/i915_gem_object_types.h
b/drivers/gpu/drm/i915/gem/i915_gem_object_types.h
index 00f0b0ead053..969f6ea2b855 100644
--- a/drivers/gpu/drm/i915/gem/i915_gem_object_types.h
+++ b/drivers/gpu/drm/i915/gem/i915_gem_object_types.h
@@ -363,6 +363,7 @@ struct drm_i915_gem_object {
I915_BO_ALLOC_PM_EARLY | \
I915_BO_ALLOC_GPU_ONLY | \
I915_BO_ALLOC_CCS_AUX | \
+ I915_BO_ALLOC_NOTHP | \
I915_BO_PREALLOC)
#define I915_BO_READONLY BIT(10)
#define I915_TILING_QUIRK_BIT 11 /* unknown swizzling; do not
release! */
Loic would you mind sending a proper patch with Fixes: etc please?
Regards,
Tvrtko
Thank you.
Regards
Chaitanya
[1]
https://intel-gfx-ci.01.org/tree/drm-tip/combined-alt.html?
[2]
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_17644/bat-jsl-5/igt@i915_selftest@[email protected]#dmesg-warnings394
[3]
https://cgit.freedesktop.org/drm-tip/commit/?id=a8a9a590221c1959716277d4b13fe658816afc0e