1. 21 Aug, 2019 1 commit
    • Dave Airlie's avatar
      Merge tag 'drm-misc-next-2019-08-19' of git://anongit.freedesktop.org/drm/drm-misc into drm-next · 5f680625
      Dave Airlie authored
      drm-misc-next for 5.4:
      
      UAPI Changes:
      
      Cross-subsystem Changes:
      
      Core Changes:
        - dma-buf: add reservation_object_fences helper, relax
                   reservation_object_add_shared_fence, remove
                   reservation_object seq number (and then
                   restored)
        - dma-fence: Shrinkage of the dma_fence structure,
                     Merge dma_fence_signal and dma_fence_signal_locked,
                     Store the timestamp in struct dma_fence in a union with
                     cb_list
      
      Driver Changes:
        - More dt-bindings YAML conversions
        - More removal of drmP.h includes
        - dw-hdmi: Support get_eld and various i2s improvements
        - gm12u320: Few fixes
        - meson: Global cleanup
        - panfrost: Few refactors, Support for GPU heap allocations
        - sun4i: Support for DDC enable GPIO
        - New panels: TI nspire, NEC NL8048HL11, LG Philips LB035Q02,
                      Sharp LS037V7DW01, Sony ACX565AKM, Toppoly TD028TTEC1
                      Toppoly TD043MTEA1
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      [airlied: fixup dma_resv rename fallout]
      
      From: Maxime Ripard <maxime.ripard@bootlin.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190819141923.7l2adietcr2pioct@flea
      5f680625
  2. 19 Aug, 2019 1 commit
  3. 18 Aug, 2019 1 commit
  4. 17 Aug, 2019 5 commits
  5. 16 Aug, 2019 4 commits
  6. 15 Aug, 2019 4 commits
    • Thomas Hellstrom's avatar
      drm/vmwgfx: Assign eviction priorities to resources · a0a63940
      Thomas Hellstrom authored
      TTM provides a means to assign eviction priorities to buffer object. This
      means that all buffer objects with a lower priority will be evicted first
      on memory pressure.
      Use this to make sure surfaces and in particular non-dirty surfaces are
      evicted first. Evicting in particular shaders, cotables and contexts imply
      a significant performance hit on vmwgfx, so make sure these resources are
      evicted last.
      Some buffer objects are sub-allocated in user-space which means we can have
      many resources attached to a single buffer object or resource. In that case
      the buffer object is given the highest priority of the attached resources.
      Signed-off-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
      Reviewed-by: default avatarDeepak Rawat <drawat@vmware.com>
      a0a63940
    • Sam Ravnborg's avatar
      drm/vmwgfx: drop reminaing users of drmP.h · 6ae8748b
      Sam Ravnborg authored
      Drop use of the deprecated drmP.h file from the
      remaining files.
      In several cases the drmP.h include could be removed without
      furter fixes. Other files required a few header files to be added.
      
      In all files divided includes files in blocks and sort them.
      
      v2:
      - fix warning in i386 build wiht HIGHMEM disabled
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Reported-by: kbuild test robot <lkp@intel.com> [warning in i386 build]
      Cc: VMware Graphics <linux-graphics-maintainer@vmware.com>
      Cc: Thomas Hellstrom <thellstrom@vmware.com>
      Cc: David Airlie <airlied@linux.ie>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Reviewed-by: default avatarDeepak Rawat <drawat@vmware.com>
      Signed-off-by: default avatarDeepak Rawat <drawat@vmware.com>
      Signed-off-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
      6ae8748b
    • Sam Ravnborg's avatar
      drm/vmwgfx: drop use of drmP.h in header files · d5c1f011
      Sam Ravnborg authored
      To facilitate removal of drmP.h in the .c
      files remove the use from header files first.
      Fix fallout in the other files.
      
      Sorted include files in blocks and sorted files
      within each block in alphabetical order.
      
      This revealed a dependency from an uapi header to a header
      located below drivers/gpu/drm/vmwgfx/.
      Added FIXME to remind someone to fix this.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Cc: VMware Graphics <linux-graphics-maintainer@vmware.com>
      Cc: Thomas Hellstrom <thellstrom@vmware.com>
      Cc: David Airlie <airlied@linux.ie>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Reviewed-by: default avatarDeepak Rawat <drawat@vmware.com>
      Signed-off-by: default avatarDeepak Rawat <drawat@vmware.com>
      Signed-off-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
      d5c1f011
    • Thomas Hellstrom's avatar
      drm/vmwgfx: Kill unneeded legacy security features · 9c84aeba
      Thomas Hellstrom authored
      At one point, the GPU command verifier and user-space handle manager
      couldn't properly protect GPU clients from accessing each other's data.
      Instead there was an elaborate mechanism to make sure only the active
      master's primary clients could render. The other clients were either
      put to sleep or even killed (if the master had exited). VRAM was
      evicted on master switch. With the advent of render-node functionality,
      we relaxed the VRAM eviction, but the other mechanisms stayed in place.
      
      Now that the GPU  command verifier and ttm object manager properly
      isolates primary clients from different master realms we can remove the
      master switch related code and drop those legacy features.
      Signed-off-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
      Reviewed-by: default avatarDeepak Rawat <drawat@vmware.com>
      9c84aeba
  7. 14 Aug, 2019 24 commits