807 Commits (c8861a2865dddbade3f2546450f86e18218cb466)

Author SHA1 Message Date
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
Alexander Orzechowski ada6f104e6 backend/drm/legacy: Fix whitespace
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 4ffc97d134 Only set max_bpc when full modesetting is being done.
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
Isaac Freund 5cca72958a
backend/drm: fix NULL pointer deference due to typo
2 years ago
Simon Ser 1f96f388e9 backend/drm: make serial optional
2 years ago
Simon Ser 1b27d537d1 backend/drm: unconditionally set "content type" to graphics
2 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 acc6d94db0 backend/drm: make commits without a buffer blocking
3 years ago
Simon Ser 2563b79dc2 backend/drm: improve atomic commit flag logging
3 years ago
Simon Ser 25dd3cc0cd output: pass wlr_output_state to backend
3 years ago
vaxerski d0d480b91a backend/drm: fix crash with null serial
3 years ago
Simon Ser be86145322 output: turn make/model/serial into char *
3 years ago
Simon Ser 2e69eb1030 backend/drm: fix crash in init_drm_surface
3 years ago
Simon Ser f91f38b79a backend/drm: remove wlr_drm_surface.{width,height}
3 years ago
Simon Ser e59f4d4ffa backend/drm: allow non-linear modifiers for multi-GPU
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 bedfec94bb backend/drm: use drmCloseBufferHandle
3 years ago
Simon Ser a15c327718 backend/drm: use drmModeFormatModifierBlobIterNext
3 years ago
Chris Chamberlain d8ca494558 backend/drm: add wlr_drm_backend_monitor
3 years ago
Simon Ser 36a2b19485 output: introduce wlr_output_set_name
3 years ago
Simon Ser fbaefd90fc backend/drm: poison buffers which cannot be scanned out
3 years ago
Simon Ser ef1669d33e backend/drm: always add LINEAR to supported modifiers
3 years ago
Simon Ser e163a7cf48 backend/drm: fail on explicit modifier in drmModeAddFB2
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 Zeni 42549a1c9a backend/drm: stop initializing backend renderer
3 years ago
Simon Ser a04cfca4da Remove support for DMA-BUF flags
3 years ago
Simon Ser e13f3f8608 backend/drm: handle per-connector hotplug events
3 years ago
Simon Ser 83090de034 backend/drm: avoid creating empty FB_DAMAGE_CLIPS prop
3 years ago
Simon Ser 0817c52a21 backend/drm: get rid of BO handle table
3 years ago
Haelwenn (lanodan) Monnier a92293a15a backend/drm/legacy.c: Fix memory leak in drm_legacy_crtc_set_gamma
3 years ago
Simon Ser 5619cf368b backend/drm: add entry for Valve EDID vendor
3 years ago
Kirill Primak 2af8cc769a output: add presented flag to presentation event
3 years ago
Elyes HAOUAS dc3d1530bf Fix spelling errors
3 years ago
Simon Ser 1d7e438d8a Revert "Require INVALID for implicit format modifiers"
3 years ago
Simon Ser 61b83441a1 Revert "backend/drm: fail on explicit modifier in drmModeAddFB2"
3 years ago
Simon Ser d6be1d68b7 backend/drm: fail on explicit modifier in drmModeAddFB2
3 years ago
Simon Ser ea7357b703 Require INVALID for implicit format modifiers
3 years ago
Simon Ser 3d0848daae backend: create renderer and allocator in wlr_backend_autocreate
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 274c8189d4 backend/drm: fix crash on VT switch
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 3ce2ea9e16 Move allocator stuff into new directory
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
Simon Ser 46c42e55c6 backend/drm: add support for FB_DAMAGE_CLIPS
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 7544b7abf9 backend/drm: use addon for wlr_drm_fb
3 years ago
Simon Ser 604674dc54 backend/drm: always perform a test commit in drm_connector_test
3 years ago
Simon Ser eb0ce659cf backend/drm: add proper error handling to wlr_drm_backend_create
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 c74dc45bb6 backend/drm: drop get_renderer implementation
3 years ago
Simon Ser 9b99570869 backend/drm: drop drm_surface_{make,unset}_current
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 85d7ad2eef backend/drm: allow legacy scan-out if FB props match
3 years ago
Simon Ser d6f0fc251e backend/drm: implement get_primary_formats
3 years ago
Simon Zeni 04d4fb536d render/wlr_texture: put wlr_texture_from_buffer into the public API
3 years ago
ayaka 70fb21c35b backend: make DRM and libinput backends optional
3 years ago
Simon Ser 66c42f4fcb backend/drm: add DRM_MODE_CONNECTOR_USB to conn_get_name
3 years ago
Simon Ser cc8bc0db20 backend/drm: stop restoring CRTCs on exit
3 years ago
Simon Ser f94eb174c7 backend/drm: fix NULL data in handle_drm_event
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 Ser c1b27cc499 backend/drm: stop using drm_surface_make_current in drm_surface_blit
3 years ago
Simon Ser d71ed635b9 backend/drm: force linear layout for multi-GPU buffers
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
Simon Ser dbb0e2f75b Remove unused wlr_list.h includes
3 years ago
Simon Ser 264d4e2bce backend/drm: rename page_flip_handler to handle_page_flip
3 years ago
Simon Ser 2f615468b6 backend: add output state allow-lists
3 years ago
Simon Ser 6c3d080e25 backend/drm: populate cursor plane's current_fb
3 years ago
Simon Ser 3345eaca89 backend/drm: remove test_buffer
3 years ago
Simon Ser eca5d2f37f backend/drm: move session check from test_buffer to drm_connector_test
3 years ago
Simon Ser 758f117442 backend/drm: move drm_connector_set_pending_fb up
3 years ago
Simon Ser f55b43ddd6 backend/drm: allocate a CRTC in drm_connector_test
3 years ago
Simon Ser cb378600e4 backend/drm: allocate a CRTC in drm_connector_commit_state
3 years ago
Simon Ser b180d3482f backend/drm: introduce drm_connector_alloc_crtc
3 years ago
Simon Ser 63f891e393 backend/drm: allow committing a buffer and a mode together
3 years ago
Simon Ser e89cf5f047 backend/drm: use atomic test-only commits for modifier fallback
3 years ago
Simon Ser b2f6db3533 render: drop wlr_ prefix from wlr_renderer_bind_buffer
4 years ago
Simon Ser b86a0c8d8f backend/drm: move cursor fields to wlr_drm_connector
4 years ago
Simon Ser 2b0a1aeed5 output: take a wlr_buffer in set_cursor
4 years ago
Simon Ser 01e0f51fad backend/drm: introduce drm_plane_pick_render_format
4 years ago
Simon Ser e06ea4e84a backend/drm: remove format arg from drm_plane_init_surface
4 years ago
Simon Ser 9e9be83a58 backend/drm: implement get_cursor_formats and get_cursor_size
4 years ago
Simon Ser 7ec5bf6b10 backend: introduce wlr_backend_finish
4 years ago
Simon Ser 9ca743f9fd backend/drm: use wlr_texture_from_buffer
4 years ago
Kenny Levinsen 2603a5dee7 backend/drm: Do not require mode commit on enable
4 years ago
Simon Ser a1e8a639b3 backend/drm: introduce drm_connector_commit_state
4 years ago
Simon Ser e543e26206 backend/drm: take a wlr_drm_connector instead of a wlr_output
4 years ago
Simon Ser e06c62af77 backend/drm: take output state arg in drm_connector_commit_buffer
4 years ago
Simon Ser 218955ce95 backend/drm: remove mode arg from drm_connector_set_mode
4 years ago
Simon Ser 7aba881c47 backend/drm: remove mode arg from drm_connector_init_renderer
4 years ago
Simon Ser 31082a0554 backend/drm: remove wlr_drm_crtc_state.mode
4 years ago
Simon Ser dfea0ff31d backend/drm: remove wlr_drm_crtc_state.active
4 years ago
Simon Ser 485ecc11a6 backend/drm: remove wlr_drm_crtc.pending_modeset
4 years ago
Simon Ser c9c2d7539c backend/drm: fill scratch wlr_output_state for set_mode
4 years ago
Simon Ser 1a9701cd7c backend/drm: take wlr_output_state as arg in commit callers
4 years ago
Simon Ser 8f90d7f8f5 backend/drm: take wlr_output_state as arg in crtc_commit
4 years ago
Simon Ser e7f68ba081 backend/drm: fix allocator DRM FD on multi-GPU setups
4 years ago
Simon Ser 619a975025 render: remove wlr_ prefix from wlr_renderer_autocreate_with_drm_fd
4 years ago
Simon Ser 6bf2406dbf backend/drm: reword wlr_renderer failure message
4 years ago
Simon Zeni cc1b66364c backend: use wlr_allocator_autocreate
4 years ago
Simon Zeni 144189674e backend: introduce backend_get_buffer_caps
4 years ago
Simon Zeni c75aa71816 render/gbm_allocator: make wlr_gbm_allocator_create return a wlr_allocator
4 years ago
Simon Ser 0411dc0663 Revert "backend/drm: fail instead of stripping a modifier"
4 years ago