summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* drm/nouveau: rename nvd0_display to nv50_display to reflect reality since mergeBen Skeggs2012-11-299-279/+268
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nv50-nvc0: switch to common disp impl, removing previous versionBen Skeggs2012-11-2917-2700/+31
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nvd0/disp: implement support for colour vibrance controlBen Skeggs2012-11-292-1/+36
| | | | | | | Ported from original nv50 commit by Christoph, with added support for the setting on later chipsets. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nvd0/disp: remove fetching of capabilities reportBen Skeggs2012-11-291-7/+1
| | | | | | | Unused, and caused a race with evo_sync(). Will revisit using it properly later on. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nvd0/disp: enable support for older display classesBen Skeggs2012-11-291-1/+10
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nvd0/disp: support creation of fb dma objects on older chipsetsBen Skeggs2012-11-291-36/+131
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nvd0/disp: implement support for older DISP_SYNC classesBen Skeggs2012-11-291-20/+44
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nvd0/disp: implement sor support for older display classesBen Skeggs2012-11-291-45/+61
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nvd0/disp: implement dac support for older display classesBen Skeggs2012-11-291-25/+48
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nvd0/disp: start implementing support for older display classesBen Skeggs2012-11-291-87/+233
| | | | | | Currently unused, but checkpointing the merged head handling routines. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nouveau/dp: remove last bits of VBIOS parsing from DRM codeBen Skeggs2012-11-2912-121/+111
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nouveau/dp: move core link training calls to common codeBen Skeggs2012-11-294-94/+30
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nouveau: remove (now obsolete) BIT U table parsing from DRM codeBen Skeggs2012-11-293-215/+34
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nv50/disp: move remaining interrupt handling into coreBen Skeggs2012-11-295-576/+461
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nvd0/disp: calculate U script id in supervisor interruptBen Skeggs2012-11-299-34/+59
| | | | | | | | This is like we do on nv50:nvd9 already. There's been no problems seen yet with using this *seemingly* scratch register to store the value, but we won't be able to do this anymore once nv50's code is merged. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nv84/disp: move hdmi control into coreBen Skeggs2012-11-299-145/+152
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nva3/disp: move hda codec handling to coreBen Skeggs2012-11-295-20/+66
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nv50/disp: move dp link training helpers into coreBen Skeggs2012-11-296-72/+161
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nv50/disp: call into core for dac load detectionBen Skeggs2012-11-299-51/+22
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nv50/disp: call into core to handle dac/sor power state changesBen Skeggs2012-11-298-47/+62
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nv50/disp: allocate display from driver coreBen Skeggs2012-11-293-73/+22
| | | | | | | EVO channels still handled "manually", this won't be ported here, and will instead be held off until nv50_display/nvd0_display are merged. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nouveau/bios: implement some dcb output entry parsing/matching functionsBen Skeggs2012-11-294-48/+77
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nvd0/disp: handle DP transfer unit setup from second supervisor interruptBen Skeggs2012-11-292-51/+50
| | | | | | | This is what we've done forever in nv50_display.c, and also allows the last direct MMIO accesses to be removed from nvd0_display.c. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nvd0/disp: move HDMI control to coreBen Skeggs2012-11-299-29/+86
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nvd0/disp: move HDA codec setup to coreBen Skeggs2012-11-299-18/+70
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nvd0/disp: call into core to handle dac power state changesBen Skeggs2012-11-298-20/+132
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nvd0/disp: call into core to handle sor power state changesBen Skeggs2012-11-297-9/+27
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nvd0/disp: move link training helpers into core as display methodsBen Skeggs2012-11-299-84/+295
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nouveau/core: allow representing method ranges in nouveau_omthdsBen Skeggs2012-11-298-115/+116
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nouveau/core: expose full method calling capabilities with nv_execBen Skeggs2012-11-291-2/+8
| | | | | | | nv_call() just allows mthd+u32 submission, nv_exec() exposes the mthd+data+size interface which will be used in future commits. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nouveau/bios: implement "full" BIT 'd' table (and subtable) parsing in coreBen Skeggs2012-11-294-64/+192
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nvd0/disp: move remaining interrupt handling to coreBen Skeggs2012-11-294-263/+270
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nouveau/core: add some missing subdev/engine disable flagsBen Skeggs2012-11-292-4/+10
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nouveau/bios: implement BIT 'U' table (and subtable) parsing in coreBen Skeggs2012-11-293-0/+227
| | | | | | | This will, in the near future, replace what's currently in the DRM nouveau_bios.c code. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nvd0/disp: allocate display and evo channels from driver coreBen Skeggs2012-11-291-354/+375
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nouveau: run mode_config destructor before destroying internal display stateBen Skeggs2012-11-291-2/+3
| | | | | | | Later changes will depend on being able to pull down CRTCs etc with the master display state still intact. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nouveau/drm/nvd0/disp: display->dispBen Skeggs2012-11-291-15/+15
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nvd0/disp: introduce a nvd0_head as a subclass of nouveau_crtcBen Skeggs2012-11-291-20/+24
| | | | | | | This will be used instead of storing a heap of per-head data (such as evo channels) in nvd0_display in some other way. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nvd0-nve0/disp: initial implementation of evo channel classesBen Skeggs2012-11-298-14/+671
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nv50/disp: allow PCI_US pushbuf bindingBen Skeggs2012-11-291-0/+3
|
* drm/nv50/disp: initial implementation of the various channel object classesBen Skeggs2012-11-299-112/+601
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nv50/disp: enable interrupts and setup memory areaBen Skeggs2012-11-291-5/+28
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nv50/disp: copy caps to evoBen Skeggs2012-11-291-2/+40
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nv50/disp: create skeleton display/channel object classesBen Skeggs2012-11-2910-25/+699
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nvd0/dmaobj: initial bind() method implementationBen Skeggs2012-11-292-1/+43
| | | | | | | Currently unused, and rudimentary. Lots to figure out here still, but this is sufficient for what disp will need. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nvc0/dmaobj: implement initial bind() methodBen Skeggs2012-11-292-1/+69
| | | | | | Currently unused. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nv50/dmaobj: extend class to allow gpu-specific attributes to be definedBen Skeggs2012-11-296-16/+51
| | | | | | | disp is going to need to be able to create more specific dma objects than was previously possible. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nvd0/dmaobj: duplicate fermi class, will diverge real soon nowBen Skeggs2012-11-295-3/+88
| | | | | | | The hardware dmaobj format completely changed in GF119, so these will need a separate implementation. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nvc0/dmaobj: stub bind function for now so we can call unconditionallyBen Skeggs2012-11-292-6/+26
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nouveau/dmaobj: move parent class check to bind() methodBen Skeggs2012-11-295-17/+41
| | | | | | | | | | | Otherwise when nvc0- gains a bind() method (disp needs it), the fifo engine will attempt to create a dma object for the push buffer, which is unnecessary on fermi. The only sane place to put these checks is in the bind method itself, and have it unconditionally called from wherever it might be needed. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
OpenPOWER on IntegriCloud