1. 17 Jun, 2016 3 commits
  2. 08 Jun, 2016 1 commit
  3. 30 May, 2016 1 commit
  4. 27 May, 2016 1 commit
  5. 05 May, 2016 1 commit
  6. 02 May, 2016 2 commits
  7. 09 Mar, 2016 1 commit
  8. 18 Nov, 2015 1 commit
  9. 30 Oct, 2015 3 commits
  10. 17 Sep, 2015 1 commit
    • Ilia Mirkin's avatar
      modesetting: fix up output naming convention · 139e36dd
      Ilia Mirkin authored
      A user on a nouveau-driven card ran into a problem where DVI-D-1 and
      DVI-I-1 were aliasing. The simplest fix is to provide the full connector
      names. While we're at it, rename the output names to match what is in
      the kernel, and start counting the connectors from 1 rather than 0. The
      only deviation is HDMI vs HDMI-A, which kept its original name.
      This will break backwards compatibility with existing xorg.conf's that
      reference output names, but the alternative is to create a separate
      counting system, further disconnecting from the kernel names.
      Signed-off-by: Ilia Mirkin's avatarIlia Mirkin <imirkin@alum.mit.edu>
      Reviewed-by: default avatarDave Airlie <airlied@redhat.com>
  11. 12 Aug, 2015 1 commit
    • Dave Airlie's avatar
      modesetting: add zaphod support (v3) · 19e1dc8f
      Dave Airlie authored
      This adds zaphod and ZaphodHeads support
      to the the in-server modesetting driver.
      this is based on a request from Mario,
      and on the current radeon driver, along
      with some patches from Mario to bring things
      up to the state of the art in Zaphod.
      v2: fixup vblank fd registring.
      v3: squash Mario's fixes.
        modesetting: Allow/Fix use of multiple ZaphodHead outputs per x-screen.
        modesetting: Take shift in crtc positions for ZaphodHeads configs into account.
        modesetting: Add ZaphodHeads description to man page.
      small cleanups (airlied).
      Reviewed-and-tested-by: Mario Kleiner's avatarMario Kleiner <mario.kleiner.de@gmail.com>
      Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
  12. 16 Jul, 2015 1 commit
  13. 08 Jul, 2015 1 commit
    • Dave Airlie's avatar
      prime: add rotation support for offloaded outputs (v2) · 90db5edf
      Dave Airlie authored
      One of the lacking features with output offloading was
      that screen rotation didn't work at all.
      This patch makes 0/90/180/270 rotation work with USB output
      and GPU outputs.
      When it allocates the shared pixmap it allocates it rotated,
      and any updates to the shared pixmap are done using a composite
      path that does the rotation. The slave GPU then doesn't need
      to know about the rotation and just displays the pixmap.
      rewrite the sync dirty helper to use the dst pixmap, and
      avoid any strange hobbits and rotations.
      This breaks ABI in two places.
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Signed-off-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
  14. 06 Jul, 2015 1 commit
  15. 30 Jun, 2015 2 commits
    • Kenneth Graunke's avatar
      modesetting: Implement page flipping support for Present. · 13c7d53d
      Kenneth Graunke authored
      Based on code by Keith Packard, Eric Anholt, and Jason Ekstrand.
      - Fix double free and flip_count underrun (caught by Mario Kleiner).
      - Don't leak flip_vblank_event on the error_out path (Mario).
      - Use the updated ms_flush_drm_events API (Mario, Ken).
      v3: Hack around DPMS shenanigans.  If all monitors are DPMS off, then
          there is no active framebuffer; attempting to pageflip will hit the
          error_undo paths, causing us to drmModeRmFB with no framebuffer,
          which confuses the kernel into doing full modesets and generally
          breaks things.  To avoid this, make ms_present_check_flip check that
          some CRTCs are enabled and DPMS on.  This is an ugly hack that would
          get better with atomic modesetting, or some core Present work.
      - Don't do pageflipping if CRTCs are rotated (caught by Jason Ekstrand).
      - Make pageflipping optional (Option "PageFlip" in xorg.conf.d), but
        enabled by default.
      v5: Initialize num_crtcs_on to 0 (caught by Michel Dänzer).
      [airlied: took over]
      v6: merge async flip support from Mario Kleiner
      free sequence after failed vblank queue
      handle unflip while DPMS'ed off (Michel)
      move flip tracking into its own structure, and
      fix up reference counting issues, and add comments.
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      Acked-by: Emma Anholt's avatarEric Anholt <eric@anholt.net>
      Signed-off-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
    • Dave Airlie's avatar
      modesetting: reverse prime support (v1.1) · 7328fb3f
      Dave Airlie authored
      This adds support for reverse prime to the modesetting driver.
      Reverse prime is where we have two GPUs in the display chain,
      but the second GPU can't scanout from the shared pixmap, so needs
      an extra copy to the on screen pixmap.
      This allows modesetting to support this scenario while still
      supporting the USB offload one.
      fix comment + ret = bits (Eric)
      Reviewed-by: Emma Anholt's avatarEric Anholt <eric@anholt.net>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
  16. 11 May, 2015 1 commit
  17. 27 Apr, 2015 3 commits
  18. 23 Jan, 2015 3 commits
  19. 25 Dec, 2014 2 commits
  20. 18 Dec, 2014 1 commit
    • Keith Packard's avatar
      modesetting: [v2] Don't re-enable the cursor when loading the image · 5a541bd5
      Keith Packard authored
      Hidden cursors also have their image updated; re-enabling the cursor
      each time the image is set will cause it to re-appear.
       * Unifies the code that was in  drmmode_load_cursor_argb and
        drm_mode_show_cursor and moves it to a new drmmode_set_cursor
       * Add a new boolean, 'cursor_up', to the per-crtc
         private data to track whether the cursor should be displayed.
       * Call drmmode_set_cursor from drm_mode_show_cursor and, if
         the cursor should be displayed, from drm_mode_load_cursor_argb.
      v2: Call drmModeSetCursor2 when loading a new cursor image if the
          cursor should be displayed.
      Signed-off-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
      Reviewed-by: Michel Dänzer's avatarMichel Dänzer <michel.daenzer@amd.com>
  21. 11 Dec, 2014 6 commits
  22. 08 Dec, 2014 3 commits