1. 22 Jan, 2015 40 commits
    • Ben Skeggs's avatar
      drm/nouveau/volt: namespace + nvidia gpu names (no binary change) · de3aaa66
      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>
      de3aaa66
    • Ben Skeggs's avatar
      drm/nouveau/timer: namespace + nvidia gpu names (no binary change) · 9e79a853
      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>
      9e79a853
    • Ben Skeggs's avatar
      drm/nouveau/therm: namespace + nvidia gpu names (no binary change) · e1404611
      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>
      e1404611
    • Ben Skeggs's avatar
      drm/nouveau/pmu: namespace + nvidia gpu names (no binary change) · 21b13791
      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>
      21b13791
    • Ben Skeggs's avatar
      drm/nouveau/mmu: namespace + nvidia gpu names (no binary change) · 42594600
      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>
      42594600
    • Ben Skeggs's avatar
      drm/nouveau/mc: namespace + nvidia gpu names (no binary change) · d7e5fcd2
      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>
      d7e5fcd2
    • Ben Skeggs's avatar
      drm/nouveau/ltc: namespace + nvidia gpu names (no binary change) · 2799bba6
      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>
      2799bba6
    • Ben Skeggs's avatar
      drm/nouveau/instmem: namespace + nvidia gpu names (no binary change) · 78b2b4e7
      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>
      78b2b4e7
    • Ben Skeggs's avatar
      drm/nouveau/ibus: namespace + nvidia gpu names (no binary change) · 5ecfadeb
      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>
      5ecfadeb
    • Ben Skeggs's avatar
      drm/nouveau/i2c: namespace + nvidia gpu names (no binary change) · b9ec1424
      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>
      b9ec1424
    • Ben Skeggs's avatar
      drm/nouveau/gpio: namespace + nvidia gpu names (no binary change) · 4e7659fc
      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>
      4e7659fc
    • Ben Skeggs's avatar
      drm/nouveau/fuse: namespace + nvidia gpu names (no binary change) · 630ec6c0
      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>
      630ec6c0
    • Ben Skeggs's avatar
      drm/nouveau/fb: namespace + nvidia gpu names (no binary change) · 639c308e
      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>
      639c308e
    • Ben Skeggs's avatar
      drm/nouveau/devinit: namespace + nvidia gpu names (no binary change) · a8c4362b
      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>
      a8c4362b
    • Ben Skeggs's avatar
      drm/nouveau/clk: namespace + nvidia gpu names (no binary change) · 7632b30e
      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>
      7632b30e
    • Ben Skeggs's avatar
      drm/nouveau/bus: namespace + nvidia gpu names (no binary change) · 5f8824de
      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>
      5f8824de
    • Ben Skeggs's avatar
      drm/nouveau/bios: namespace + nvidia gpu names (no binary change) · d390b480
      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>
      d390b480
    • Ben Skeggs's avatar
      drm/nouveau/bar: namespace + nvidia gpu names (no binary change) · 245dcfe9
      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>
      245dcfe9
    • Ben Skeggs's avatar
      drm/nouveau/core: namespace + nvidia gpu names (no binary change) · 5025407b
      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>
      5025407b
    • Ben Skeggs's avatar
      drm/nouveau/nvif: namespace of nvkm accessors (no binary change) · 989aa5b7
      Ben Skeggs authored
      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: default avatarBen Skeggs <bskeggs@redhat.com>
      989aa5b7
    • Ben Skeggs's avatar
      drm/nouveau/core: split device index enum out on its own · c4345146
      Ben Skeggs authored
      To avoid having to include core/device.h where it's not otherwise
      required.
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      c4345146
    • Ben Skeggs's avatar
      drm/nouveau/mspdec: separate from vp · 37a5d028
      Ben Skeggs authored
      Switch to NVIDIA's name for the device.
      
      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.
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      37a5d028
    • Ben Skeggs's avatar
      drm/nouveau/msenc: rename from venc (no binary change) · bd8369ec
      Ben Skeggs authored
      Switch to NVIDIA's name for the device.
      
      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>
      bd8369ec
    • Ben Skeggs's avatar
      drm/nouveau/sw: rename from software (no binary change) · 8700287b
      Ben Skeggs authored
      Shorter device name, make consistent with our engine 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: default avatarBen Skeggs <bskeggs@redhat.com>
      8700287b
    • Ben Skeggs's avatar
      drm/nouveau/msppp: rename from ppp (no binary change) · fd8666f7
      Ben Skeggs authored
      Switch to NVIDIA's name for the device.
      
      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>
      fd8666f7
    • Ben Skeggs's avatar
      drm/nouveau/pm: rename from perfmon (no binary change) · d5752b9b
      Ben Skeggs authored
      Switch to NVIDIA's name for the device.
      
      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>
      d5752b9b
    • Ben Skeggs's avatar
      drm/nouveau/gr: rename from graph (no binary change) · b8bf04e1
      Ben Skeggs authored
      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: default avatarBen Skeggs <bskeggs@redhat.com>
      b8bf04e1
    • Ben Skeggs's avatar
      drm/nouveau/ce: rename from copy (no binary change) · aedf24ff
      Ben Skeggs authored
      Switch to NVIDIA's name for the device.
      
      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>
      aedf24ff
    • Ben Skeggs's avatar
      drm/nouveau/sec: separate from cipher (formerly crypt) · 93d90ad7
      Ben Skeggs authored
      Switch to NVIDIA's name for the device.
      
      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.
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      93d90ad7
    • Ben Skeggs's avatar
      drm/nouveau/msvld: separate from bsp · eccf7e8a
      Ben Skeggs authored
      Switch to NVIDIA's name for the device.
      
      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.
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      eccf7e8a
    • Ben Skeggs's avatar
      drm/nouveau/mmu: rename from vmmgr (no binary change) · 5ce3bf3c
      Ben Skeggs authored
      Switch to NVIDIA's name for the device.
      
      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>
      5ce3bf3c
    • Ben Skeggs's avatar
      drm/nouveau/pmu: rename from pwr (no binary change) · ebb58dc2
      Ben Skeggs authored
      Switch to NVIDIA's name for the device.
      
      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>
      ebb58dc2
    • Ben Skeggs's avatar
      drm/nouveau/clk: rename from clock (no binary change) · f3867f43
      Ben Skeggs authored
      Rename to match the Linux subsystem responsible for the same kind of
      things.  Will be investigating how feasible it will be to expose the
      GPU clock trees with it at some point.
      
      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>
      f3867f43
    • Ben Skeggs's avatar
      drm/nouveau: remove symlinks, move core/ to nvkm/ (no code changes) · c39f472e
      Ben Skeggs authored
      The symlinks were annoying some people, and they're not used anywhere
      else in the kernel tree.  The include directory structure has been
      changed so that symlinks aren't needed anymore.
      
      NVKM has been moved from core/ to nvkm/ to make it more obvious as to
      what the directory is for, and as some minor prep for when NVKM gets
      split out into its own module (virt) at a later date.
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      c39f472e
    • Alexandre Courbot's avatar
      drm/nouveau: merge nouveau_platform.ko into nouveau.ko · 055a65d5
      Alexandre Courbot authored
      Having the two modules separated causes various unneeded complications,
      including having to export symbols accessed between the modules. Make
      things simpler by compiling platform device support into nouveau.ko.
      Platform device support remains optional and is only compiled on Tegra.
      Signed-off-by: default avatarAlexandre Courbot <acourbot@nvidia.com>
      Reviewed-by: default avatarVince Hsu <vinceh@nvidia.com>
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      055a65d5
    • Maarten Lankhorst's avatar
      drm/nouveau: dont switch vt on suspend · 4dc63933
      Maarten Lankhorst authored
      Restore the nv50 cursor bo on resume, and load the lut in
      nv50_display_display_init so it gets set on resume too.
      
      Tested on a fermi and a curie.
      Signed-off-by: default avatarMaarten Lankhorst <maarten.lankhorst@ubuntu.com>
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      4dc63933
    • Rickard Strandqvist's avatar
      drm/nouveau/dispnv04: Remove some unused functions · 4d8bb03b
      Rickard Strandqvist authored
      Removes some functions that are not used anywhere:
      nv04_display_late_takedown() nv04_display_early_init()
      
      This was partially found by using a static code analysis program
      called cppcheck.
      Signed-off-by: default avatarRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      4d8bb03b
    • Rickard Strandqvist's avatar
      drm/nouveau/gem: Remove unused function · 1119eef0
      Rickard Strandqvist authored
      Remove the function domain_to_ttm() that is not used anywhere.
      
      This was partially found by using a static code analysis program
      called cppcheck.
      Signed-off-by: default avatarRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      1119eef0
    • Rickard Strandqvist's avatar
      drm/nouveau/bo: Remove unused function · 26b40d81
      Rickard Strandqvist authored
      Remove the function nouveau_bo_rd16() that is not used anywhere.
      
      This was partially found by using a static code analysis program
      called cppcheck.
      Signed-off-by: default avatarRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      26b40d81
    • Vince Hsu's avatar
      drm/nouveau/clk: allow users to enable auto mode when loading driver · 9f79b5ce
      Vince Hsu authored
      This patch adds one option for the boot config strings "NvClkMode*", so
      that we can enable the "auto" mode when loading module.
      Signed-off-by: default avatarVince Hsu <vinceh@nvidia.com>
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      9f79b5ce