902 Commits (f10bae8fe955115b398029829d46f6ffd68de900)

Author SHA1 Message Date
Simon Ser 3b53d1cbf1 backend/drm: introduce page-flip tracking struct
1 year ago
sunzhguy c9c9dd6a5b backend/drm: free fb later
1 year ago
Simon Ser b0bd86285f backend/drm: leave CRTCs on when shutting down
1 year ago
Simon Ser 4932e0d347 backend/drm: ensure plane surfaces are cleaned up on shutdown
1 year ago
Simon Ser 1c24b1182b backend: drop wlr_backend_get_presentation_clock()
1 year ago
Simon Ser b82a53a918 Revert "backend/drm: Automatic non-blocking commits"
1 year ago
Kenny Levinsen 45ba35719e backend/drm: Automatic non-blocking commits
1 year ago
Kenny Levinsen 2cf78f4c5b output: allow_artifacts -> allow_reconfiguration
1 year ago
Alexander Orzechowski 1b0694b794 treewide: Migrate from sizeof(struct) to sizeof(*pointer) where practical
1 year ago
Simon Ser a1679c92ce backend/drm: restore pending page-flip check when tearing
1 year ago
vaxerski c2aa7fd965 backend/drm: Add async page flip support to legacy
1 year ago
Alexander Orzechowski 9be72ec4ca backend/drm: Compute custom mode correctly
1 year ago
Simon Ser 717ded9bb0 backend/drm: drop no-op shortcut
1 year ago
Simon Ser e5fc8cd4c7 output: trigger frame/present events on all commits on enabled output
1 year ago
Rose Hudson fc81d06add backend/drm: report !presented if session is inactive
1 year ago
Rose Hudson f7afef0b1f backend/drm: don't set frame_pending on modeset
1 year ago
Alexander Orzechowski 8f0d4c9332 backend/drm: Use output state to set init mode
1 year ago
Alexander Orzechowski a34d349963 backend/drm: Move output variable up in connect_drm_connector
1 year ago
Alexander Orzechowski 6cda3e251c output: Add initialization state to wlr_output_init
1 year ago
Simon Ser 307720d501 backend/drm: restore custom modes
1 year ago
Simon Ser 37ef9d7356 backend/drm: stop checking for wlr_client_buffer
1 year ago
Simon Ser fe06e5f49a Use wl_container_of() instead of casts
1 year ago
Simon Ser 7a9f8d8d6b Use struct initializers instead of memset()
1 year ago
Clayton Craft aca48124ad
backend/drm: use panel_orientation if it is set
1 year ago
Simon Ser aa1055134d backend/drm: handle output layer damage
1 year ago
Alexander Orzechowski 8243399385 output: Set output mode during main commit
1 year ago
Alexander Orzechowski 5567aefb1c backend/drm: Don't add pollute fixed modes list with custom modes
1 year ago
Simon Ser cbcd99435f backend/drm: remove duplicate needs_frame() in set_cursor()
1 year ago
Simon Ser be05097968 output: add wlr_output_state_init()
1 year ago
Simon Ser fffa1908af backend/drm: fix libliftoff_plane double-free
1 year ago
Alexander Orzechowski ecbe48f3bc backend/drm: Fix typo
1 year ago
Alexander Orzechowski e8887f76ed backend/drm: Use texture blend_mode for multigpu blit
1 year ago
Simon Ser 4339c37f99 backend/drm: clip FB damage
1 year ago
Rose Hudson 9e8947e4d5 add render timer API
1 year ago
Simon Ser 30aca4df0d backend/drm: introduce wlr_drm_mode_get_info()
2 years ago
Simon Ser 8fe29e6bd1 backend/drm: use new rendering API
2 years ago
Austin Shafer 0910fa9179 drm_plane_pick_render_format: return false if no format could be found
2 years ago
Alexander Orzechowski 300bd80772 wlr_drm_format_set: Store formats on array
2 years ago
Alexander Orzechowski 90d08f8f1c wlr_drm_format: Rework wlr_drm_format_intersect
2 years ago
Alexander Orzechowski b45396c790 wlr_drm_format: Introduce drm_format_finish
2 years ago
zhoulei 2c30500ce1 backend/drm: fix di_info memory leak
2 years ago
Simon Ser 44069dfd5e output-layer: add cropping support
2 years ago
Simon Ser 835208db98 output-layer: add support for scaling buffers
2 years ago
Simon Ser 1d64e12391 backend/drm: log drm_connector_alloc_crtc() failures
2 years ago
Simon Ser a160304289 backend/drm: use libdisplay-info for CVT mode generation
2 years ago
Simon Ser 35da997001 backend/drm: use libdisplay-info to parse EDID
2 years ago
Simon Ser b33ab26fe7 render/swapchain: make public
2 years ago
Simon Ser 8338d17d7e backend/drm: drop wlr_drm_layer.pending_{width,height}
2 years ago
Simon Ser bbd5145d8a backend/drm: drop unnecessary pixman_region32_t casts
2 years ago
Simon Ser 22d9df2af4 backend/drm: send output layer feedback events
2 years ago
Simon Ser 4d6fbb2289 backend/drm: add support for output layers
2 years ago
Simon Ser 2398621b8b backend/drm: add libliftoff composition layer
2 years ago
Simon Ser 9d43e7e4d6 backend/drm: add libliftoff interface
2 years ago
Simon Ser b4e9487312 backend/drm: init wlr_drm_plane for all plane types
2 years ago
Simon Ser 8df62e4016 backend/drm: require hwdata pkg-config file
2 years ago
Simon Ser d36dd96e8d backend/drm: set "max bpc" property based on pixel format
2 years ago
Simon Ser 324eeaa0cd backend/drm: disable all CRTCs after VT switch
2 years ago
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 f361efe965 backend/drm: add drm_connector_status_str()
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 602f0d3be5 backend/drm: pass fb as arg in set_plane_props()
2 years ago
Simon Ser bc2d2e853b backend/drm: stop using goto in set_plane_props()
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 f0375eed24 backend/session: make optional
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 feb5691240 backend: remove const casts for pixman_region32_t
2 years ago
Simon Ser 1c4a625fe3 backend/drm: ensure disconnected outputs are disabled after VT switch
2 years ago
Simon Ser 84e727daae backend/drm: request page-flip event on modeset
2 years ago
illiliti eec95e3d5e backend/drm: use pnp.ids to fetch EDID data
2 years ago
Simon Ser d75b4d8e86 Revert "backend/drm: fetch EDID manufacturer from udev_hwdb"
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 b475190327 backend/drm: log failures in drm_surface_blit()
2 years ago
Simon Ser a2063c93ea backend/drm: drop drm_crtc_page_flip()
2 years ago
Simon Ser 0c962c98cc backend/drm: log when restoring mode after VT switch fails
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
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