summaryrefslogtreecommitdiff
path: root/nvkm/engine/disp/nva0.c
Commit message (Collapse)AuthorAgeFilesLines
* disp/nv50-: add support for completion eventsBen Skeggs2014-10-021-0/+4
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* disp: audit and version display classesBen Skeggs2014-08-101-7/+7
| | | | | | | | The full object interfaces are about to be exposed to userspace, so we need to check for any security-related issues and version the structs to make it easier to handle any changes we may need in the future. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* disp: audit and version SCANOUTPOS methodBen Skeggs2014-08-101-1/+2
| | | | | | | | The full object interfaces are about to be exposed to userspace, so we need to check for any security-related issues and version the structs to make it easier to handle any changes we may need in the future. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* disp/nv50-: share channel creation between nv50/gf110 implsBen Skeggs2014-08-101-5/+5
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* core: rework event interfaceBen Skeggs2014-08-101-0/+1
| | | | | | | | | | | | | | | This is a lot of prep-work for being able to send event notifications back to userspace. Events now contain data, rather than a "something just happened" signal. Handler data is now embedded into a containing structure, rather than being kmalloc()'d, and can optionally have the notify routine handled in a workqueue. Various races between suspend/unload with display HPD/DP IRQ handlers automagically solved as a result. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* disp/dp: make use of existing output data for link trainingBen Skeggs2014-06-111-1/+0
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* disp/dp: create subclass for dp outputsBen Skeggs2014-06-111-0/+1
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* disp/nv50-: add method descriptions for debuggingBen Skeggs2014-03-261-0/+49
| | | | | | | Lists of known methods for the DMA channel classes, and mappings to their priv register addresses (where known). Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* disp/nv50: preparation for storing static class dataBen Skeggs2014-03-261-5/+13
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* disp/nv50: initial work towards supporting external encodersBen Skeggs2013-02-201-0/+3
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* disp/nv50-: handle supervisor tasks from workqueueBen Skeggs2013-02-201-0/+1
| | | | | | i2c_algo_bit sleeps... Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* disp: port vblank handling to event interfaceBen Skeggs2013-02-201-4/+1
| | | | | | | | | This removes the nastiness with the interactions between display and software engines when handling vblank semaphore release interrupts. Now, all the semantics are handled in one place (sw) \o/. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* initial import of nouveau kernel module core, some simple tools, and drmBen Skeggs2013-01-091-0/+88
Ignore (or, if you're really keen, fix) any of the horrors that are part of the emulate-linux-on-libpciaccess (lib/) layer. When I started down this path I was only aiming to prototype the reworked driver core, and never actually intended on going quite this far with things, but it turns out that being able to develop and test the nouveau core from userspace is *very* useful. This tree is based on the code available as of Linux 3.8-rc2. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>