Summary: | [CI][BAT] kernel BUG at drivers/gpu/drm/i915/i915_gem_object.h:444! , invalid opcode: 0000 | ||
---|---|---|---|
Product: | DRI | Reporter: | Martin Peres <martin.peres> |
Component: | DRM/Intel | Assignee: | Intel GFX Bugs mailing list <intel-gfx-bugs> |
Status: | CLOSED FIXED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | intel-gfx-bugs |
Version: | XOrg git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | ReadyForDev | ||
i915 platform: | CNL, ICL | i915 features: | GEM/Other |
Description
Martin Peres
2018-07-23 13:44:10 UTC
Afaict, it's a GEM_BUG_ON(!tiling) after i915_gem_object_is_tiled(). Doesn't make much sense. Also seen on CNL: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_4540/fi-cnl-psr/igt@drv_selftest@live_objects.html [ 621.782060] i915_gem_tile_height:444 GEM_BUG_ON(!tiling) [ 621.782092] ------------[ cut here ]------------ [ 621.782094] kernel BUG at drivers/gpu/drm/i915/i915_gem_object.h:444! [ 621.782114] invalid opcode: 0000 [#1] PREEMPT SMP PTI [ 621.782122] CPU: 2 PID: 9039 Comm: drv_selftest Tainted: G U 4.18.0-rc6-CI-CI_DRM_4540+ #1 [ 621.782131] Hardware name: Intel Corporation CannonLake Client Platform/CannonLake Y LPDDR4 RVP, BIOS CNLSFWR1.R00.X114.B11.1712190231 12/19/2017 [ 621.782192] RIP: 0010:check_partial_mapping+0x721/0x760 [i915] [ 621.782198] Code: 9e 38 c6 e0 48 8b 35 46 3f 1c 00 49 c7 c0 83 3f 5a a0 b9 bc 01 00 00 48 c7 c2 50 a4 58 a0 48 c7 c7 0c 6d 49 a0 e8 5f c9 cc e0 <0f> 0b 41 89 c6 89 c6 48 c7 c7 88 ca 5b a0 e8 65 38 c6 e0 44 89 74 [ 621.782255] RSP: 0018:ffffc9000057ba28 EFLAGS: 00010282 [ 621.782261] RAX: 0000000000000009 RBX: 00000000000666ef RCX: 0000000000000000 [ 621.782268] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 621.782275] RBP: 0000000000000000 R08: ffffffffa05a3f83 R09: 0000000000000000 [ 621.782282] R10: ffff88019ddb5000 R11: 0000000000000000 R12: 0000000000000000 [ 621.782289] R13: 0000000000000000 R14: 00000000000000ef R15: ffff88019fe88b80 [ 621.782296] FS: 00007f0077435980(0000) GS:ffff880271100000(0000) knlGS:0000000000000000 [ 621.782304] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 621.782310] CR2: 00007ffd090c6ff8 CR3: 00000001ca128001 CR4: 0000000000760ee0 [ 621.782316] PKRU: 55555554 [ 621.782320] Call Trace: [ 621.782365] igt_partial_tiling+0x110/0x570 [i915] [ 621.782374] ? __trace_bprintk+0x57/0x80 [ 621.782422] __i915_subtests+0x5e/0xf0 [i915] [ 621.782469] __run_selftests+0x10b/0x190 [i915] [ 621.782515] i915_live_selftests+0x2c/0x60 [i915] [ 621.782552] i915_pci_probe+0x50/0xa0 [i915] [ 621.782559] pci_device_probe+0xa1/0x130 [ 621.782566] driver_probe_device+0x306/0x480 [ 621.782572] __driver_attach+0xdb/0x100 [ 621.782577] ? driver_probe_device+0x480/0x480 [ 621.782583] ? driver_probe_device+0x480/0x480 [ 621.782589] bus_for_each_dev+0x74/0xc0 [ 621.782596] bus_add_driver+0x15f/0x250 [ 621.782601] ? 0xffffffffa06c3000 [ 621.782606] driver_register+0x56/0xe0 [ 621.782611] ? 0xffffffffa06c3000 [ 621.782616] do_one_initcall+0x58/0x370 [ 621.782623] ? do_init_module+0x1d/0x1ea [ 621.782629] ? rcu_read_lock_sched_held+0x6f/0x80 [ 621.782636] ? kmem_cache_alloc_trace+0x282/0x2e0 [ 621.782643] do_init_module+0x56/0x1ea [ 621.782649] load_module+0x2435/0x2b20 [ 621.782659] ? __se_sys_finit_module+0xd3/0xf0 [ 621.782665] __se_sys_finit_module+0xd3/0xf0 [ 621.782673] do_syscall_64+0x55/0x190 [ 621.782680] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 621.782686] RIP: 0033:0x7f0076d02839 [ 621.782690] Code: 00 f3 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 1f f6 2c 00 f7 d8 64 89 01 48 [ 621.782748] RSP: 002b:00007ffee5115768 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 621.782756] RAX: ffffffffffffffda RBX: 0000555c309aeb30 RCX: 00007f0076d02839 [ 621.782763] RDX: 0000000000000000 RSI: 0000555c309af7e0 RDI: 0000000000000004 [ 621.782770] RBP: 0000555c309af7e0 R08: 0000000000000004 R09: 0000000000000000 [ 621.782776] R10: 00007ffee51158e0 R11: 0000000000000246 R12: 0000000000000000 [ 621.782783] R13: 0000555c309a5c20 R14: 0000000000000020 R15: 000000000000003b [ 621.782792] Modules linked in: i915(+) vgem snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec snd_hwdep snd_hda_core x86_pkg_temp_thermal coretemp crct10dif_pclmul crc32_pclmul e1000e ghash_clmulni_intel snd_pcm mei_me mei prime_numbers [last unloaded: i915] [ 621.782829] Dumping ftrace buffer: [ 621.782835] (ftrace buffer empty) [ 621.782851] ---[ end trace 6b77e728eeb06f37 ]--- [ 622.059412] RIP: 0010:check_partial_mapping+0x721/0x760 [i915] [ 622.059520] Code: 9e 38 c6 e0 48 8b 35 46 3f 1c 00 49 c7 c0 83 3f 5a a0 b9 bc 01 00 00 48 c7 c2 50 a4 58 a0 48 c7 c7 0c 6d 49 a0 e8 5f c9 cc e0 <0f> 0b 41 89 c6 89 c6 48 c7 c7 88 ca 5b a0 e8 65 38 c6 e0 44 89 74 [ 622.059759] RSP: 0018:ffffc9000057ba28 EFLAGS: 00010282 [ 622.059765] RAX: 0000000000000009 RBX: 00000000000666ef RCX: 0000000000000000 [ 622.059773] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 622.059780] RBP: 0000000000000000 R08: ffffffffa05a3f83 R09: 0000000000000000 [ 622.059876] R10: ffff88019ddb5000 R11: 0000000000000000 R12: 0000000000000000 [ 622.059884] R13: 0000000000000000 R14: 00000000000000ef R15: ffff88019fe88b80 [ 622.059891] FS: 00007f0077435980(0000) GS:ffff880271180000(0000) knlGS:0000000000000000 [ 622.059989] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 622.059995] CR2: 00007fb39370e000 CR3: 00000001ca128001 CR4: 0000000000760ee0 [ 622.060002] PKRU: 55555554 commit 406bc5633c6b1c7e7a86230db312ee34e785a8f1 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Thu Jul 26 11:47:59 2018 +0100 drm/i915: Avoid computing tile_row_size() for untiled objects i915_gem_tile_height() asserts that the object is tiled, but inside the error printer for the selftest we computed the row size regardless of tiling, tripping over the assert. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180726104759.8684-1-ch ris@chris-wilson.co.uk Martin, OK to close? Occurred daily, then not anymore for 11 days - closing. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.