System freeze (GPU hang) with i915 driver on Intel UHD 620
i915 driver causes system freeze (GPU hang) on kernel 5.4 series. Kernels 4.19 and 5.5 don't have this issue. Here is a part of journal after GPU hang with kernel 5.4.6-2:
...
Dec 25 14:14:04 andrey-lenovo kernel: i915 0000:00:02.0: GPU HANG: ecode 9:1:0x00000000, hang on rcs0
Dec 25 14:14:04 andrey-lenovo kernel: GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
Dec 25 14:14:04 andrey-lenovo kernel: Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
Dec 25 14:14:04 andrey-lenovo kernel: drm/i915 developers can then reassign to the right component if it's not a kernel issue.
Dec 25 14:14:04 andrey-lenovo kernel: The GPU crash dump is required to analyze GPU hangs, so please always attach it.
Dec 25 14:14:04 andrey-lenovo kernel: GPU crash dump saved to /sys/class/drm/card0/error
Dec 25 14:14:04 andrey-lenovo kernel: i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
Dec 25 14:14:04 andrey-lenovo kernel: [drm:gen8_reset_engines [i915]] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
Dec 25 14:14:04 andrey-lenovo kernel: i915 0000:00:02.0: Resetting chip for hang on rcs0
Dec 25 14:14:04 andrey-lenovo kernel: [drm:gen8_reset_engines [i915]] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
Dec 25 14:14:04 andrey-lenovo kernel: [drm:gen8_reset_engines [i915]] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
Dec 25 14:14:04 andrey-lenovo kernel: [drm] GuC communication enabled
Dec 25 14:14:04 andrey-lenovo kernel: i915 0000:00:02.0: GuC firmware i915/kbl_guc_33.0.0.bin version 33.0 submission:disabled
Dec 25 14:14:04 andrey-lenovo kernel: i915 0000:00:02.0: HuC firmware i915/kbl_huc_ver02_00_1810.bin version 2.0 authenticated:yes
...
System information:
~ >>> inxi -GC
CPU: Topology: Quad Core model: Intel Core i7-8565U bits: 64 type: MT MCP L2 cache: 8192 KiB
Speed: 900 MHz min/max: 400/4600 MHz Core speeds (MHz): 1: 966 2: 1319 3: 1929 4: 1906 5: 3405 6: 3607 7: 1071
8: 2607
Graphics: Device-1: Intel UHD Graphics 620 driver: i915 v: kernel
Display: x11 server: X.Org 1.20.6 driver: modesetting resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa DRI Intel UHD Graphics (Whiskey Lake 3x8 GT2) v: 4.6 Mesa 19.3.1