wlroots-hyprland/backend/drm
Simon Ser c3743364e2 backend/drm: ensure CRTC is set up in drm_connector_state_init()
In [1] we discovered a bug where wlr_drm_connector_state.primary_fb
would not be set up correctly because drm_connector_alloc_crtc() was
called after drm_connector_state_init(). This is tricky to discover,
so instead assert() that we have a usable CRTC by the time
drm_connector_state_init() is called.

[1]: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4569
2024-03-04 14:42:11 +00:00
..
atomic.c backend/drm: track cursor FB in wlr_drm_connector_state 2024-03-04 11:26:20 +01:00
backend.c backend/drm: move restore logic to drm.c 2024-02-15 09:37:46 +01:00
drm.c backend/drm: ensure CRTC is set up in drm_connector_state_init() 2024-03-04 14:42:11 +00:00
fb.c backend/drm: add drm_fb_copy() 2024-03-04 11:25:33 +01:00
gen_pnpids.sh backend/drm: use libdisplay-info to parse EDID 2023-02-28 14:44:02 +00:00
legacy.c backend/drm: track cursor FB in wlr_drm_connector_state 2024-03-04 11:26:20 +01:00
libliftoff.c backend/drm: track cursor FB in wlr_drm_connector_state 2024-03-04 11:26:20 +01:00
meson.build backend/drm: split wlr_drm_fb related functions into separate file 2023-11-30 14:44:46 +00:00
monitor.c backend/drm: drop wl_display argument 2024-01-25 15:05:36 +00:00
properties.c Define _POSIX_C_SOURCE globally 2024-02-15 15:41:12 +01:00
renderer.c allocator: remove backend parameter in allocator_autocreate_with_drm_fd 2024-02-02 16:36:31 -05:00
util.c Define _POSIX_C_SOURCE globally 2024-02-15 15:41:12 +01:00