1. 28 8月, 2015 4 次提交
    • B
      drm/nouveau/nvif: simplify and tidy library interfaces · a01ca78c
      Ben Skeggs 提交于
      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: NBen Skeggs <bskeggs@redhat.com>
      a01ca78c
    • B
      drm/nouveau: use dev_* for logging · 9ad97ede
      Ben Skeggs 提交于
      Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
      9ad97ede
    • B
      drm/nouveau/tmr: type-safe PTIMER-based delay/wait macros · 56f67dc1
      Ben Skeggs 提交于
      These require an explicit struct nvkm_device pointer, unlike the previous
      macros which take a void *, and work for (almost) anything derived from
      nvkm_object by using some heuristics.
      
      These macros are more general than the previous ones, and can be used to
      handle PTIMER-based busy-waits (will be used in later devinit fixes) as
      well as more complicated wait conditions.
      Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
      56f67dc1
    • B
      drm/nouveau/tmr: cosmetic changes · cb8bb9ce
      Ben Skeggs 提交于
      This is purely preparation for upcoming commits, there should be no
      code changes here.
      Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
      cb8bb9ce
  2. 22 1月, 2015 3 次提交
    • B
      drm/nouveau: finalise nvkm namespace switch (no binary change) · be83cd4e
      Ben Skeggs 提交于
      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: NBen Skeggs <bskeggs@redhat.com>
      be83cd4e
    • B
      drm/nouveau/nvif: namespace of nvkm accessors (no binary change) · 989aa5b7
      Ben Skeggs 提交于
      NVKM is having it's namespace switched to nvkm_, which will conflict
      with these functions (which are workarounds for the fact that as of
      yet, we still aren't able to split DRM and NVKM completely).
      
      A comparison of objdump disassemblies proves no code changes.
      Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
      989aa5b7
    • B
      drm/nouveau/gr: rename from graph (no binary change) · b8bf04e1
      Ben Skeggs 提交于
      Shorter device name, match Tegra and our existing enums.
      
      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: NBen Skeggs <bskeggs@redhat.com>
      b8bf04e1
  3. 02 12月, 2014 1 次提交
  4. 15 9月, 2014 1 次提交
  5. 10 8月, 2014 13 次提交
  6. 26 3月, 2014 4 次提交
  7. 07 1月, 2014 1 次提交
  8. 14 11月, 2013 1 次提交
  9. 08 11月, 2013 1 次提交
  10. 09 10月, 2013 2 次提交
  11. 28 6月, 2013 1 次提交
  12. 26 4月, 2013 1 次提交
  13. 29 3月, 2013 1 次提交
  14. 11 3月, 2013 1 次提交
  15. 29 11月, 2012 2 次提交
  16. 19 11月, 2012 1 次提交
  17. 03 10月, 2012 2 次提交
    • B
      drm/nve0: use async copy engine for ttm buffer moves if available · 49981046
      Ben Skeggs 提交于
      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: NBen Skeggs <bskeggs@redhat.com>
      49981046
    • B
      drm/nouveau: port all engines to new engine module format · ebb945a9
      Ben Skeggs 提交于
      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: NBen Skeggs <bskeggs@redhat.com>
      ebb945a9