Bug 199315

Summary: [i915] Could not determine valid watermarks for inherited state
Product: Drivers Reporter: fademind
Component: Video(Other)Assignee: drivers_video-other
Status: RESOLVED INVALID    
Severity: normal CC: fademind
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 4.17.r180407.f605ba9-1 Subsystem:
Regression: No Bisected commit-id:
Attachments: dmesg

Description fademind 2018-04-07 11:49:43 UTC
Created attachment 275149 [details]
dmesg

Manjaro Linux x86_64

[fademind@manjaro ~]$ pacman -Q|grep linux417
linux417 4.17.r180407.f605ba9-1
linux417-bbswitch 0.8-0.2
linux417-nvidia 1:390.48-0.2
linux417-r8168 8.045.08-0.2
[fademind@manjaro ~]$ 


Development version of kernel have some regression in i915:

00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
        Subsystem: ASUSTeK Computer Inc. 3rd Gen Core processor Graphics Controller [1043:1447]
        Kernel driver in use: i915
        Kernel modules: i915

Coredump CUT PART from dmesg


```
[    0.660493] hctosys: unable to open rtc device (rtc0)
[    0.664071] Freeing unused kernel memory: 1456K
[    0.664072] Write protecting the kernel read-only data: 16384k
[    0.665145] Freeing unused kernel memory: 2016K
[    0.668612] Freeing unused kernel memory: 760K
[    0.710475] Linux agpgart interface v0.103
[    0.751937] checking generic (d0000000 300000) vs hw (d0000000 10000000)
[    0.751939] fb: switching to inteldrmfb from EFI VGA
[    0.751955] Console: switching to colour dummy device 80x25
[    0.752030] [drm] Replacing VGA console driver
[    0.755096] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    0.755097] [drm] Driver supports precise vblank timestamp query.
[    0.756627] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
[    0.777631] ------------[ cut here ]------------
[    0.777633] Could not determine valid watermarks for inherited state
[    0.777714] WARNING: CPU: 3 PID: 161 at drivers/gpu/drm/i915/intel_display.c:14584 intel_modeset_init+0x3ce/0x19d0 [i915]
[    0.777715] Modules linked in: i915(+) intel_gtt i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm agpgart lz4 lz4_compress
[    0.777729] CPU: 3 PID: 161 Comm: modprobe Not tainted 4.17.0-1-MANJARO #1
[    0.777731] Hardware name: ASUSTeK COMPUTER INC. K55VM/K55VM, BIOS K55VM.211 09/11/2012
[    0.777786] RIP: 0010:intel_modeset_init+0x3ce/0x19d0 [i915]
[    0.777787] RSP: 0018:ffffa32381223a58 EFLAGS: 00010286
[    0.777790] RAX: 0000000000000000 RBX: ffff8fcf628a8000 RCX: 0000000000000001
[    0.777791] RDX: 0000000080000001 RSI: 0000000000000096 RDI: 00000000ffffffff
[    0.777792] RBP: ffff8fcf63647c00 R08: 0000000000000048 R09: 0000000000000286
[    0.777794] R10: ffffa32381223898 R11: 0000000000000001 R12: ffff8fcf633dc800
[    0.777795] R13: 00000000ffffffea R14: 0000000000000000 R15: ffff8fcf628a8358
[    0.777797] FS:  00007f05e638cb80(0000) GS:ffff8fcf6eec0000(0000) knlGS:0000000000000000
[    0.777799] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    0.777800] CR2: 00007f1fb5aa3f70 CR3: 000000022306a006 CR4: 00000000001606e0
[    0.777801] Call Trace:
[    0.777856]  i915_driver_load+0xacc/0x1040 [i915]
[    0.777862]  ? acpi_dev_found+0x5f/0x70
[    0.777866]  local_pci_probe+0x42/0xa0
[    0.777869]  ? pci_match_device+0xd9/0x100
[    0.777872]  pci_device_probe+0x146/0x1b0
[    0.777877]  driver_probe_device+0x30b/0x480
[    0.777881]  __driver_attach+0xb8/0xe0
[    0.777883]  ? driver_probe_device+0x480/0x480
[    0.777885]  ? driver_probe_device+0x480/0x480
[    0.777887]  bus_for_each_dev+0x76/0xc0
[    0.777890]  bus_add_driver+0x161/0x260
[    0.777893]  ? 0xffffffffc031e000
[    0.777895]  driver_register+0x57/0xc0
[    0.777897]  ? 0xffffffffc031e000
[    0.777902]  do_one_initcall+0x4e/0x190
[    0.777908]  ? kmem_cache_alloc_trace+0xbc/0x1d0
[    0.777912]  ? do_init_module+0x22/0x205
[    0.777916]  do_init_module+0x5b/0x205
[    0.777919]  load_module+0x26e7/0x2b80
[    0.777925]  ? vfs_read+0x117/0x130
[    0.777930]  ? SyS_finit_module+0xd8/0xf0
[    0.777932]  SyS_finit_module+0xd8/0xf0
[    0.777937]  do_syscall_64+0x74/0x190
[    0.777943]  entry_SYSCALL_64_after_hwframe+0x3d/0xa2
[    0.777945] RIP: 0033:0x7f05e5a69879
[    0.777946] RSP: 002b:00007ffc092ccd38 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[    0.777949] RAX: ffffffffffffffda RBX: 00000000007afe00 RCX: 00007f05e5a69879
[    0.777950] RDX: 0000000000000000 RSI: 00000000007b2290 RDI: 000000000000000c
[    0.777951] RBP: 00000000007b2290 R08: 0000000000000000 R09: 0000000000000000
[    0.777952] R10: 000000000000000c R11: 0000000000000246 R12: 0000000000000000
[    0.777954] R13: 00000000007afce0 R14: 0000000000060000 R15: 0000000000000000
[    0.777956] Code: 00 f7 c6 00 00 18 00 0f 84 3b 0d 00 00 85 c9 0f 94 c1 41 88 8c 24 8d 02 00 00 e9 5a 0b 00 00 48 c7 c7 80 30 26 c0 e8 92 15 ec ec <0f> 0b f0 41 ff 0c 24 0f 88 f9 1c 07 00 75 08 4c 89 e7 e8 0b 59 
[    0.778000] ---[ end trace 472667ba82168aa3 ]---
[    0.784096] [drm] Initialized i915 1.6.0 20180308 for 0000:00:02.0 on minor 0
[    0.784336] ACPI: Video Device [PEGP] (multi-head: yes  rom: yes  post: no)
[    0.785714] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:02/LNXVIDEO:00/input/input3
[    0.787934] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[    0.795094] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:01/input/input4
[    0.811283] fbcon: inteldrmfb (fb0) is primary device
[    1.523413] Console: switching to colour frame buffer device 170x48
[    1.544740] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[    1.605066] i8042: PNP: PS/2 Controller [PNP030b:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12
[    1.606915] i8042: Detected active multiplexing controller, rev 1.1

```