1. 29 1月, 2020 1 次提交
  2. 27 1月, 2020 1 次提交
  3. 21 1月, 2020 1 次提交
  4. 15 1月, 2020 2 次提交
  5. 07 1月, 2020 1 次提交
  6. 23 12月, 2019 1 次提交
  7. 04 12月, 2019 1 次提交
  8. 14 11月, 2019 1 次提交
  9. 06 11月, 2019 1 次提交
    • T
      drm/vmwgfx: Add surface dirty-tracking callbacks · 9ca7d19f
      Thomas Hellstrom 提交于
      Add the callbacks necessary to implement emulated coherent memory for
      surfaces. Add a flag to the gb_surface_create ioctl to indicate that
      surface memory should be coherent.
      Also bump the drm minor version to signal the availability of coherent
      surfaces.
      
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Matthew Wilcox <willy@infradead.org>
      Cc: Will Deacon <will.deacon@arm.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Rik van Riel <riel@surriel.com>
      Cc: Minchan Kim <minchan@kernel.org>
      Cc: Michal Hocko <mhocko@suse.com>
      Cc: Huang Ying <ying.huang@intel.com>
      Cc: Jérôme Glisse <jglisse@redhat.com>
      Cc: Kirill A. Shutemov <kirill@shutemov.name>
      Signed-off-by: NThomas Hellstrom <thellstrom@vmware.com>
      Reviewed-by: NDeepak Rawat <drawat@vmware.com>
      9ca7d19f
  10. 30 10月, 2019 1 次提交
    • C
      drm/i915/gem: Make context persistence optional · a0e04715
      Chris Wilson 提交于
      Our existing behaviour is to allow contexts and their GPU requests to
      persist past the point of closure until the requests are complete. This
      allows clients to operate in a 'fire-and-forget' manner where they can
      setup a rendering pipeline and hand it over to the display server and
      immediately exit. As the rendering pipeline is kept alive until
      completion, the display server (or other consumer) can use the results
      in the future and present them to the user.
      
      The compute model is a little different. They have little to no buffer
      sharing between processes as their kernels tend to operate on a
      continuous stream, feeding the results back to the client application.
      These kernels operate for an indeterminate length of time, with many
      clients wishing that the kernel was always running for as long as they
      keep feeding in the data, i.e. acting like a DSP.
      
      Not all clients want this persistent "desktop" behaviour and would prefer
      that the contexts are cleaned up immediately upon closure. This ensures
      that when clients are run without hangchecking (e.g. for compute kernels
      of indeterminate runtime), any GPU hang or other unexpected workloads
      are terminated with the process and does not continue to hog resources.
      
      The default behaviour for new contexts is the legacy persistence mode,
      as some desktop applications are dependent upon the existing behaviour.
      New clients will have to opt in to immediate cleanup on context
      closure. If the hangchecking modparam is disabled, so is persistent
      context support -- all contexts will be terminated on closure.
      
      We expect this behaviour change to be welcomed by compute users, who
      have often been caught between a rock and a hard place. They disable
      hangchecking to avoid their kernels being "unfairly" declared hung, but
      have also experienced true hangs that the system was then unable to
      clean up. Naturally, this leads to bug reports.
      
      Testcase: igt/gem_ctx_persistence
      Link: https://github.com/intel/compute-runtime/pull/228Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Cc: Michał Winiarski <michal.winiarski@intel.com>
      Cc: Jon Bloomfield <jon.bloomfield@intel.com>
      Reviewed-by: NJon Bloomfield <jon.bloomfield@intel.com>
      Reviewed-by: NTvrtko Ursulin <tvrtko.ursulin@intel.com>
      Reviewed-by: NJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Acked-by: NJason Ekstrand <jason@jlekstrand.net>
      Link: https://patchwork.freedesktop.org/patch/msgid/20191029202338.8841-1-chris@chris-wilson.co.uk
      a0e04715
  11. 24 10月, 2019 1 次提交
  12. 23 10月, 2019 1 次提交
  13. 19 10月, 2019 1 次提交
  14. 18 10月, 2019 1 次提交
  15. 15 10月, 2019 4 次提交
  16. 11 10月, 2019 3 次提交
  17. 04 10月, 2019 1 次提交
  18. 03 10月, 2019 2 次提交
  19. 21 9月, 2019 1 次提交
  20. 20 9月, 2019 1 次提交
  21. 14 9月, 2019 1 次提交
  22. 15 8月, 2019 1 次提交
    • L
      drm/etnaviv: implement softpin · 088880dd
      Lucas Stach 提交于
      With softpin we allow the userspace to take control over the GPU virtual
      address space. The new capability is relected by a bump of the minor DRM
      version. There are a few restrictions for userspace to take into
      account:
      
      1. The kernel reserves a bit of the address space to implement zero page
      faulting and mapping of the kernel internal ring buffer. Userspace can
      query the kernel for the first usable GPU VM address via
      ETNAVIV_PARAM_SOFTPIN_START_ADDR.
      
      2. We only allow softpin on GPUs, which implement proper process
      separation via PPAS. If softpin is not available the softpin start
      address will be set to ~0.
      
      3. Softpin is all or nothing. A submit using softpin must not use any
      address fixups via relocs.
      Signed-off-by: NLucas Stach <l.stach@pengutronix.de>
      Reviewed-by: NPhilipp Zabel <p.zabel@pengutronix.de>
      Reviewed-by: NGuido Günther <agx@sigxcpu.org>
      088880dd
  23. 13 8月, 2019 2 次提交
  24. 09 8月, 2019 1 次提交
  25. 02 8月, 2019 1 次提交
  26. 26 7月, 2019 1 次提交
  27. 23 7月, 2019 1 次提交
    • N
      drm: Add SPI connector type · fc06bf1d
      Noralf Trønnes 提交于
      tinydrm drivers announce DRM_MODE_CONNECTOR_VIRTUAL for its SPI drivers.
      Add a SPI connector type to match the actual connector.
      
      X will list the connector as Unknown:
      
      X.Org X Server 1.19.2
      Release Date: 2017-03-02
      <...>
      [ 53523.905] (II) modeset(0): Output Unknown19-1 has no monitor section
      [ 53523.908] (II) modeset(0): EDID for output Unknown19-1
      [ 53523.910] (II) modeset(0): Printing probed modes for output Unknown19-1
      [ 53523.911] (II) modeset(0): Modeline "320x240"x0.0    0.00  320 320 320 320  240 240 240 240 (0.0 kHz eP)
      [ 53523.911] (II) modeset(0): Output Unknown19-1 connected
      [ 53523.912] (II) modeset(0): Using exact sizes for initial modes
      [ 53523.912] (II) modeset(0): Output Unknown19-1 using initial mode 320x240 +0+0
      
      The weston source shows that it will be listed as UNNAMED.
      
      v2: Split patch in core and driver changes, expand commit message (Daniel)
      
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Reviewed-by: NSam Ravnborg <sam@ravnborg.org>
      Acked-by: NDavid Lechner <david@lechnology.com>
      Signed-off-by: NNoralf Trønnes <noralf@tronnes.org>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190719155916.62465-2-noralf@tronnes.org
      fc06bf1d
  28. 17 7月, 2019 1 次提交
  29. 16 7月, 2019 1 次提交
  30. 04 7月, 2019 1 次提交
  31. 22 6月, 2019 1 次提交
  32. 21 6月, 2019 1 次提交