[SRU][B][PATCH 0/3] qxl: hook monitors_config updates into crtc, not encoder.

Dariusz Gadomski dariusz.gadomski at canonical.com
Tue Dec 15 13:48:42 UTC 2020


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

[Impact]
* Ubuntu 18.04 used as a guest in KVM with Spice/QXL in use may lead to a DRM
error displayed during xorg launch:
[drm:qxl_enc_commit [qxl]] *ERROR* head number too large or missing monitors
config:         (ptrval), 0

[Fix]
* 00e5d217fa19bcbec13135898e1b9ca2c1c3e89b qxl: hook monitors_config updates
into crtc, not encoder.

[Test Case]
* Set up Ubuntu 18.04 desktop guest with 4.15-series kernel with Spice/QXL in
KVM. This is known to be reproducible on Ubuntu 20.04 and Centos 7.8 hosts.
* Boot the 18.04 guest and check kern.log/dmesg for the error.

Gerd Hoffmann (3):
  qxl: remove qxl_io_log()
  qxl: move qxl_send_monitors_config()
  qxl: hook monitors_config updates into crtc, not encoder.

 drivers/gpu/drm/qxl/qxl_cmd.c     |  36 +----
 drivers/gpu/drm/qxl/qxl_display.c | 226 ++++++++++++------------------
 drivers/gpu/drm/qxl/qxl_drv.h     |   3 -
 drivers/gpu/drm/qxl/qxl_fb.c      |   2 -
 drivers/gpu/drm/qxl/qxl_irq.c     |   3 +-
 5 files changed, 94 insertions(+), 176 deletions(-)

-- 
2.25.1




More information about the kernel-team mailing list