Ben Skeggs
af3082b3c6
drm/nouveau/fifo: switch to new-style timer macros
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:21 +10:00
Ben Skeggs
3a020b4dfc
drm/nouveau/disp: switch to new-style timer macros
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:21 +10:00
Ben Skeggs
6ed5c16824
drm/nouveau/falcon: switch to new-style timer macros
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:20 +10:00
Ben Skeggs
2ebfa1bc6f
drm/nouveau/kms/nv04: fix incorrect use of register accessors
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:19 +10:00
Ben Skeggs
01d64afc2e
drm/nouveau/sw: switch to device pri macros
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:19 +10:00
Ben Skeggs
b8ad561e55
drm/nouveau/sec: switch to device pri macros
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:19 +10:00
Ben Skeggs
846e831d95
drm/nouveau/pm: switch to device pri macros
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:19 +10:00
Ben Skeggs
f2d85ad1a6
drm/nouveau/msvld: switch to device pri macros
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:18 +10:00
Ben Skeggs
320ca25131
drm/nouveau/msppp: switch to device pri macros
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:18 +10:00
Ben Skeggs
54118c74fb
drm/nouveau/mspdec: switch to device pri macros
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:18 +10:00
Ben Skeggs
636e37aa97
drm/nouveau/mpeg: switch to device pri macros
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:18 +10:00
Ben Skeggs
276836d46e
drm/nouveau/gr: switch to device pri macros
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:17 +10:00
Ben Skeggs
8774440390
drm/nouveau/fifo: switch to device pri macros
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:17 +10:00
Ben Skeggs
2fde1f1c34
drm/nouveau/disp: switch to device pri macros
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:17 +10:00
Ben Skeggs
f9793bb7ed
drm/nouveau/device: switch to device pri macros
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:17 +10:00
Ben Skeggs
b958bf916d
drm/nouveau/cipher: switch to device pri macros
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:17 +10:00
Ben Skeggs
29e9f51094
drm/nouveau/ce: switch to device pri macros
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:17 +10:00
Ben Skeggs
2ef770f743
drm/nouveau/xtensa: switch to device pri macros
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:16 +10:00
Ben Skeggs
96975248ee
drm/nouveau/falcon: switch to device pri macros
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:16 +10:00
Ben Skeggs
8699745a2b
drm/nouveau/vp: cosmetic changes
...
This is purely preparation for upcoming commits, there should be no
code changes here.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:13 +10:00
Ben Skeggs
226dcefe70
drm/nouveau/sw: cosmetic changes
...
This is purely preparation for upcoming commits, there should be no
code changes here.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:13 +10:00
Ben Skeggs
c0e297dc61
drm/nouveau/sec: cosmetic changes
...
This is purely preparation for upcoming commits, there should be no
code changes here.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:13 +10:00
Ben Skeggs
8c1aeaa139
drm/nouveau/pm: cosmetic changes
...
This is purely preparation for upcoming commits, there should be no
code changes here.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:12 +10:00
Ben Skeggs
74137ffcd1
drm/nouveau/msvld: cosmetic changes
...
This is purely preparation for upcoming commits, there should be no
code changes here.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:12 +10:00
Ben Skeggs
fd507a53ab
drm/nouveau/msppp: cosmetic changes
...
This is purely preparation for upcoming commits, there should be no
code changes here.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:12 +10:00
Ben Skeggs
11271f9f8f
drm/nouveau/mspdec: cosmetic changes
...
This is purely preparation for upcoming commits, there should be no
code changes here.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:12 +10:00
Ben Skeggs
b19de4f3d7
drm/nouveau/mpeg: cosmetic changes
...
This is purely preparation for upcoming commits, there should be no
code changes here.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:12 +10:00
Ben Skeggs
bfee3f3d97
drm/nouveau/gr: cosmetic changes
...
This is purely preparation for upcoming commits, there should be no
code changes here.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:11 +10:00
Ben Skeggs
6189f1b093
drm/nouveau/fifo: cosmetic changes
...
This is purely preparation for upcoming commits, there should be no
code changes here.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:11 +10:00
Ben Skeggs
a317aa21be
drm/nouveau/dma: cosmetic changes
...
This is purely preparation for upcoming commits, there should be no
code changes here.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:11 +10:00
Ben Skeggs
fd166a1832
drm/nouveau/disp: cosmetic changes
...
This is purely preparation for upcoming commits, there should be no
code changes here.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:11 +10:00
Ben Skeggs
e2f1cf253e
drm/nouveau/cipher: cosmetic changes
...
This is purely preparation for upcoming commits, there should be no
code changes here.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:11 +10:00
Ben Skeggs
d9261a6837
drm/nouveau/ce: cosmetic changes
...
This is purely preparation for upcoming commits, there should be no
code changes here.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:11 +10:00
Ben Skeggs
d8c304b504
drm/nouveau/bsp: cosmetic changes
...
This is purely preparation for upcoming commits, there should be no
code changes here.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:10 +10:00
Ben Skeggs
f0961867b8
drm/nouveau/xtensa: cosmetic changes
...
This is purely preparation for upcoming commits, there should be no
code changes here.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:10 +10:00
Ben Skeggs
b26ada6fed
drm/nouveau/falcon: cosmetic changes
...
This is purely preparation for upcoming commits, there should be no
code changes here.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:10 +10:00
Ben Skeggs
cb8bb9cedb
drm/nouveau/tmr: cosmetic changes
...
This is purely preparation for upcoming commits, there should be no
code changes here.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:09 +10:00
Ben Skeggs
1f5bffca22
drm/nouveau/mmu: cosmetic changes
...
This is purely preparation for upcoming commits, there should be no
code changes here.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:09 +10:00
Ben Skeggs
c44c06aeeb
drm/nouveau/imem: cosmetic changes
...
This is purely preparation for upcoming commits, there should be no
code changes here.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:08 +10:00
Ben Skeggs
b1e4553cb1
drm/nouveau/fb: cosmetic changes
...
This is purely preparation for upcoming commits, there should be no
code changes here.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:08 +10:00
Ben Skeggs
9ace404b10
drm/nouveau/device: include core/device.h automatically for subdevs/engines
...
Pretty much every subdev/engine is going to need access to nvkm_device
shortly to touch registers and/or output messages.
The odd placement of the includes is necessary to work around some
inter-dependencies that currently exist. This will be fixed later.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:07 +10:00
Ben Skeggs
6d0d40e7a5
drm/nouveau/device: add direct pointer to struct device
...
A future commit will hide the platform/pci specifics from nvkm_device,
but it's still very useful in a lot of places to have access to the
Linux device struct.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:06 +10:00
Ben Skeggs
741d778ea0
drm/nouveau/device: add direct pointers to subdevs from nvkm_device
...
Will be used in upcoming commits to remove the need for lookup/runtime
type-checking functions when accessing foreign subdevs.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:06 +10:00
Ben Skeggs
0d5dd3f301
drm/nouveau/lib: various tweaks
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:05 +10:00
Ben Skeggs
2a89359415
drm/nouveau/disp/dp: gm1xx appears to have same dp lane ordering as gm2xx
...
Fixes 2-lane DP on Quadro K620.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:05 +10:00
Ben Skeggs
fe0f5d0880
drm/nouveau/disp/dp: fix some tx_pu mishandling
...
We only need to mask 0x0f on GM2xx, and want to keep the higher bits on
earlier cards.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:05 +10:00
Hans de Goede
0a363e85cd
drm/nouveau/nv46: Change mc subdev oclass from nv44 to nv4c
...
MSI interrupts appear to not work for nv46 based cards. Change the mc
subdev oclass for these cards from nv44 to nv4c, the nv4c mc code is
identical to the nv44 mc code except that it does not use msi
(it does not define a msi_rearm callback).
BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=90435
Signed-off-by: Hans de Goede <hdegoede@redhat.com >
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:04 +10:00
Samuel Pitoiset
2df0bf57f8
drm/nouveau/pm/gf100: only use PBFB_BROADCAST.PM_UNK100 for PBFB signals
...
High level hardware events related to PBFB will monitor all partitions.
While we are at it, fix bitfield for this mux.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:04 +10:00
Samuel Pitoiset
8feece04db
drm/nouveau/pm/gf100: remove multiple definitions of GPC_DOM signal 0x0e
...
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:04 +10:00
Samuel Pitoiset
9b4dc66d47
drm/nouveau/pm/gf100: remove undefined TEX.PM_UNKC8 mux
...
This mux only exists on GF108+ (except for GF110 one), but since it is
not used by the userspace we can drop it for now.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:04 +10:00