572 Commits (9e426e70e68cc292f55dbd2c496bcfd6bea32caf)

Author SHA1 Message Date
Simon Ser dc7cc98cf2 backend/drm: check return value of get_drm_{connector,crtc}_props()
2 years ago
Simon Ser 8b8921d57b backend/drm: remove wlr_drm_crtc.legacy_crtc
2 years ago
Simon Ser 8b18352318 backend/drm: fetch fresh legacy CRTC in connector_get_current_mode()
2 years ago
Simon Ser caaea01bf6 backend/drm: drop unused arg in connector_get_current_mode()
2 years ago
Simon Ser c675380c56 backend/drm: prevent out-of-bounds array access on unknown subpixel
2 years ago
Simon Ser bde68b1df7 backend/drm: refuse to switch CRTC for enabled connector
2 years ago
Simon Ser 99fb2fefc3 backend/drm: rename wlr_drm_backend.outputs to connectors
2 years ago
Simon Ser 2c042566eb backend/drm: clear pending cursor FB in drm_connector_commit_state()
2 years ago
Simon Ser ea14e9c95f backend/drm: update wlr_drm_connnector.crtc in drm_connector_commit_state()
2 years ago
Simon Ser e59c3602f7 backend/drm: print stringified connector status in realloc_crtcs()
2 years ago
Simon Ser 037b21647b backend/drm: store pending FB in state
2 years ago
Simon Ser ae61cd6bfb backend/drm: use separate field to store pending cursor FB
2 years ago
Simon Ser 72d1fd1446 backend/drm: simplify dealloc_crtc() commit
2 years ago
Simon Ser 90a6c7b7e1 backend/drm: fix VRR test
2 years ago
Simon Ser 4452ed0651 backend/drm: don't damage output on CRTC change
2 years ago
Simon Ser ef5e2cc5e3 output: call wlr_output_update_enabled() after commit
2 years ago
Simon Ser f863b93c05 backend/drm: only request page-flip if active
2 years ago
Simon Ser a40ba16a64 backend/drm: fix FPE when disabling output
2 years ago
Simon Ser 65836ce357 backend/drm: log modesetting commits
2 years ago
Simon Ser b3da33116e backend/drm: log refresh rate in Hz
2 years ago
Simon Ser 84e727daae backend/drm: request page-flip event on modeset
2 years ago
Simon Ser fc3d8b228b backend/drm: get possible CRTCs in create_drm_connector()
2 years ago
Simon Ser 92580a2f67 backend/drm: extract create_drm_connector()
2 years ago
Simon Ser c6d8a11d2c backend/drm: fetch current CRTC once on startup
2 years ago
Simon Ser a2063c93ea backend/drm: drop drm_crtc_page_flip()
2 years ago
Simon Ser 98a83ce14c backend/drm: fix EINVAL atomic commits after VT switch
2 years ago
Simon Ser ca432ea539 backend/drm: extract current mode logic into separate function
2 years ago
Simon Ser eeb7a81138 backend/drm: extract connect_drm_connector() logic
2 years ago
Simon Ser 9560a7eefd backend/drm: use atomic API to fetch current connector's CRTC
2 years ago
Simon Ser 0c0cea0258 backend/drm: use wl_container_of() instead of casts for wlr_drm_mode
2 years ago
Simon Ser f216e97983 backend/drm: drop drm_connector_set_mode()
2 years ago
Simon Zeni 694e9bbb9d backend/drm: allocate connector CRTC on lease creation
2 years ago
Simon Ser f4cf0a8d86 backend/drm: nuke wlr_drm_connector.desired_enabled
2 years ago
Simon Ser 5a207aea72 backend/drm: drop unnecessary wlr_drm_connector.crtc checks
2 years ago
Simon Ser 0613fb0159 backend/drm: remove outdated TODO
2 years ago
Simon Ser 6adca4089c backend/drm: don't unconditionally set desired_enabled
2 years ago
Simon Ser 651c876e79 backend/drm: fix missing wlr_output_state.allow_artifacts
2 years ago
Simon Ser a0345f2854 output: add wlr_output_state.allow_artifacts
2 years ago
Simon Ser 0cabc83046 backend/drm: pass through mode picture aspect ratio
2 years ago
Simon Ser 800ea7d52d backend/drm: de-duplicate wlr_drm_mode creation
2 years ago
vanfanel 8795dde94e Initialize connectors current mode to the mode used by KMS on startup.
2 years ago
Simon Ser 8c70245d5f output: fail commits if adaptive sync cannot be enabled
2 years ago
Alexander Orzechowski 8bd7170fd9 Use env helpers
2 years ago
Alexander Orzechowski ef4baea0e2 Use wl_signal_emit_mutable
2 years ago
Simon Ser f244094682 backend/drm: drop enum wlr_drm_connector_status
2 years ago
Simon Ser 08973d2430 backend/drm: drop WLR_DRM_CONN_NEEDS_MODESET
2 years ago
Simon Ser 7b5e890e61 backend/drm: use drmModeConnectorGetPossibleCrtcs
2 years ago
Simon Ser bd587a7f43 backend/drm: use drmModeGetConnectorTypeName
2 years ago
Simon Ser 1d581656c7 backend/drm: set "max bpc" to the max
2 years ago
Simon Ser 1f1c0275be backend/drm: remove unused CRTC count check
2 years ago
Simon Ser 1f96f388e9 backend/drm: make serial optional
3 years ago
Isaac Freund 2b10ae62ad
backend/drm: fix check for no-op commits
3 years ago
Simon Ser 6936e163b5 backend/drm: short-circuit no-op commits
3 years ago
Simon Ser 25dd3cc0cd output: pass wlr_output_state to backend
3 years ago
Simon Ser e646d882cf backend/drm: fetch EDID manufacturer from udev_hwdb
3 years ago
Simon Ser 6c350799b2 Zero-initialize structs in init functions
3 years ago
Samuel Čavoj 5c17452ae0
Pass O_CLOEXEC to drmModeCreateLease calls
3 years ago
Simon Ser a15c327718 backend/drm: use drmModeFormatModifierBlobIterNext
3 years ago
Simon Ser 36a2b19485 output: introduce wlr_output_set_name
3 years ago
Simon Ser ef1669d33e backend/drm: always add LINEAR to supported modifiers
3 years ago
Simon Ser affe9eda57 Require INVALID for implicit format modifiers
3 years ago
Simon Ser e656697a7d backend/drm: scan leases on uevent
3 years ago
Simon Ser 86f5ecf468 backend/drm: introduce wlr_drm_lease
3 years ago
Simon Ser e13f3f8608 backend/drm: handle per-connector hotplug events
3 years ago
Kirill Primak 2af8cc769a output: add presented flag to presentation event
3 years ago
Simon Ser 1d7e438d8a Revert "Require INVALID for implicit format modifiers"
3 years ago
Simon Ser ea7357b703 Require INVALID for implicit format modifiers
3 years ago
Simon Ser 2e12de96ca backend/drm: add support for panel orientation
3 years ago
Simon Zeni 94ed8f9496 backend/drm: introduce wlr_drm_backend_get_non_master_fd
3 years ago
Simon Zeni e5a949a955 backend/drm: implement drm lease function
3 years ago
Simon Ser 42dba9dc90 backend/drm: drop wlr_drm_connector.desired_mode
3 years ago
Simon Ser b01d97a38f backend/drm: drop attempt_enable_needs_modeset
3 years ago
Simon Ser 0c8fba1a2f backend/drm: drop drm_connector_init_renderer
3 years ago
Simon Ser de1c73021c backend/drm: drop unused arg from get_possible_crtcs
3 years ago
Simon Ser 3c74bd0c91 backend/drm: introduce wlr_drm_connector_state
3 years ago
Simon Ser 3fbf6e02a3 backend/drm: rename enum wlr_drm_connector_state to status
3 years ago
Simon Ser 5aa5137fae backend/drm: handle drm_surface_blit errors
3 years ago
Simon Ser 5dfaf5ea9c backend/drm: introduce wlr_drm_bo_handle_table
3 years ago
Simon Ser 65c0ab00b6 backend/drm: generate CVT reduced modes
3 years ago
Rouven Czerwinski 9b7803a9b3 backend/drm: try to allocate crtc for formats
3 years ago
Rouven Czerwinski cdd9a60f72 Revert "backend/drm: Check if output is enabled before sending frame event"
3 years ago
Rouven Czerwinski 59b292b691 backend/drm: return true on test if no crtc
3 years ago
Simon Ser 604674dc54 backend/drm: always perform a test commit in drm_connector_test
3 years ago
Simon Ser 1936e136df backend/drm: require buffer on modeset in drm_connector_test
3 years ago
Simon Ser 923258b0be backend/drm: preserve mode order from kernel
3 years ago
Simon Ser 3132c0ab10 output: drop wlr_output_state.buffer_type
3 years ago
Simon Ser 55ac7e335a backend/drm: fix wrong type for get_cursor_format return values
3 years ago
Simon Ser c55f70c8b7 backend/drm: stop initializing renderer for parent backend
3 years ago
Simon Ser ebb661532c backend/drm: remove SCANOUT check in drm_connector_test
3 years ago
Simon Ser f5900c1f00 backend/drm: remove primary swapchain
3 years ago
Simon Ser d6f0fc251e backend/drm: implement get_primary_formats
3 years ago
Simon Ser cc8bc0db20 backend/drm: stop restoring CRTCs on exit
3 years ago
Simon Ser 709190c4c8 backend/drm: remove wlr_output_impl.export_dmabuf
3 years ago
Simon Ser f67cfb2ce2 backend/drm: remove backend arg from wlr_drm_interface.crtc_commit
3 years ago
Simon Ser fde56c20b4 backend/drm: move legacy-specific checks to legacy.c
3 years ago
Simon Ser 017555651b backend/drm: add test_only arg to wlr_drm_interface.crtc_commit
3 years ago
Simon Zeni e192d87731 move wlr_box from /types to /util
3 years ago
Simon Ser 4dee7a2f6f backend/drm: don't clear pending cursor FB on failed commit
3 years ago
Simon Ser 5f26360bd8 Revert "backend/drm: populate cursor plane's current_fb"
3 years ago
Simon Ser a38baec1f8 buffer: make enum wlr_buffer_cap public
3 years ago