aboutsummaryrefslogtreecommitdiff
path: root/backend/drm/drm.c
AgeCommit message (Collapse)Author
2018-01-30backend/drm: fix hw cursor position on rotated and scaled outputsemersion
output: add wlr_output_transformed_resolution
2018-01-28backend/drm: do not retry pageflip when swapping buffersemersion
2018-01-28Do not flush damage if swapping buffers failedemersion
This should solve issues with multiple outputs on DRM backend.
2018-01-28Merge remote-tracking branch 'upstream/master' into output-damageemersion
2018-01-27drm: Use ptrdiff_t instead of intmax_t in format stringGuido Günther
since we're looking at pointer differences. Otherwise the build fails on arm like In file included from ../backend/drm/drm.c:19:0: ../include/wlr/util/log.h:34:17: error: format '%jd' expects argument of type 'intmax_t', but argument 7 has type 'int' [-Werror=format=] _wlr_log(verb, "[%s:%d] " fmt, _strip_path(__FILE__), __LINE__, ##__VA_ARGS__) ^ ../backend/drm/drm.c:462:2: note: in expansion of macro 'wlr_log' wlr_log(L_DEBUG, "%s: crtc=%ju ovr=%jd pri=%jd cur=%jd", conn->output.name, ^~~~~~~ ../backend/drm/drm.c:462:39: note: format string is defined here wlr_log(L_DEBUG, "%s: crtc=%ju ovr=%jd pri=%jd cur=%jd", conn->output.name, ~~^ %d
2018-01-27Fix flickering when switching VTemersion
2018-01-26output: add wlr_output_schedule_frameemersion
2018-01-26Damage tracking for transformed outputsemersion
2018-01-21Merge remote-tracking branch 'upstream/master' into output-damageemersion
2018-01-21Add con/crtc null check to move_cursor in drmTimidger
2018-01-21Added crtc null check for other drm funcsTimidger
2018-01-21Fixes #575Timidger
2018-01-21output: add damage tracking via buffer ageemersion
2018-01-20backend/drm: fix hardware cursors not movingemersion
This adds back `wlr_output::needs_swap`. This allows a backend to request buffer swaps even if the output isn't damaged. This is needed by the DRM backend to trigger pageflips when the cursor moves.
2018-01-19backend/drm: do not try a pageflip is another one is in pendingemersion
2018-01-19backend/drm: fix retry pageflipemersion
2018-01-07Fix output enable in DRM backendemersion
2018-01-04Add wlr_output::enabledemersion
2017-12-26Fix cursor on transformed output with DRM backendemersion
2017-12-19drm backend: add wlr_output_is_drmDominique Martinet
2017-12-17Add full refresh rate support to custom modesemersion
2017-12-14Merge branch 'master' into surface-transformemersion
2017-12-12Update output layout when scale or transform changesemersion
2017-12-05Fix segfault when moving hardware cursoremersion
2017-12-01Make wlr_output_transform_* functions public, refactoringemersion
2017-11-01rootston exit: fix drm destroyDominique Martinet
wlr_drm_connector were being freed without removing them from the drm->outputs list, segfaulting on destroy
2017-11-01Remove mysterious hotspot switch in DRM backendemersion
2017-11-01Fix hidden software cursors, fix cursor transformations on DRM backendemersion
2017-11-01Apply output transformation to pointer events in Wayland backendemersion
2017-10-31Fix cursor hotspot with rotated outputs on DRM backendemersion
2017-10-31Transform cursor hotspotemersion
2017-10-31Add wlr_output_cursoremersion
2017-10-28Fix segfault in DRM cursorDrew DeVault
2017-10-26Do not set hw cursor if disabled when switching VTemersion
2017-10-23Merge pull request #286 from versusvoid/update-connector-crtc-bindingsScott Anderson
Update Connector-CRTC bindings after resume in DRM backend
2017-10-22Set crtc field when scanning for DRM connectorsVersus Void
and always use it when matching CRTCs with connectors. Fix deactivated monitors check.
2017-10-22Reinitialize only changed DRM outputs after setting mode on oneVersus Void
2017-10-22Emit output resolution event only when resolution changesVersus Void
2017-10-22Cleanup wlr_gamma_controlemersion
2017-10-22Create globals only for enabled outputs in DRM backendemersion
2017-10-22Fix index computation in DRM output scan and CRTC matchVersus Void
2017-10-21Merge branch 'master' into heghe/wl_listDrew DeVault
2017-10-22Remove drm field from wlr_drm_connectorScott Anderson
2017-10-22Add pointer to backend inside wlr_outputScott Anderson
2017-10-22Remove unnecesary wlr_renderersScott Anderson
2017-10-20Replace list_t with wl_list in wlr_outputHeghedus Razvan
Signed-off-by: Heghedus Razvan <heghedus.razvan@gmail.com>
2017-10-20Replace list_t with wl_list in wlr_drm_backendHeghedus Razvan
Signed-off-by: Heghedus Razvan <heghedus.razvan@gmail.com>
2017-10-12Allow to update the cursor hotspot without its pixelsemersion
2017-10-06Transform hotspot with cursorVersus Void
Fix #188
2017-10-05Fix memory leaksVersus Void