backend/drm: Recreate output on EDID change

Some displays change their EDID while connected. The EDID can also
change if the user overrides it. With this change, a new EDID will take
effect immedately after it changes.
This commit is contained in:
Andri Yngvason 2023-10-11 18:38:13 +00:00
parent 2822a40531
commit 52d0d4a773
2 changed files with 29 additions and 8 deletions

View file

@ -161,6 +161,9 @@ struct wlr_drm_connector {
* they're sent.
*/
uint32_t pending_page_flip_crtc;
uint8_t *edid;
size_t edid_len;
};
struct wlr_drm_backend *get_drm_backend_from_backend(