1. 19 Jul, 2019 1 commit
  2. 19 Feb, 2019 1 commit
    • Ben Skeggs's avatar
      drm/nouveau: prepare for enabling svm with existing userspace interfaces · bfe91afa
      Ben Skeggs authored
      
      For a channel to make use of SVM features, it requires a different GPU MMU
      configuration than we would normally use, which is not desirable to switch
      to unless a client is actively going to use SVM.
      
      In order to supporting SVM without more extensive changes to the userspace
      interfaces, the SVM_INIT ioctl needs to replace the previous configuration
      safely.
      
      The only way we can currently do this safely, accounting for some unlikely
      failure conditions, is to allocate the new VMM without destroying the last
      one, and prioritising the SVM-enabled configuration in the code that cares.
      
      This will get cleaned up again further down the track.
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      bfe91afa
  3. 11 Dec, 2018 3 commits
  4. 18 May, 2018 1 commit
  5. 02 Nov, 2017 2 commits
    • Greg Kroah-Hartman's avatar
      License cleanup: add SPDX GPL-2.0 license identifier to files with no license · b2441318
      Greg Kroah-Hartman authored
      Many source files in the tree are missing licensing information, which
      makes it harder for compliance tools to determine the correct license.
      
      By default all files without license information are under the default
      license of the kernel, which is GPL version 2.
      
      Update the files which contain no license information with the 'GPL-2.0'
      SPDX license identifier.  The SPDX identifier is a legally binding
      shorthand, which can be used instead of the full boiler plate text.
      
      This patch is based on work done by Thomas Gleixner and Kate Stewart and
      Philippe Ombredanne.
      
      How this work was done:
      
      Patches were generated and checked against linux-4.14-rc6 for a subset of
      the use cases:
       - file had no licensing information it it.
       - file was a */uapi/* one with no licensing information in it,
       - file was a */uapi/* one with existing licensing information,
      
      Further patches will be generated in subsequent months to fix up cases
      where non-standard...
      b2441318
    • Ben Skeggs's avatar
  6. 17 Feb, 2017 1 commit
  7. 03 Nov, 2015 1 commit
  8. 28 Aug, 2015 1 commit
    • Ben Skeggs's avatar
      drm/nouveau/nvif: simplify and tidy library interfaces · a01ca78c
      Ben Skeggs authored
      
      A variety of tweaks to the NVIF library interfaces, mostly ripping out
      things that turned out to be not so useful.
      
      - Removed refcounting from nvif_object, callers are expected to not be
        stupid instead.
      - nvif_client is directly reachable from anything derived from nvif_object,
        removing the need for heuristics to locate it
      - _new() versions of interfaces, that allocate memory for the object
        they construct, have been removed.  The vast majority of callers used
        the embedded _init() interfaces.
      - No longer storing constructor arguments (and the data returned from
        nvkm) inside nvif_object, it's more or less unused and just wastes
        memory.
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      a01ca78c
  9. 22 Jan, 2015 1 commit
    • Ben Skeggs's avatar
      drm/nouveau: finalise nvkm namespace switch (no binary change) · be83cd4e
      Ben Skeggs authored
      
      The namespace of NVKM is being changed to nvkm_ instead of nouveau_,
      which will be used for the DRM part of the driver.  This is being
      done in order to make it very clear as to what part of the driver a
      given symbol belongs to, and as a minor step towards splitting the
      DRM driver out to be able to stand on its own (for virt).
      
      Because there's already a large amount of churn here anyway, this is
      as good a time as any to also switch to NVIDIA's device and chipset
      naming to ease collaboration with them.
      
      A comparison of objdump disassemblies proves no code changes.
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      be83cd4e
  10. 15 Sep, 2014 1 commit
  11. 09 Aug, 2014 3 commits
  12. 03 Oct, 2012 2 commits
    • Ben Skeggs's avatar
      drm/nve0: use async copy engine for ttm buffer moves if available · 49981046
      Ben Skeggs authored
      
      Kepler PFIFO lost the ability to address multiple engines from a single
      channel, so we need a separate one for the copy engine.
      
      v2: Marcin Slusarz <marcin.slusarz@gmail.com>
      - regression fix: restore hw accelerated buffer copies
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      49981046
    • Ben Skeggs's avatar
      drm/nouveau: port all engines to new engine module format · ebb945a9
      Ben Skeggs authored
      
      This is a HUGE commit, but it's not nearly as bad as it looks - any problems
      can be isolated to a particular chipset and engine combination.  It was
      simply too difficult to port each one at a time, the compat layers are
      *already* ridiculous.
      
      Most of the changes here are simply to the glue, the process for each of the
      engine modules was to start with a standard skeleton and copy+paste the old
      code into the appropriate places, fixing up variable names etc as needed.
      
      v2: Marcin Slusarz <marcin.slusarz@gmail.com>
      - fix find/replace bug in license header
      
      v3: Ben Skeggs <bskeggs@redhat.com>
      - bump indirect pushbuf size to 8KiB, 4KiB barely enough for userspace and
        left no space for kernel's requirements during GEM pushbuf submission.
      - fix duplicate assignments noticed by clang
      
      v4: Marcin Slusarz <marcin.slusarz@gmail.com>
      - add sparse annotations to nv04_fifo_pause/nv04_fifo_start
      - use ioread32_native/iowrite32_native for fifo control registers
      
      v5: Ben Skeggs <bskeggs@redhat.com>
      - rebase on v3.6-rc4, modified to keep copy engine fix intact
      - nv10/fence: unmap fence bo before destroying
      - fixed fermi regression when using nvidia gr fuc
      - fixed typo in supported dma_mask checking
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      ebb945a9