428 Commits (c02e9c2bb18a42b0f6917a9b4bfabf4d7e4e36f7)

Author SHA1 Message Date
Scott Anderson cff1c2f740 meson: Various improvements
5 years ago
Rouven Czerwinski be4b9f7f5b backend/drm: print preferred mode
5 years ago
Simon Ser 515679e4fe Refactor EGL/GL API loading
5 years ago
Simon Ser efd294ef09 backend/drm: add BenQ to manufacturer list
5 years ago
Simon Ser 6ca82087b1 backend/drm: fix segfault in init_drm_surface
5 years ago
Simon Ser 8681e4ab8a backend/drm, backend/libinput: listen to session destroy
5 years ago
Jason e8855ee462 Amend typos
5 years ago
Simon Ser 16e5e9541b Add -Wmissing-prototypes
5 years ago
Simon Ser 6c649bab53 output: add wlr_output_event_present.commit_seq
5 years ago
Simon Ser 0e57effd38 backend/drm: add support for custom modes
5 years ago
Simon Ser e97c2c3639 backend/drm: retry without modifiers for the primary plane
5 years ago
Simon Ser fd25e2ca11 backend/drm: track gbm_bo during direct scan-out
5 years ago
Simon Ser 2bdd1d0896 backend/drm: use modifiers for our GBM buffers
5 years ago
Ivan Molodetskikh 5f78ea20fa drm: use IMPORT_FD for INVALID modifier
5 years ago
Rouven Czerwinski bf90474b74 backend/drm: check for mst: in path property
5 years ago
Simon Ser 8d2ea9544b backend/drm: fix missing plane formats
5 years ago
Antonin Décimo 39c5d93dea backend/drm: use UINT64_C for uint64_t literals
5 years ago
Rouven Czerwinski 01f903874b Revert "output: atomic mode"
5 years ago
Rouven Czerwinski 4d36cc86eb backend/drm: destroy output immediately
5 years ago
Simon Ser ee5f98ad49 output: atomic mode, enabled, scale and transform
5 years ago
Simon Ser ca45f4490c Remove all wayland-server.h includes
5 years ago
Rouven Czerwinski d10072e76c backend: drm: switch to pageflip_handler_2
6 years ago
Scott Anderson 46dc4100d6 backend/drm: Exit-early if 0 crtcs
6 years ago
Scott Anderson b3f42548d0 backend/drm: Simplify object matching code
6 years ago
Simon Ser ce3f4c3fe1 output: remove wlr_output_impl.transform
6 years ago
Scott Anderson b85f0cbff9 Remove WLR_DRM_NO_ATOMIC_GAMMA workaround
6 years ago
Simon Ser d201fc3506 backend/drm: add support for multiplanar BOs
6 years ago
Simon Ser e8057bb60c backend/drm: fallback to drmModeAddFB2
6 years ago
Simon Ser d1766547bd backend/drm: reject DMA-BUFs with flags
6 years ago
Simon Ser 44ba603c0e backend/drm: hold buffers while scanning out
6 years ago
Simon Ser afe7b207d5 output: fix attach_buffer semantics
6 years ago
Simon Ser 1d222309b8 output: change set_dmabuf to attach_buffer
6 years ago
Simon Ser 5c78f1b0d5 backend/drm: strip alpha channel on scan-out
6 years ago
Simon Ser e516ea4c79 backend/drm: check format when scanning out DMA-BUF
6 years ago
emersion 96d6fde5dc backend/drm: add basic support for direct scan-out
6 years ago
Rouven Czerwinski 96e9c0f9c8 drm: legacy: issue a NULL modeset on disable
6 years ago
Simon Ser 20690346c7 output: rename needs_commit to needs_frame
6 years ago
Simon Ser 9a0f8a194c output: refactor backend API
6 years ago
Alyssa Ross 95b22619e0 Fix missing headers when building without X11
6 years ago
Guido Günther cd60f40bbb wlr_output: Add preferred property (#1625)
6 years ago
Scott Anderson 6a8f17b5f6 backend/drm: Don't fail on failing to find overlay format
6 years ago
Scott Anderson d945c97926 backend/drm: Unset cursor on cleanup
6 years ago
Rouven Czerwinski e1834ace28 backend/drm: fix memory leak in realloc crtcs
6 years ago
Brian Ashworth 50011e7170 backend/drm: fix modeset on drm fd resume
6 years ago
emersion 2a738803b2
backend/drm: fix NULL dereference when unsetting cursor
6 years ago
Drew DeVault 2d2c79e37c
Merge pull request #1537 from VincentVanlaer/cursor-dmabuf-nouveau
6 years ago
Vincent Vanlaer 26a9fa8148 Add workaround for hardware cursors on nouveau
6 years ago
Drew DeVault 9a5d59a839 Revert "drm: do not modeset to current mode"
6 years ago
Vincent Vanlaer bc048b22fb Copy cursor surface to secondary gpu if necessary
6 years ago
Brian Ashworth 72c76b128e drm: do not modeset to current mode
6 years ago
Vincent Vanlaer 7bc43413ed Allow cursor render surface to be used as fb
6 years ago
emersion 75371d2c88
Require libdrm >= 2.4.95
6 years ago
emersion ee293fab58
backend/drm: fix GBM format mismatch
6 years ago
emersion d4ffa5b7a6
backend/drm: fix state for outputs loosing their CRTC
6 years ago
emersion 9b1d9fb91e
backend/drm: get physical size from libdrm
6 years ago
Timidger 9af0c5338f
Standardize the wlr_box input paramaters
6 years ago
emersion ff6c4f80b2
backend/drm: don't insert duplicate custom modes, fix refresh rate
6 years ago
Scott Anderson fec88770dd backend/drm: Fix uninitialized variable
6 years ago
Scott Anderson efdd4d6ea2 backend/drm: Improve encoder logic
6 years ago
emersion f8056a0350
backend/drm: fix disappeared output indices
6 years ago
emersion 491f1dbf75
backend/drm: fix VLA overflow
6 years ago
Rostislav Pehlivanov 91513c89cd Fix interlaced mode rejection
6 years ago
Rostislav Pehlivanov dc9fdd6385 Skip interlaced modes during drm mode detection
6 years ago
emersion b5125ff328
backend/drm: specify minimum config attributes
6 years ago
Drew DeVault 70ca7daeb2
Merge pull request #1346 from emersion/fix-schedule-frame-mgpu
6 years ago
emersion 68362b37a8
backend/drm: fix frame scheduling on secondary GPUs
6 years ago
emersion 443a38bd3f
backend/drm: add WLR_DRM_NO_ATOMIC_GAMMA env variable
6 years ago
sghctoma fa587b8ea9 Increase _POSIX_C_SOURCE to 200112L
6 years ago
emersion b66041a9e5 backend/drm: don't reset conn->pageflip_pending in drm_connector_cleanup
6 years ago
Drew DeVault 8488ed2997
Merge pull request #1298 from emersion/output-dangling-idle-frame
6 years ago
Rouven Czerwinski 77478ac302 backend/drm: set drmEventContext version to 2
6 years ago
emersion 46b1ba386f output: remove idle_frame event source when destroying output
6 years ago
Scott Anderson 885586a831
Merge pull request #1280 from emersion/drm-link-status
6 years ago
emersion 37de179013 backend/drm: fix zero-length VLAs
6 years ago
emersion 776008da69 backend/drm: properly handle GPUs without CRTCs
6 years ago
emersion ba91422747 output: don't trigger a frame immediately in schedule_frame
6 years ago
emersion eac7c2ad2f output: add presentation refresh prediction
6 years ago
emersion b0635bf3e7 Rename get_present_clock to get_presentation clock, use it
6 years ago
emersion 54e1287f30 backend: add get_present_clock
6 years ago
emersion 78389fe722 output: add present event
6 years ago
emersion f5a147b739 backend/drm: add support for the link-status property
6 years ago
Drew DeVault 841d04db99
Merge pull request #1262 from nyorain/session_fix
6 years ago
emersion 7ab37bf152 backend/drm: update EDID manufacturers database
6 years ago
emersion e88db9a3fb backend/drm: reset gamma table on VT switch
6 years ago
emersion 2beb68007e output: make gamma size a size_t and gamma table const
6 years ago
emersion 79dd9ba151 backend/drm: don't free connector immediately
6 years ago
nyorain 7b52388424 Rework session handling
6 years ago
emersion 139a905924 backend/drm: add assertions
6 years ago
emersion f8a50e4fe7 backend/drm: steal CRTCs from disabled outputs
6 years ago
emersion cb293f09e7 output: make wlr_output_enable return a bool
6 years ago
Drew DeVault ca331c0468
Merge pull request #1235 from emersion/dealloc-unused-crtcs
6 years ago
emersion 1fcecd68df backend/drm: de-allocate unused CRTCs
6 years ago
mntmn e1c91884fb fix cursor loss w/ legacy drm and software cursor (tested on etnaviv)
6 years ago
emersion 8a6bdc193d backend/drm: damage outputs when switching CRTCs
6 years ago
emersion 1342393632 backend/drm: cosmetic enhancements
6 years ago
emersion 5b13b8a12c backend/drm: consider continue not using resources
6 years ago
emersion fb94f03b43 backend/drm: prevent use of uninitialized data
6 years ago
emersion d605b2ea07 backend/drm: remove unused if
6 years ago
emersion 017cfb0b86 backend/drm: log when de-allocating CRTC
6 years ago
emersion b877daded1 backend/drm: better hotplug handling
6 years ago