GitHub/moto-9609/android_kernel_motorola_exynos9610.git
9 years agodrm/nouveau/parent: remove some (now) unnecessary special-case handling
Ben Skeggs [Thu, 20 Aug 2015 04:54:15 +0000 (14:54 +1000)]
drm/nouveau/parent: remove some (now) unnecessary special-case handling

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/object: store object type data outside of handle
Ben Skeggs [Thu, 20 Aug 2015 04:54:15 +0000 (14:54 +1000)]
drm/nouveau/object: store object type data outside of handle

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/device: decouple from engine machinery
Ben Skeggs [Thu, 20 Aug 2015 04:54:15 +0000 (14:54 +1000)]
drm/nouveau/device: decouple from engine machinery

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/device: split user device implementation out on its own
Ben Skeggs [Thu, 20 Aug 2015 04:54:15 +0000 (14:54 +1000)]
drm/nouveau/device: split user device implementation out on its own

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/device: simplify subdev construction
Ben Skeggs [Thu, 20 Aug 2015 04:54:15 +0000 (14:54 +1000)]
drm/nouveau/device: simplify subdev construction

Replaces the piece-by-piece (in response to NV_DEVICE ctor args) device
contruction with a once-off all-or-nothing approach, eliminating some
tricky refcounting issues.  The partial device init capability was only
required by some tools, and has been moved to probe time instead.

Temporarily removes a workaround for some boards where we need to fiddle
with AGP registers before executing the DEVINIT scripts.  A later commit
in this series reinstates it.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/bin: punt client/device argument handling into a common helper
Ben Skeggs [Thu, 20 Aug 2015 04:54:15 +0000 (14:54 +1000)]
drm/nouveau/bin: punt client/device argument handling into a common helper

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/device: tidy ctor/dtor interfaces
Ben Skeggs [Thu, 20 Aug 2015 04:54:15 +0000 (14:54 +1000)]
drm/nouveau/device: tidy ctor/dtor interfaces

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/client: tidy ctor/dtor interfaces
Ben Skeggs [Thu, 20 Aug 2015 04:54:15 +0000 (14:54 +1000)]
drm/nouveau/client: tidy ctor/dtor interfaces

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/platform: remove subclassing of nvkm_device
Ben Skeggs [Thu, 20 Aug 2015 04:54:15 +0000 (14:54 +1000)]
drm/nouveau/platform: remove subclassing of nvkm_device

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/disp: transition outp/conn away from being based on nvkm_object
Ben Skeggs [Thu, 20 Aug 2015 04:54:15 +0000 (14:54 +1000)]
drm/nouveau/disp: transition outp/conn away from being based on nvkm_object

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/i2c: transition pad/ports away from being based on nvkm_object
Ben Skeggs [Thu, 20 Aug 2015 04:54:15 +0000 (14:54 +1000)]
drm/nouveau/i2c: transition pad/ports away from being based on nvkm_object

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/fb: transition nvkm_ram away from being based on nvkm_object
Ben Skeggs [Thu, 20 Aug 2015 04:54:14 +0000 (14:54 +1000)]
drm/nouveau/fb: transition nvkm_ram away from being based on nvkm_object

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/vga: require nvkm_device pointer in accessor functions
Ben Skeggs [Thu, 20 Aug 2015 04:54:14 +0000 (14:54 +1000)]
drm/nouveau/vga: require nvkm_device pointer in accessor functions

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/imem: use object accessor function for suspend/resume
Ben Skeggs [Thu, 20 Aug 2015 04:54:14 +0000 (14:54 +1000)]
drm/nouveau/imem: use object accessor function for suspend/resume

Very much not ideal, but this will be improved later.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/core: wrap direct use of object accessor functions
Ben Skeggs [Thu, 20 Aug 2015 04:54:14 +0000 (14:54 +1000)]
drm/nouveau/core: wrap direct use of object accessor functions

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/mpeg: switch to gpuobj accessor macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:14 +0000 (14:54 +1000)]
drm/nouveau/mpeg: switch to gpuobj accessor macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/gr: switch to gpuobj accessor macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:14 +0000 (14:54 +1000)]
drm/nouveau/gr: switch to gpuobj accessor macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/fifo: switch to gpuobj accessor macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:14 +0000 (14:54 +1000)]
drm/nouveau/fifo: switch to gpuobj accessor macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/dma: switch to gpuobj accessor macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:14 +0000 (14:54 +1000)]
drm/nouveau/dma: switch to gpuobj accessor macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/cipher: switch to gpuobj accessor macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:14 +0000 (14:54 +1000)]
drm/nouveau/cipher: switch to gpuobj accessor macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/xtensa: switch to gpuobj accessor macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:14 +0000 (14:54 +1000)]
drm/nouveau/xtensa: switch to gpuobj accessor macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/falcon: switch to gpuobj accessor macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:14 +0000 (14:54 +1000)]
drm/nouveau/falcon: switch to gpuobj accessor macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/mmu: switch to gpuobj accessor macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:14 +0000 (14:54 +1000)]
drm/nouveau/mmu: switch to gpuobj accessor macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/bar: switch to gpuobj accessor macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:14 +0000 (14:54 +1000)]
drm/nouveau/bar: switch to gpuobj accessor macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/core: switch to gpuobj accessor macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:14 +0000 (14:54 +1000)]
drm/nouveau/core: switch to gpuobj accessor macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/gpuobj: type-safe accessor macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:14 +0000 (14:54 +1000)]
drm/nouveau/gpuobj: type-safe accessor macros

These require an explicit struct nvkm_gpuobj pointer, unlike the previous
macros which take a void *, and work with any nvkm_object.

New semantics require acquiring/releasing a gpuobj before accessing them,
which will be made use of in later patches to greatly reduce the overhead
of accesses, particularly when a direct mmio mapping of the object is not
available (suspend/resume, out of ioremap() space, and on GK20A).

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/xtensa: remove object accessor functions
Ben Skeggs [Thu, 20 Aug 2015 04:54:13 +0000 (14:54 +1000)]
drm/nouveau/xtensa: remove object accessor functions

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/falcon: remove object accessor functions
Ben Skeggs [Thu, 20 Aug 2015 04:54:13 +0000 (14:54 +1000)]
drm/nouveau/falcon: remove object accessor functions

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/imem: remove object accessor functions
Ben Skeggs [Thu, 20 Aug 2015 04:54:13 +0000 (14:54 +1000)]
drm/nouveau/imem: remove object accessor functions

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/fuse: remove object accessor functions
Ben Skeggs [Thu, 20 Aug 2015 04:54:13 +0000 (14:54 +1000)]
drm/nouveau/fuse: remove object accessor functions

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/bios: remove object accessor functions
Ben Skeggs [Thu, 20 Aug 2015 04:54:13 +0000 (14:54 +1000)]
drm/nouveau/bios: remove object accessor functions

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/core: remove last printks
Ben Skeggs [Thu, 20 Aug 2015 04:54:13 +0000 (14:54 +1000)]
drm/nouveau/core: remove last printks

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau: use dev_* for logging
Ben Skeggs [Thu, 20 Aug 2015 04:54:13 +0000 (14:54 +1000)]
drm/nouveau: use dev_* for logging

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/sec: switch to subdev printk macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:13 +0000 (14:54 +1000)]
drm/nouveau/sec: switch to subdev printk macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/pm: switch to subdev printk macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:13 +0000 (14:54 +1000)]
drm/nouveau/pm: switch to subdev printk macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/mpeg: switch to subdev printk macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:13 +0000 (14:54 +1000)]
drm/nouveau/mpeg: switch to subdev printk macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/gr: switch to subdev printk macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:13 +0000 (14:54 +1000)]
drm/nouveau/gr: switch to subdev printk macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/fifo: switch to subdev printk macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:13 +0000 (14:54 +1000)]
drm/nouveau/fifo: switch to subdev printk macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/disp: switch to subdev printk macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:13 +0000 (14:54 +1000)]
drm/nouveau/disp: switch to subdev printk macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/device: switch to dev_printk macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:13 +0000 (14:54 +1000)]
drm/nouveau/device: switch to dev_printk macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/cipher: switch to subdev printk macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:12 +0000 (14:54 +1000)]
drm/nouveau/cipher: switch to subdev printk macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/ce: switch to subdev printk macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:12 +0000 (14:54 +1000)]
drm/nouveau/ce: switch to subdev printk macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/xtensa: switch to subdev printk macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:12 +0000 (14:54 +1000)]
drm/nouveau/xtensa: switch to subdev printk macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/falcon: switch to subdev printk macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:12 +0000 (14:54 +1000)]
drm/nouveau/falcon: switch to subdev printk macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/volt: switch to subdev printk macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:12 +0000 (14:54 +1000)]
drm/nouveau/volt: switch to subdev printk macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/tmr: switch to subdev printk macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:12 +0000 (14:54 +1000)]
drm/nouveau/tmr: switch to subdev printk macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/therm: switch to subdev printk macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:12 +0000 (14:54 +1000)]
drm/nouveau/therm: switch to subdev printk macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/pmu: switch to subdev printk macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:12 +0000 (14:54 +1000)]
drm/nouveau/pmu: switch to subdev printk macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/mxm: switch to subdev printk macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:12 +0000 (14:54 +1000)]
drm/nouveau/mxm: switch to subdev printk macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/mmu: switch to subdev printk macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:12 +0000 (14:54 +1000)]
drm/nouveau/mmu: switch to subdev printk macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/mc: switch to subdev printk macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:12 +0000 (14:54 +1000)]
drm/nouveau/mc: switch to subdev printk macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/ltc: switch to subdev printk macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:12 +0000 (14:54 +1000)]
drm/nouveau/ltc: switch to subdev printk macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/imem: switch to subdev printk macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:12 +0000 (14:54 +1000)]
drm/nouveau/imem: switch to subdev printk macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/ibus: switch to subdev printk macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:12 +0000 (14:54 +1000)]
drm/nouveau/ibus: switch to subdev printk macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/i2c: switch to subdev printk macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:12 +0000 (14:54 +1000)]
drm/nouveau/i2c: switch to subdev printk macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/fb: switch to subdev printk macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:12 +0000 (14:54 +1000)]
drm/nouveau/fb: switch to subdev printk macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/devinit: switch to subdev printk macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:12 +0000 (14:54 +1000)]
drm/nouveau/devinit: switch to subdev printk macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/clk: switch to subdev printk macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:12 +0000 (14:54 +1000)]
drm/nouveau/clk: switch to subdev printk macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/bus: switch to subdev printk macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:11 +0000 (14:54 +1000)]
drm/nouveau/bus: switch to subdev printk macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/bios: switch to subdev printk macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:11 +0000 (14:54 +1000)]
drm/nouveau/bios: switch to subdev printk macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/bar: switch to subdev printk macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:11 +0000 (14:54 +1000)]
drm/nouveau/bar: switch to subdev printk macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/core: type-safe printk macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:11 +0000 (14:54 +1000)]
drm/nouveau/core: type-safe printk macros

These require an explicit pointers to nvkm_object/nvkm_subdev/nvkm_device,
depending on which macros are used.  This is unlike the previous macros
which take a void *, and work for anything derived from nvkm_object (by
way of some awful heuristics).

The output will be a bit confused until everything has been transitioned,
as the logging format used is a more standard style that previously.

In addition, usage of pr_cont(), which doesn't work correctly with the
dev_*() printk functions (and was potentially racy to begin with), will
be replaced.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau: switch to new-style timer macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:11 +0000 (14:54 +1000)]
drm/nouveau: switch to new-style timer macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/mpeg: switch to new-style timer macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:11 +0000 (14:54 +1000)]
drm/nouveau/mpeg: switch to new-style timer macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/gr: switch to new-style timer macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:11 +0000 (14:54 +1000)]
drm/nouveau/gr: switch to new-style timer macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/fifo: switch to new-style timer macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:11 +0000 (14:54 +1000)]
drm/nouveau/fifo: switch to new-style timer macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/disp: switch to new-style timer macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:11 +0000 (14:54 +1000)]
drm/nouveau/disp: switch to new-style timer macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/falcon: switch to new-style timer macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:11 +0000 (14:54 +1000)]
drm/nouveau/falcon: switch to new-style timer macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/pmu: switch to new-style timer macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:11 +0000 (14:54 +1000)]
drm/nouveau/pmu: switch to new-style timer macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/mmu: switch to new-style timer macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:11 +0000 (14:54 +1000)]
drm/nouveau/mmu: switch to new-style timer macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/ltc: switch to new-style timer macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:11 +0000 (14:54 +1000)]
drm/nouveau/ltc: switch to new-style timer macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/ibus: switch to new-style timer macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:11 +0000 (14:54 +1000)]
drm/nouveau/ibus: switch to new-style timer macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/fb: switch to new-style timer macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:11 +0000 (14:54 +1000)]
drm/nouveau/fb: switch to new-style timer macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/clk: switch to new-style timer macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:11 +0000 (14:54 +1000)]
drm/nouveau/clk: switch to new-style timer macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/bus: switch to new-style timer macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:11 +0000 (14:54 +1000)]
drm/nouveau/bus: switch to new-style timer macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/bar: switch to new-style timer macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:10 +0000 (14:54 +1000)]
drm/nouveau/bar: switch to new-style timer macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/tmr: type-safe PTIMER-based delay/wait macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:10 +0000 (14:54 +1000)]
drm/nouveau/tmr: type-safe PTIMER-based delay/wait macros

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: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/kms/nv04: fix incorrect use of register accessors
Ben Skeggs [Thu, 20 Aug 2015 04:54:10 +0000 (14:54 +1000)]
drm/nouveau/kms/nv04: fix incorrect use of register accessors

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/sw: switch to device pri macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:10 +0000 (14:54 +1000)]
drm/nouveau/sw: switch to device pri macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/sec: switch to device pri macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:10 +0000 (14:54 +1000)]
drm/nouveau/sec: switch to device pri macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/pm: switch to device pri macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:10 +0000 (14:54 +1000)]
drm/nouveau/pm: switch to device pri macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/msvld: switch to device pri macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:10 +0000 (14:54 +1000)]
drm/nouveau/msvld: switch to device pri macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/msppp: switch to device pri macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:10 +0000 (14:54 +1000)]
drm/nouveau/msppp: switch to device pri macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/mspdec: switch to device pri macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:10 +0000 (14:54 +1000)]
drm/nouveau/mspdec: switch to device pri macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/mpeg: switch to device pri macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:10 +0000 (14:54 +1000)]
drm/nouveau/mpeg: switch to device pri macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/gr: switch to device pri macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:10 +0000 (14:54 +1000)]
drm/nouveau/gr: switch to device pri macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/fifo: switch to device pri macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:10 +0000 (14:54 +1000)]
drm/nouveau/fifo: switch to device pri macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/disp: switch to device pri macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:10 +0000 (14:54 +1000)]
drm/nouveau/disp: switch to device pri macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/device: switch to device pri macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:10 +0000 (14:54 +1000)]
drm/nouveau/device: switch to device pri macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/cipher: switch to device pri macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:09 +0000 (14:54 +1000)]
drm/nouveau/cipher: switch to device pri macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/ce: switch to device pri macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:09 +0000 (14:54 +1000)]
drm/nouveau/ce: switch to device pri macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/xtensa: switch to device pri macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:09 +0000 (14:54 +1000)]
drm/nouveau/xtensa: switch to device pri macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/falcon: switch to device pri macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:09 +0000 (14:54 +1000)]
drm/nouveau/falcon: switch to device pri macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/tmr: switch to device pri macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:09 +0000 (14:54 +1000)]
drm/nouveau/tmr: switch to device pri macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/therm: switch to device pri macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:09 +0000 (14:54 +1000)]
drm/nouveau/therm: switch to device pri macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/pmu: switch to device pri macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:09 +0000 (14:54 +1000)]
drm/nouveau/pmu: switch to device pri macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/mmu: switch to device pri macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:09 +0000 (14:54 +1000)]
drm/nouveau/mmu: switch to device pri macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/mc: switch to device pri macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:09 +0000 (14:54 +1000)]
drm/nouveau/mc: switch to device pri macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/ltc: switch to device pri macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:09 +0000 (14:54 +1000)]
drm/nouveau/ltc: switch to device pri macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9 years agodrm/nouveau/imem: switch to device pri macros
Ben Skeggs [Thu, 20 Aug 2015 04:54:09 +0000 (14:54 +1000)]
drm/nouveau/imem: switch to device pri macros

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>