1. 02 Aug, 2021 2 commits
    • Jordan Justen's avatar
      libdrm: NOTE! Default branch is now main · 8d0fb9b3
      Jordan Justen authored
      To update your local repository to use the new default branch, these
      commands may help:
      $ git fetch origin
      $ git checkout master
      $ git branch -m main
      $ git branch --set-upstream-to=origin/main
      $ git remote set-head origin --auto
      Signed-off-by: Jordan Justen's avatarJordan Justen <jordan.l.justen@intel.com>
      Reviewed-by: default avatarDave Airlie <airlied@redhat.com>
    • Mario Kleiner's avatar
      headers: drm: Sync with drm-next · 149b99fe
      Mario Kleiner authored
      Generated using make headers_install from the drm-next
      tree - git://anongit.freedesktop.org/drm/drm
      branch - drm-next
      commit - 8a02ea42bc1d4c448caf1bab0e05899dad503f74
      Some changes were omitted, e.g., to nouveau_drm.h, i915_drm.h, and
      msm_drm.h, as the nouveau and i915 changes looked to me as if they
      could break compatibility or require other compatibility fixes to
      libdrm which i can not judge. msm_drm.h broke the build, as there
      are definitely changes needed to libdrm's msm support code.
      The shortlog below is edited to only list what corresponds to files
      that are included here, because it looked safe to me.
      The changes were as follows (shortlog from
      Aaron Liu (1):
            drm/amdgpu: add uapi to define yellow carp series
      Alex Deucher (1):
            drm/amdgpu: add INFO ioctl support for querying video caps (v4)
      Christian Gmeiner (1):
            drm/etnaviv: provide more ID values via GET_PARAM ioctl.
      Felix Kuehling (1):
            drm/amdgpu: Add new placement for preemptible SG BOs
      Jiawei Gu (1):
            drm/amdgpu: Add vbios info ioctl interface
      Lionel Landwerlin (1):
            drm: fix drm_mode_create_blob comment
      Mario Kleiner (1):
            drm/fourcc: Add 16 bpc fixed point framebuffer formats.
      Nirmoy Das (1):
            drm/amdgpu: remove AMDGPU_GEM_CREATE_SHADOW flag
      Noralf Trønnes (1):
            drm/uapi: Add USB connector type
      Radhakrishna Sripada (1):
            drm/framebuffer: Format modifier for Intel Gen 12 render compression with Clear Color
      Simon Ser (13):
            drm: improve kernel-docs in drm_mode.h
            drm: document drm_mode_get_connector
            drm: document drm_mode_modeinfo
            drm: document that user-space should force-probe connectors
            drm/doc: atomic implicitly enables other caps
            drm/doc: re-format drm.h file comment
            drm/doc: demote old doc-comments in drm.h
            drm/fourcc: fix Amlogic format modifier masks
            drm/uapi: document kernel capabilities
            drm/connector: demote connector force-probes for non-master clients
            drm: reference mode flags in DRM_CLIENT_CAP_* docs
            drm: clarify and linkify DRM_CLIENT_CAP_WRITEBACK_CONNECTORS docs
            drm: document minimum kernel version for DRM_CLIENT_CAP_*
      Signed-off-by: Mario Kleiner's avatarMario Kleiner <mario.kleiner.de@gmail.com>
  2. 30 Jul, 2021 2 commits
  3. 23 Jul, 2021 1 commit
  4. 16 Jul, 2021 1 commit
    • Luben Tuikov's avatar
      tests/amdgpu: Fix TMZ secure bounce test · 87a68fe9
      Luben Tuikov authored
      Fix the TMZ secure bounce test, in that Bob's
      buffer has to be created encrypted (with the
      encrypted flag set), so that when we copy from
      Alice's buffer, which is also encrypted, to Bob's
      buffer, the copy can be successful and the data
      actually copied.
      This fixes the test and it no longer fails. Tested
      on Sienna Cichlid.
      Cc: Alex Deucher <Alexander.Deucher@amd.com>
      Cc: Christian König <christian.koenig@amd.com>
      Cc: Aaron Liu <aaron.liu@amd.com>
      Cc: Huang Rui <ray.huang@amd.com>
      Signed-off-by: default avatarLuben Tuikov <luben.tuikov@amd.com>
      Reviewed-by: default avatarAlex Deucher <Alexander.Deucher@amd.com>
  5. 02 Jul, 2021 1 commit
  6. 30 Jun, 2021 1 commit
  7. 22 Jun, 2021 6 commits
  8. 20 Jun, 2021 3 commits
  9. 15 Jun, 2021 1 commit
    • Bas Nieuwenhuizen's avatar
      amdgpu: Add vamgr for capture/replay. · 085ee3e4
      Bas Nieuwenhuizen authored
      In Vulkan we have extensions to assist with capture in replay in a
      world where addresses are returned to the application. This involves
      creating buffers at the same VA during replay as they were during
      By itself libdrm_amdgpu already has support for this, but there is
      the obvious failure mode that if another buffer is already allocated
      at that VA things fail spectacularly. This is an actual issue as
      internal buffers, like winsys images or shader binaries also
      participate in the same VA allocation.
      To avoid this problem applications have to create buffers which
      are going to be captured with a flag, and the implementation is to
      separate VA allocation for those buffers to reduce the collision risk:
      "Implementations are expected to separate such buffers in the GPU address
      space so normal allocations will avoid using these addresses. Apps/tools
      should avoid mixing app-provided and implementation-provided addresses for
      to avoid address space allocation conflicts."
      This patch implements that by adding a flag for these buffers and allocating
      address space from the top of the address range instead of the bottom.
      Signed-off-by: Bas Nieuwenhuizen's avatarBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
      Reviewed-by: Christian König's avatarChristian König <christian.koenig@amd.com>
  10. 09 Jun, 2021 6 commits
  11. 07 Jun, 2021 1 commit
  12. 01 Jun, 2021 1 commit
  13. 20 May, 2021 1 commit
  14. 18 May, 2021 1 commit
  15. 06 May, 2021 6 commits
  16. 30 Apr, 2021 2 commits
  17. 22 Apr, 2021 1 commit
  18. 19 Apr, 2021 1 commit
  19. 14 Apr, 2021 2 commits