diff options
author | Simon Ser <contact@emersion.fr> | 2022-12-13 12:34:46 +0100 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2022-12-13 19:12:12 +0000 |
commit | ea14e9c95f2242b0bfc614cb4622c08d0f1c0489 (patch) | |
tree | 36963ebb03198deb00f0b799dbee9dfae3bb1acf /include/wlr/backend/interface.h | |
parent | e59c3602f702275fe6ee9eb7519209ff9c46b6b6 (diff) |
backend/drm: update wlr_drm_connnector.crtc in drm_connector_commit_state()
If the commit fails, then our local state becomes out-of-sync with
the kernel's. Additionally, when disabling a connector without going
through dealloc_crtc(), conn->crtc would still be set.
Fix this by updating conn->crtc in drm_connector_commit_state().
Diffstat (limited to 'include/wlr/backend/interface.h')
0 files changed, 0 insertions, 0 deletions