DG2 mess screen after s2idle on discrete mode
Intel DG2 works fine on when DISPLAY mode is set as hybrid mode in BIOS on ThinkPad P16.
Set it to discrete mode, iGPU is disabled, after s2idle the screen is messy,
sometimes screen is flicking as off/on, sometimes there are snowflake spots in horizontal stripes on screen.
Test environment:
kernel: 6.6.0
i915-firmware: copy from linux-firmware 20231030 commit 44a9510c94ac0334931b6c89dd240ffe5bf1e5fa
display server: wayland and xorg on gnome 42.5
DG2: 03:00.0 VGA compatible controller [0300]: Intel Corporation Device [8086:56b0] (rev 05) (prog-if 00 [VGA controller]) Subsystem: Lenovo Device [17aa:2308] Flags: bus master, fast devsel, latency 0, IRQ 196, IOMMU group 15 Memory at b9000000 (64-bit, non-prefetchable) [size=16M] Memory at 4000000000 (64-bit, prefetchable) [size=4G] Expansion ROM at [disabled] Capabilities: [40] Vendor Specific Information: Len=0c <?> Capabilities: [70] Express Endpoint, MSI 00 Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable+ 64bit+ Capabilities: [d0] Power Management version 3 Capabilities: [100] Alternative Routing-ID Interpretation (ARI) Capabilities: [420] Physical Resizable BAR Capabilities: [400] Latency Tolerance Reporting Kernel driver in use: i915 Kernel modules: i915
dmesg when issue is happened: dg2-linux-6.6-fw20231013-screen-off-on-after-s2idle-dmesg-drm0x10e.txt
screenshot: dg2-screen-mess