[SRU] [PULL] [Unstable] [PATCH 00/14] Fix screen that remains blank forever after it gets locked

Kai-Heng Feng kai.heng.feng at canonical.com
Fri Mar 3 14:40:47 UTC 2023


BugLink: https://bugs.launchpad.net/bugs/2009164

[Impact]
Once screen is locked under gnome-shell, the screen never wakes up and
remains in blank forever.

[Fix]
"drm/i915: Create resized LUTs for ivb+ split gamma mode" makes gamma
LUT operations in atomic context, so userspace can no longer misuse libdrm.

"drm/i915: Rework legacy LUT handling" starts to use the reworked gamma
LUT.

Pull the whole series and series they depends upon to properly support
gamma LUT.

[Test]
The easier way to reproduce the issue is to
1) Login under Wayland
2) Logout and login under X
3) Go back to wayland
4) Super + L to screenlock

With the LUT reworked series applied, screen can always come back alive.

[Where problems could occur]
Regression can happen on refactoring patches with "no functional change
intended", let alone overhauls like this one.

So only OEM-6.1 and Unstable are targeted to contain the potential
regression.

----------------------------------------------------------------

The following changes since commit 2dccd65316cb9153dbe0c5d953df0a2766a5f340:

  wifi: mt76: mt7921: fix error code of return in mt7921_acpi_read (2023-03-03 08:30:27 +0100)

are available in the Git repository at:

  git+ssh://kaihengfeng@git.launchpad.net/~kaihengfeng/+git/linux tags/lp2006667-unstable

for you to fetch changes up to 62e22fd796e870acc86031aa3be3be5cc074ea7b:

  drm/i915: Add 10bit gamma mode for gen2/3 (2023-03-03 22:27:44 +0800)

----------------------------------------------------------------
Ville Syrjälä (14):
      drm/i915: Fix adl+ degamma LUT size
      drm/i915: s/gamma/post_csc_lut/
      drm/i915: Add glk+ degamma readout
      drm/i915: Read out CHV CGM degamma
      drm/i915: Add gamma/degamma readout for bdw+
      drm/i915: Add gamma/degamma readout for ivb/hsw
      drm/i915: Make ilk_read_luts() capable of degamma readout
      drm/i915: Prep for C8 palette readout
      drm/i915: Make .read_luts() mandatory
      drm/i915: Finish the LUT state checker
      drm/i915: Rework legacy LUT handling
      drm/i915: Use hw degamma LUT for sw gamma on glk with YCbCr output
      drm/i915: Use gamma LUT for RGB limited range compression
      drm/i915: Add 10bit gamma mode for gen2/3

 drivers/gpu/drm/i915/display/intel_color.c   | 1041 ++++++++++++++++++++++----
 drivers/gpu/drm/i915/display/intel_color.h   |    8 +-
 drivers/gpu/drm/i915/display/intel_display.c |   33 +-
 drivers/gpu/drm/i915/i915_pci.c              |   12 +-
 drivers/gpu/drm/i915/i915_reg.h              |   14 +
 5 files changed, 928 insertions(+), 180 deletions(-)



More information about the kernel-team mailing list