Skip to contentSkip to conversation

New: cstates: intel_idle.max_cstate=4 required to eliminate flickering of the display on the laptop model 3Logic Group Graviton N15i-K2

Bug 216163 [email protected] 1 participant 6 messages Jun 22, 2022 x86 platform drivers

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=216163

Bug ID: 216163
Summary: cstates: intel_idle.max_cstate=4 required to eliminate
flickering of the display on the laptop model 3Logic Group Graviton N15i-K2
Product: Drivers
Version: 2.5
Kernel Version: v5.18
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Platform_x86
Assignee: [email protected]
Reporter: [email protected]
Regression: No

Created attachment 301249
--> https://bugzilla.kernel.org/attachment.cgi?id=301249&action=edit
Limiting the list of states for the model processor INTEL_FAM6_KABYLAKE_L

After booting the system almost immediately (it takes less than 1 minute), there are short-term shutdowns of the display (up to 3 seconds). The problem disappears if I load the kernel with the parameter intel_idle.max_cstate=4.

While debugging the kernel, I determined that the processor model ID is 0x8E, defined a macro in the header file /arch/x86/include/asm/intel-family.h :

...

#define INTEL_FAM6_KABYLAKE_L           0x8E    /* Sky Lake             */
/*                 AMBERLAKE_L          0x8E       Sky Lake -- s: 9     */
/*                 COFFEELAKE_L         0x8E       Sky Lake -- s: 10    */
/*                 WHISKEYLAKE_L        0x8E       Sky Lake -- s: 11,12 */

...

And I created a patch with a reduced number of states (4 states) of downtime for this model, which works successfully.

I am attaching a patch and asking you to consider the feasibility of such a solution.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#1 lore raw

[Bug 216163] cstates: intel_idle.max_cstate=4 required to eliminate flickering of the display on the laptop model 3Logic Group Graviton N15i-K2

https://bugzilla.kernel.org/show_bug.cgi?id=216163

Vasiliy Kovalev ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Vasiliy Kovalev ([email protected]) --- Created attachment 301250
--> https://bugzilla.kernel.org/attachment.cgi?id=301250&action=edit
dmesg

dmesg

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#2 lore raw

[Bug 216163] cstates: intel_idle.max_cstate=4 required to eliminate flickering of the display on the laptop model 3Logic Group Graviton N15i-K2

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=216163

--- Comment #2 from Vasiliy Kovalev ([email protected]) --- Created attachment 301251
--> https://bugzilla.kernel.org/attachment.cgi?id=301251&action=edit
/proc/cpuinfo

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#3 lore raw

[Bug 216163] cstates: intel_idle.max_cstate=4 required to eliminate flickering of the display on the laptop model 3Logic Group Graviton N15i-K2

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=216163

--- Comment #3 from Vasiliy Kovalev ([email protected]) --- Created attachment 301252
--> https://bugzilla.kernel.org/attachment.cgi?id=301252&action=edit
lspci

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#4 lore raw

[Bug 216163] cstates: intel_idle.max_cstate=4 required to eliminate flickering of the display on the laptop model 3Logic Group Graviton N15i-K2

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=216163

--- Comment #4 from Vasiliy Kovalev ([email protected]) --- Similar problems:

https://bugzilla.redhat.com/show_bug.cgi?id=1506339

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1958191

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#5 lore raw

[Bug 216163] cstates: intel_idle.max_cstate=4 required to eliminate flickering of the display on the laptop model 3Logic Group Graviton N15i-K2

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=216163

Hans de Goede ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
                   |                            |g
         Resolution|---                         |MOVED

--- Comment #5 from Hans de Goede ([email protected]) --- This sounds like it is an issue with panel-self-refresh mode, which is an i915 driver issue.

Please file a bug against the i915 kernel driver for this following this document:
https://gitlab.freedesktop.org/drm/intel/-/wikis/How-to-file-i915-bugs

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.