Skip to content
Snippets Groups Projects
  1. Jun 22, 2021
  2. Jun 20, 2021
    • Simon Ser's avatar
      backend: add output state allow-lists · 2f615468
      Simon Ser authored and Kenny Levinsen's avatar Kenny Levinsen committed
      Right now, when a new output state field is added, all backends by
      default won't reject it. This means we need to add new checks to
      each and every backend when we introduce a new state field.
      
      Instead, introduce a bitmask of supported output state fields in
      each backend, and error out if the user has submitted an unknown
      field.
      
      Some fields don't need any backend involvment to work. These are
      listed in WLR_OUTPUT_STATE_BACKEND_OPTIONAL as a convenience.
      2f615468
    • Kenny Levinsen's avatar
      Revert "meson: Make private static library symbols local" · 15c8453b
      Kenny Levinsen authored and Simon Ser's avatar Simon Ser committed
      This reverts commit 28d23ba6.
      
      The prelinking and symbol filtering pass breaks builds with link-time
      optimization enabled.
      15c8453b
  3. Jun 19, 2021
  4. Jun 17, 2021
  5. Jun 16, 2021
    • Simon Ser's avatar
      backend/session: use DRM_PRIMARY_MINOR_NAME · 72ee196e
      Simon Ser authored and Kenny Levinsen's avatar Kenny Levinsen committed
      Instead of hardcoding the string "card", use DRM_PRIMARY_MINOR_NAME.
      Some systems may use another prefix, e.g. OpenBSD uses "drm" instead.
      72ee196e
    • Simon Ser's avatar
      backend/session: use drmIsKMS · fb933d32
      Simon Ser authored and Kenny Levinsen's avatar Kenny Levinsen committed
      This moves the magic incantation into libdrm and is clearer. See
      [1] for details.
      
      While at it, fixup the doc comment and improve logging.
      
      [1]: mesa/drm@523b3658
      fb933d32
    • Simon Ser's avatar
      backend/drm: populate cursor plane's current_fb · 6c3d080e
      Simon Ser authored and Kenny Levinsen's avatar Kenny Levinsen committed
      The set_cursor() hook is a little bit special: it's not really
      synchronized to commit() or test(). Once set_cursor() returns true,
      the new cursor is part of the current state.
      
      This fixes a state where wlr_drm_connector.cursor_enabled is true
      but there is no FB available. This is triggered by set_cursor()
      followed by a failed commit(), which resets pending_fb.
      
      We should definitely fix the output interface to make the cursor part
      of the pending state, but that's a more involved change.
      6c3d080e
  6. Jun 13, 2021
  7. Jun 09, 2021
  8. Jun 07, 2021
Loading