1. 05 Sep, 2018 1 commit
    • Peter Wu's avatar
      qxl: fix null-pointer crash during suspend · 7948a2b1
      Peter Wu authored
      "crtc->helper_private" is not initialized by the QXL driver and thus the
      "crtc_funcs->disable" call would crash (resulting in suspend failure).
      Fix this by converting the suspend/resume functions to use the
      drm_mode_config_helper_* helpers.
      
      Tested system sleep with QEMU 3.0 using "echo mem > /sys/power/state".
      During suspend the following message is visible from QEMU:
      
          spice/server/display-channel.c:2425:display_channel_validate_surface: canvas address is 0x7fd05da68308 for 0 (and is NULL)
          spice/server/display-channel.c:2426:display_channel_validate_surface: failed on 0
      
      This seems to be triggered by QXL_IO_NOTIFY_CMD after
      QXL_IO_DESTROY_PRIMARY_ASYNC, but aside from the warning things still
      seem to work (tested with both the GTK and -spice options).
      Signed-off-by: default avatarPeter Wu <peter@lekensteyn.nl>
      Link: http://patchwork.freedesktop.org/patch/msgid/20180904202747.14968-1-peter@lekensteyn.nlSigned-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      7948a2b1
  2. 04 Sep, 2018 3 commits
  3. 03 Sep, 2018 14 commits
  4. 31 Aug, 2018 6 commits
  5. 30 Aug, 2018 6 commits
  6. 29 Aug, 2018 3 commits
  7. 27 Aug, 2018 7 commits