Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • xserver xserver
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 922
    • Issues 922
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 129
    • Merge requests 129
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • xorgxorg
  • xserverxserver
  • Merge requests
  • !797

xf86/logind: Fix drm_drop_master before vt_reldisp

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Jocelyn Falempe requested to merge jocelyn/xserver:fix_vtswitch_drm_drop_master into master Nov 18, 2021
  • Overview 16
  • Commits 2
  • Pipelines 7
  • Changes 3

xf86/logind: Fix drm_drop_master before vt_reldisp

When switching to VT, the ioctl DRM_DROP_MASTER must be done before the ioctl VT_RELDISP. So before doing the VT_RELDISP, send a dbus message to logind, to pause the drm device, so logind will do the ioctl DRM_DROP_MASTER.

With this patch, it changes the order logind will send the resume event, and drm will be sent last instead of first. So there is a also fix to call systemd_logind_vtenter() at the right time.

Edited Nov 18, 2021 by Jocelyn Falempe
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix_vtswitch_drm_drop_master