1. 23 Mar, 2020 2 commits
  2. 17 Mar, 2020 1 commit
  3. 27 Feb, 2020 1 commit
  4. 24 Feb, 2020 2 commits
  5. 15 Feb, 2020 1 commit
  6. 12 Feb, 2020 4 commits
  7. 11 Feb, 2020 2 commits
    • Daniel Stone's avatar
      Add drmModeGetFB2 · d8731e9e
      Daniel Stone authored
      Add a wrapper around the getfb2 ioctl, which returns extended
      framebuffer information mirroring addfb2, including multiple planes and
      Changes since v7:
       - add new symbols to core-symbol.txt (Eric Engestrom)
      Changes since v5:
       - style change
      Changes since v4:
       - Set fb_id at init instead of memclear() and set (Eric Engestrom)
      Changes since v3:
       - remove unnecessary null check in drmModeFreeFB2 (Daniel Stone)
      Changes since v2:
       - getfb2 ioctl has been merged upstream
       - sync include/drm/drm.h in a seperate patch
      Changes since v1:
       - functions should be drm_public
       - modifier should be 64 bits
       - update ioctl number
      Signed-off-by: Juston Li's avatarJuston Li <juston.li@intel.com>
      Signed-off-by: Daniel Stone's avatarDaniel Stone <daniels@collabora.com>
      Reviewed-by: Eric Engestrom's avatarEric Engestrom <eric@engestrom.ch>
    • Juston Li's avatar
      include/drm: sync up drm.h · 63d914d4
      Juston Li authored
      a) delta: Adds DRM_IOCTL_MODE_GETFB2
        b) Generated using make headers_install
        c) Taken from drm-next-misc:
              commit 3ff4c24bdb1f494c217c80348f9db4896043ed81
              Author: Lyude Paul <lyude@redhat.com>
              Date:   Fri Jan 17 17:47:48 2020 -0500
              drm/dp_mst: Fix indenting in drm_dp_mst_topology_mgr_set_mst()
      Signed-off-by: Juston Li's avatarJuston Li <juston.li@intel.com>
      Acked-by: Eric Engestrom's avatarEric Engestrom <eric@engestrom.ch>
  8. 01 Feb, 2020 1 commit
  9. 28 Jan, 2020 1 commit
  10. 23 Jan, 2020 2 commits
  11. 21 Jan, 2020 2 commits
  12. 08 Jan, 2020 3 commits
  13. 07 Jan, 2020 7 commits
    • Marek Olšák's avatar
      Revert "tests/amdgpu: Fix various warnings" · 9ebfac15
      Marek Olšák authored
      This reverts commit fb163458.
    • Marek Olšák's avatar
      Revert "tests/amdgpu: Fix unused function warning (v2)" · 54b982dc
      Marek Olšák authored
      This reverts commit 4ff499cd.
    • Marek Olšák's avatar
      Revert "tests/amdgpu: Fix buffer overflow (v3)" · b9600be2
      Marek Olšák authored
      This reverts commit 680542ce.
    • Luben Tuikov's avatar
      tests/amdgpu: Proper format for "-l" · 7fdebb02
      Luben Tuikov authored
      Proper format for command line option "-l",
      listing the supported and unsupported tests:
      1) Add an aligned column header.
      2) Align all fields into columns.
      3) Fixed length fields, come before the last
      column, which is a variable length field.
      4) Variable length field, which is the name of the
      test, goes in the last column.
      5) If a suite is disabled, do not iterate over its
      tests, as they'd naturally be all disabled.
      Now the output looks like this:
      $sudo ./amdgpu_test -l
       What: ID:   Status: Name
      Suite:  1:  ENABLED: Basic Tests
       Test:  1:  ENABLED: Query Info Test
       Test:  2:  ENABLED: Userptr Test
       Test:  3: DISABLED: bo eviction Test
       Test:  4:  ENABLED: Command submission Test (GFX)
       Test:  5:  ENABLED: Command submission Test (Compute)
       Test:  6:  ENABLED: Command submission Test (Multi-Fence)
       Test:  7:  ENABLED: Command submission Test (SDMA)
       Test:  8:  ENABLED: SW semaphore Test
       Test:  9: DISABLED: Sync dependency Test
       Test: 10: DISABLED: Dispatch Test (Compute)
       Test: 11: DISABLED: Dispatch Test (GFX)
       Test: 12: DISABLED: Draw Test
       Test: 13: DISABLED: GPU reset Test
      Suite:  2:  ENABLED: BO Tests
       Test:  1:  ENABLED: Export/Import
       Test:  2: DISABLED: Metadata
       Test:  3:  ENABLED: CPU map/unmap
       Test:  4:  ENABLED: Memory alloc Test
       Test:  5:  ENABLED: Memory fail alloc Test
       Test:  6:  ENABLED: Find bo by CPU mapping
      Suite:  3: DISABLED: CS Tests
      Suite:  4: DISABLED: VCE Tests
      Suite:  5:  ENABLED: VCN Tests
       Test:  1:  ENABLED: VCN DEC create
       Test:  2:  ENABLED: VCN DEC decode
       Test:  3:  ENABLED: VCN DEC destroy
       Test:  4:  ENABLED: VCN ENC create
       Test:  5:  ENABLED: VCN ENC decode
       Test:  6:  ENABLED: VCN ENC destroy
      Suite:  6: DISABLED: UVD ENC Tests
      Suite:  7: DISABLED: Deadlock Tests
      Suite:  8:  ENABLED: VM Tests
       Test:  1:  ENABLED: resere vmid test
       Test:  2:  ENABLED: unaligned map
       Test:  3:  ENABLED: vm mapping test
      Suite:  9: DISABLED: RAS Tests
      Suite: 10:  ENABLED: SYNCOBJ TIMELINE Tests
       Test:  1:  ENABLED: syncobj timeline test
      Signed-off-by: default avatarLuben Tuikov <luben.tuikov@amd.com>
    • Luben Tuikov's avatar
      tests/amdgpu: Fix buffer overflow (v3) · 680542ce
      Luben Tuikov authored
      This patch fixes the following warning:
      v2: Use the correct strlcat(3).
      v3: Use strncat(3) and remove libbsd dependency.
      Signed-off-by: default avatarLuben Tuikov <luben.tuikov@amd.com>
    • Luben Tuikov's avatar
      tests/amdgpu: Fix unused function warning (v2) · 4ff499cd
      Luben Tuikov authored
      This patch fixes:
      v2: Always enable amdgpu_ras_test().
      Signed-off-by: default avatarLuben Tuikov <luben.tuikov@amd.com>
    • Luben Tuikov's avatar
      tests/amdgpu: Fix various warnings · fb163458
      Luben Tuikov authored
      This patch fixes the following warnings:
      It also removes forward declarations and moves
      global functions to the bottom, keeping locals
      at the top, in ras_tests.c.
      Signed-off-by: default avatarLuben Tuikov <luben.tuikov@amd.com>
  14. 31 Dec, 2019 1 commit
  15. 17 Dec, 2019 4 commits
  16. 11 Dec, 2019 1 commit
    • Devarsh Thakkar's avatar
      modetest: Use floating vrefresh while dumping mode · 7f827145
      Devarsh Thakkar authored
      Add function to derive floating value of vertical
      refresh rate from drm mode using pixel clock,
      horizontal total size and vertical total size.
      Use this function to find suitable mode having vrefresh
      value which is matching with user provided vrefresh value.
      If user doesn't provide any vrefresh value in args then
      update vertical refresh rate value in pipe args using this
      Also use this function for printing floating vrefresh while
      dumping all available modes.
      This will give more accurate picture to user for available modes
      differentiated by floating vertical refresh rate and help user
      select more appropriate mode using suitable refresh rate value.
      1) While setting mode, print mode name and vrefresh using struct
         drmModeModeInfo instead of struct pipe_args.
      2) Revert back to using a float value instead of float *
         for vrefresh arg in connector_find_mode().
      1) Change name of function used to derive refresh rate.
      1) Don't use inline function for deriving refresh rate from mode.
      2) If requested mode not found, print refresh rate only
         if user had provided it in args.
      Signed-off-by: default avatarDevarsh Thakkar <devarsh.thakkar@xilinx.com>
      Reviewed-by: Neil Armstrong's avatarNeil Armstrong <narmstrong@baylibre.com>
      Signed-off-by: Ville Syrjälä's avatarVille Syrjälä <ville.syrjala@linux.intel.com>
  17. 09 Dec, 2019 5 commits