06784090ecb3f925616fc797164a74b03d5c0968 |
|
11-Jul-2011 |
Ben Skeggs <bskeggs@redhat.com> |
drm/nvc0/gr: add initial support for nvd9, not quite there yet.. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/drivers/gpu/drm/nouveau/nvc0_graph.c
|
ffe2dee49023c2a47ef7e177ceb22ec6bcaecc11 |
|
11-Nov-2011 |
Christoph Bumiller <e0425955@student.tuwien.ac.at> |
drm/nvc0/gr: fix TP init for transform feedback offset queries Without this, they return bytes written since the last update of the offset, but we want the full offset. Trace shows setting this on GPC[0]/TP[0] is enough. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/drivers/gpu/drm/nouveau/nvc0_graph.c
|
6688a4dd20bf774d654203a0629d454447b80502 |
|
28-Oct-2011 |
Ben Skeggs <bskeggs@redhat.com> |
drm/nvc0/gr: fixup the mmio list register writes for 0xc1 Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/drivers/gpu/drm/nouveau/nvc0_graph.c
|
e0cd3608135b2ed8eddbe3fdf048d22e0593d836 |
|
30-Aug-2011 |
Paul Gortmaker <paul.gortmaker@windriver.com> |
gpu: add module.h to drivers/gpu files as required. So that we don't get build failures once the implicit module.h presence is removed. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
/drivers/gpu/drm/nouveau/nvc0_graph.c
|
a14845121c1e9cfe302d23ca4ffcfc62cf8e1033 |
|
26-Aug-2011 |
Ben Skeggs <bskeggs@redhat.com> |
drm/nvc0/fb: slightly improve PMFB intr handling, move out of nvc0_graph.c I'm still not certain how to determine the number of SUBPs are present on a given board. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/drivers/gpu/drm/nouveau/nvc0_graph.c
|
2834f86864a10a1cbad1e0543f68b4edb2e03bc7 |
|
08-Aug-2011 |
Ben Skeggs <bskeggs@redhat.com> |
drm/nvc0/gr: remove MODULE_FIRMWARE() lines We don't use these by default anymore, and there's been complaints from a number of places thinking that the firmware blobs are required still. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/drivers/gpu/drm/nouveau/nvc0_graph.c
|
e425e0b33990575fd1c41671725b36247a325ea9 |
|
29-Jun-2011 |
Ben Skeggs <bskeggs@redhat.com> |
drm/nvc0/gr: copy GPC mpart config from PFFB Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/drivers/gpu/drm/nouveau/nvc0_graph.c
|
3c23a7b8bc6d78f906bbba5eea80b1f8b1002ef9 |
|
24-Jun-2011 |
Ben Skeggs <bskeggs@redhat.com> |
drm/nvc0/gr: add support for nvcf chipset untested, written from a trace, accel disabled by default until it is Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/drivers/gpu/drm/nouveau/nvc0_graph.c
|
6c320fef5835240bf414b54e697e517a160663f4 |
|
20-Jul-2011 |
Ben Skeggs <bskeggs@redhat.com> |
drm/nouveau: pass flag to engine fini() method on suspend It may not be necessary to fail in certain cases (such as failing to idle) on module unload, whereas on suspend it's important to ensure a consistent state can be restored on resume. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/drivers/gpu/drm/nouveau/nvc0_graph.c
|
60f7ab06651db7d9916c0d9138ed3b12676e920d |
|
25-Jun-2011 |
Dan Carpenter <error27@gmail.com> |
drm/nouveau: error paths leak in nvc0_graph_construct_context() Two of these error paths returned without freeing "ctx". Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/drivers/gpu/drm/nouveau/nvc0_graph.c
|
0b33c936599d75b8d8ff6868fa0cbd5676d88b89 |
|
19-Jun-2011 |
Ben Skeggs <bskeggs@redhat.com> |
drm/nvc0: push prunk140 irq messages to debug loglevel We know they happen, we don't know why. They're annoying, so hide them from users for the moment. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/drivers/gpu/drm/nouveau/nvc0_graph.c
|
6e32fedc8b50d3571bdec4e9849e45659ac96599 |
|
03-Jun-2011 |
Ben Skeggs <bskeggs@redhat.com> |
drm/nouveau: will need to specify channel for vm-ful gpuobj allocations Abuses existing gpuobj_new() chan argument for this, which in turn forces all NVOBJ_FLAG_VM allocations to be done from the global heap, not suballocated from the channel's private heap. Not a problem though in practise. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/drivers/gpu/drm/nouveau/nvc0_graph.c
|
066d65db11fe4049bae52199c4b76fd6d9e95d47 |
|
25-May-2011 |
Ben Skeggs <bskeggs@redhat.com> |
drm/nvc0/gr: calculate magicgpc918 ourselves Not a clue what it is yet, but we get the same numbers as NVIDIA now. My 465 didn't seem to care to greatly *what* I bashed into these registers.. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/drivers/gpu/drm/nouveau/nvc0_graph.c
|
a219997a3b17baea478c9e99ac62b8b6b78b15d4 |
|
26-May-2011 |
Ben Skeggs <bskeggs@redhat.com> |
drm/nvc0/gr: add some missing magics for 0xc1/0xc8/0xce Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/drivers/gpu/drm/nouveau/nvc0_graph.c
|
0411de854898a2402cf4bd915bed7ec9a6b76f9a |
|
25-May-2011 |
Ben Skeggs <bskeggs@redhat.com> |
drm/nvc0/gr: import and use our own fuc by default The ability to use NVIDIA's fuc has been retained *temporarily* in order to better debug any issues that may be lingering in our initial attempt at writing this ucode. Once I'm fairly confident we're okay, it'll be removed. There's a number of things not implemented by this fuc currently, but most of it is sets of state that our context setup would not have used anyway. No doubt we'll find out what they're for at some point, and implement it if required. This has been tested on 0xc0/0xc4 thus far, and from what I could tell it worked as well as NVIDIA's. It's also been tested on 0xc1, but even with NVIDIA's fuc that chipset doesn't work correctly with nouveau yet. 0xc3/0xc8/0xce should in theory be supported too, but I don't have the hardware to check that. There's no doubt numerous bugs to squash yet, please report any! Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/drivers/gpu/drm/nouveau/nvc0_graph.c
|
f8522fc80f2e0392fc44b069f61721bd25907270 |
|
25-May-2011 |
Ben Skeggs <bskeggs@redhat.com> |
drm/nvc0: fix suspend/resume of PGRAPH/PCOPYn We need the physical VRAM address in vinst, even for objects mapped into a vm, as the gpuobj suspend/resume code uses PMEM to access the object. Previously, vinst was overloaded to mean "VRAM address" for !VM objects, and "VM address" for VM objects, causing the wrong data to be accessed during suspend/resume. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/drivers/gpu/drm/nouveau/nvc0_graph.c
|
e1b89b1ca59f558d4f7ec18e0b6a8eb34437c8d9 |
|
24-May-2011 |
Ben Skeggs <bskeggs@redhat.com> |
drm/nvc0/gr: some initial state modifications Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/drivers/gpu/drm/nouveau/nvc0_graph.c
|
847adea2c701b519b43d8c958c5082a22eeba346 |
|
24-May-2011 |
Ben Skeggs <bskeggs@redhat.com> |
drm/nvc0/gr: macro to determine fermi class, will use it in a few places Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/drivers/gpu/drm/nouveau/nvc0_graph.c
|
aa58c4056355afd349aa4a0092de5141a425142a |
|
17-Apr-2011 |
Ben Skeggs <bskeggs@redhat.com> |
drm/nvc0/gr: calculate some more of our magic numbers Again, doesn't quite match NVIDIA's, but not sure it really matters. This will however, match the same rules we use to calculate the other related grctx magics. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/drivers/gpu/drm/nouveau/nvc0_graph.c
|
1d97f4acd31f605452ed042bbd9ff5802e37d477 |
|
12-Apr-2011 |
Ben Skeggs <bskeggs@redhat.com> |
drm/nvc0/gr: no need to store context in graph_fini() PFIFO kickoff should have handled this for us. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/drivers/gpu/drm/nouveau/nvc0_graph.c
|
fe799114e2f0de37c3ddf900d15fa5e85936deba |
|
12-Apr-2011 |
Ben Skeggs <bskeggs@redhat.com> |
drm/nvc0/gr: better handling of fuc firmware Allows per-chipset firmware to be installed, and keeps a copy in memory for suspend/resume purposes. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/drivers/gpu/drm/nouveau/nvc0_graph.c
|
d5a27370b507be810bd32a01fe493adef7ad85d9 |
|
01-Apr-2011 |
Ben Skeggs <bskeggs@redhat.com> |
drm/nvc0: implement support for copy engines Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/drivers/gpu/drm/nouveau/nvc0_graph.c
|
a82dd49f14742e2529f79feb6360e0993277e788 |
|
01-Apr-2011 |
Ben Skeggs <bskeggs@redhat.com> |
drm/nouveau: remove remnants of nouveau_pgraph_engine Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/drivers/gpu/drm/nouveau/nvc0_graph.c
|
7a45cd19c95a383d81a7b2f5297958c0c16b5a08 |
|
01-Apr-2011 |
Ben Skeggs <bskeggs@redhat.com> |
drm/nvc0/gr: move to exec engine interfaces Much nicer to do that nv50, the code was pretty much written to expect such a change in the future. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/drivers/gpu/drm/nouveau/nvc0_graph.c
|
4ea52f8974392b39ffb192fd31de80dc65b52657 |
|
31-Mar-2011 |
Ben Skeggs <bskeggs@redhat.com> |
drm/nouveau: move engine object creation into per-engine hooks Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/drivers/gpu/drm/nouveau/nvc0_graph.c
|
f212949ced2397b5f00e987bb5d4bb34dc69cc8d |
|
20-Mar-2011 |
Emil Velikov <emil.l.velikov@gmail.com> |
drm/nouveau: Clean up trailing whitespace and C99-style comments. Fix 'ERROR: trailing whitespace', Fix 'ERROR: do not use C99 // comments' Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Signed-off-by: Francisco Jerez <currojerez@riseup.net>
/drivers/gpu/drm/nouveau/nvc0_graph.c
|
71298e2f0b6fb6dce9f2b2e999652edf1f643d9e |
|
20-Mar-2011 |
Emil Velikov <emil.l.velikov@gmail.com> |
drm/nouveau: Fix indentation-related checkpatch.pl error messages. Fix 'ERROR: code indent should use tabs where possible' Fix 'ERROR: space required before the open parenthesis (' Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Signed-off-by: Francisco Jerez <currojerez@riseup.net>
/drivers/gpu/drm/nouveau/nvc0_graph.c
|
bd2f2037a42d4657ead3be2918db22e63626cd35 |
|
08-Feb-2011 |
Ben Skeggs <bskeggs@redhat.com> |
drm/nvc0: support for sw methods + enable page flipping Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/drivers/gpu/drm/nouveau/nvc0_graph.c
|
ea5f2786a0942832f32deb7c507531b766028356 |
|
30-Jan-2011 |
Ben Skeggs <bskeggs@redhat.com> |
drm/nouveau: silence some compiler warnings Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/drivers/gpu/drm/nouveau/nvc0_graph.c
|
51f73d64b46cb765cd5bee3b8d9f5980c44c6446 |
|
21-Jan-2011 |
Ben Skeggs <bskeggs@redhat.com> |
drm/nvc0: implement irq handler for whatever's at 0x14xxxx This is just barely enough to stop a never-ending IRQ storm that can be triggered by our 3D driver. We have no idea what this engine is.. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/drivers/gpu/drm/nouveau/nvc0_graph.c
|
0f1cb203b46f8f836afdd2198060ff6169aa7272 |
|
21-Jan-2011 |
Ben Skeggs <bskeggs@redhat.com> |
drm/nvc0: fix incorrect TPC register setup Was hitting TPC+1's regs by accident, oops. Reported-by: Christoph Bumiller <e0425955@student.tuwien.ac.at> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/drivers/gpu/drm/nouveau/nvc0_graph.c
|
c906ca0fbf237b77ba2101a2fa9050317137fde8 |
|
14-Jan-2011 |
Ben Skeggs <bskeggs@redhat.com> |
drm/nvc0: enable protection of system-use-only structures in vm Somehow missed this in the original merge of the nvc0 code. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/drivers/gpu/drm/nouveau/nvc0_graph.c
|
eeb9cc015f91ff08453040dd5b2fde0dbaac90d3 |
|
06-Jan-2011 |
Ben Skeggs <bskeggs@redhat.com> |
drm/nvc0: fix init without firmware present Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/drivers/gpu/drm/nouveau/nvc0_graph.c
|
6effe39364f1212aa57e1b5f0bd0f388ebfe9b24 |
|
30-Dec-2010 |
Ben Skeggs <bskeggs@redhat.com> |
drm/nv50: sync up gr data error names with rnn, use for nvc0 also Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/drivers/gpu/drm/nouveau/nvc0_graph.c
|
eae5e7f304222ee795936e9466110a9d5d5ec558 |
|
30-Dec-2010 |
Ben Skeggs <bskeggs@redhat.com> |
drm/nvc0: parse a couple more PGRAPH_INTR Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/drivers/gpu/drm/nouveau/nvc0_graph.c
|
93d0cd7b9e4855c12b3bb5c9367872476c78fef9 |
|
29-Dec-2010 |
Ben Skeggs <bskeggs@redhat.com> |
drm/nvc0: nuke left-over debug messages Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/drivers/gpu/drm/nouveau/nvc0_graph.c
|
b1cd916ab96e5fcd16e2009410af2e8edfae2962 |
|
24-Dec-2010 |
Ben Skeggs <bskeggs@redhat.com> |
drm/nvc0: kill off a couple more magics Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/drivers/gpu/drm/nouveau/nvc0_graph.c
|
966a5b7daa15e152bc2e1f0407939cc721fb5995 |
|
24-Nov-2010 |
Ben Skeggs <bskeggs@redhat.com> |
drm/nvc0: implement pgraph engine hooks Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/drivers/gpu/drm/nouveau/nvc0_graph.c
|
4b223eefe43d201c323d120a01dbd0dcbba64e6d |
|
03-Aug-2010 |
Ben Skeggs <bskeggs@redhat.com> |
drm/nvc0: starting point for GF100 support, everything stubbed Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/drivers/gpu/drm/nouveau/nvc0_graph.c
|