wlroots/backend/drm
Will Daly 044a9f28d6 Fix error when reconnecting external display
Reconnecting an external display fails on initial
page-flip.  This occurs when the pageflip_pending flag
has been set on the connector at the time the monitor
is removed.  Once the connector's CRTC has been deallocated,
page_flip_handler cannot find the connector by its crtc_id,
so pageflip_pending will remain set.  This causes
initialization to fail when the monitor is reconnected
with the error messages:

    Skipping pageflip on output 'X'
    Failed to initialize renderer on connector 'X': initial page-flip failed

To fix this problem, clear the pageflip_pending flag
when cleaning up the connector.
2020-05-01 16:01:30 +02:00
..
atomic.c backend/drm: move atomic cursor code into pageflip code 2020-04-28 09:54:52 +02:00
backend.c backend/drm: introduce wlr_drm_fb 2020-04-28 09:54:52 +02:00
cvt.c backend/drm: add support for custom modes 2019-10-27 10:46:47 -04:00
drm.c Fix error when reconnecting external display 2020-05-01 16:01:30 +02:00
legacy.c backend/drm: move atomic cursor code into pageflip code 2020-04-28 09:54:52 +02:00
meson.build meson: Various improvements 2019-12-23 07:48:29 -05:00
properties.c backend/drm: add support for adaptive_sync_enabled 2020-03-06 21:32:58 +01:00
renderer.c backend/drm: strip alpha channel if necessary 2020-04-29 08:32:06 +02:00
util.c backend/drm: introduce wlr_drm_fb 2020-04-28 09:54:52 +02:00