Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | drm/nouveau: rename nvd0_display to nv50_display to reflect reality since merge | Ben Skeggs | 2012-11-29 | 9 | -279/+268 |
| | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | ||||
* | drm/nv50-nvc0: switch to common disp impl, removing previous version | Ben Skeggs | 2012-11-29 | 17 | -2700/+31 |
| | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | ||||
* | drm/nvd0/disp: implement support for colour vibrance control | Ben Skeggs | 2012-11-29 | 2 | -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 report | Ben Skeggs | 2012-11-29 | 1 | -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 classes | Ben Skeggs | 2012-11-29 | 1 | -1/+10 |
| | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | ||||
* | drm/nvd0/disp: support creation of fb dma objects on older chipsets | Ben Skeggs | 2012-11-29 | 1 | -36/+131 |
| | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | ||||
* | drm/nvd0/disp: implement support for older DISP_SYNC classes | Ben Skeggs | 2012-11-29 | 1 | -20/+44 |
| | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | ||||
* | drm/nvd0/disp: implement sor support for older display classes | Ben Skeggs | 2012-11-29 | 1 | -45/+61 |
| | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | ||||
* | drm/nvd0/disp: implement dac support for older display classes | Ben Skeggs | 2012-11-29 | 1 | -25/+48 |
| | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | ||||
* | drm/nvd0/disp: start implementing support for older display classes | Ben Skeggs | 2012-11-29 | 1 | -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 code | Ben Skeggs | 2012-11-29 | 12 | -121/+111 |
| | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | ||||
* | drm/nouveau/dp: move core link training calls to common code | Ben Skeggs | 2012-11-29 | 4 | -94/+30 |
| | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | ||||
* | drm/nouveau: remove (now obsolete) BIT U table parsing from DRM code | Ben Skeggs | 2012-11-29 | 3 | -215/+34 |
| | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | ||||
* | drm/nv50/disp: move remaining interrupt handling into core | Ben Skeggs | 2012-11-29 | 5 | -576/+461 |
| | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | ||||
* | drm/nvd0/disp: calculate U script id in supervisor interrupt | Ben Skeggs | 2012-11-29 | 9 | -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 core | Ben Skeggs | 2012-11-29 | 9 | -145/+152 |
| | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | ||||
* | drm/nva3/disp: move hda codec handling to core | Ben Skeggs | 2012-11-29 | 5 | -20/+66 |
| | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | ||||
* | drm/nv50/disp: move dp link training helpers into core | Ben Skeggs | 2012-11-29 | 6 | -72/+161 |
| | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | ||||
* | drm/nv50/disp: call into core for dac load detection | Ben Skeggs | 2012-11-29 | 9 | -51/+22 |
| | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | ||||
* | drm/nv50/disp: call into core to handle dac/sor power state changes | Ben Skeggs | 2012-11-29 | 8 | -47/+62 |
| | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | ||||
* | drm/nv50/disp: allocate display from driver core | Ben Skeggs | 2012-11-29 | 3 | -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 functions | Ben Skeggs | 2012-11-29 | 4 | -48/+77 |
| | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | ||||
* | drm/nvd0/disp: handle DP transfer unit setup from second supervisor interrupt | Ben Skeggs | 2012-11-29 | 2 | -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 core | Ben Skeggs | 2012-11-29 | 9 | -29/+86 |
| | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | ||||
* | drm/nvd0/disp: move HDA codec setup to core | Ben Skeggs | 2012-11-29 | 9 | -18/+70 |
| | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | ||||
* | drm/nvd0/disp: call into core to handle dac power state changes | Ben Skeggs | 2012-11-29 | 8 | -20/+132 |
| | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | ||||
* | drm/nvd0/disp: call into core to handle sor power state changes | Ben Skeggs | 2012-11-29 | 7 | -9/+27 |
| | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | ||||
* | drm/nvd0/disp: move link training helpers into core as display methods | Ben Skeggs | 2012-11-29 | 9 | -84/+295 |
| | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | ||||
* | drm/nouveau/core: allow representing method ranges in nouveau_omthds | Ben Skeggs | 2012-11-29 | 8 | -115/+116 |
| | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | ||||
* | drm/nouveau/core: expose full method calling capabilities with nv_exec | Ben Skeggs | 2012-11-29 | 1 | -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 core | Ben Skeggs | 2012-11-29 | 4 | -64/+192 |
| | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | ||||
* | drm/nvd0/disp: move remaining interrupt handling to core | Ben Skeggs | 2012-11-29 | 4 | -263/+270 |
| | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | ||||
* | drm/nouveau/core: add some missing subdev/engine disable flags | Ben Skeggs | 2012-11-29 | 2 | -4/+10 |
| | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | ||||
* | drm/nouveau/bios: implement BIT 'U' table (and subtable) parsing in core | Ben Skeggs | 2012-11-29 | 3 | -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 core | Ben Skeggs | 2012-11-29 | 1 | -354/+375 |
| | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | ||||
* | drm/nouveau: run mode_config destructor before destroying internal display state | Ben Skeggs | 2012-11-29 | 1 | -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->disp | Ben Skeggs | 2012-11-29 | 1 | -15/+15 |
| | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | ||||
* | drm/nvd0/disp: introduce a nvd0_head as a subclass of nouveau_crtc | Ben Skeggs | 2012-11-29 | 1 | -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 classes | Ben Skeggs | 2012-11-29 | 8 | -14/+671 |
| | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | ||||
* | drm/nv50/disp: allow PCI_US pushbuf binding | Ben Skeggs | 2012-11-29 | 1 | -0/+3 |
| | |||||
* | drm/nv50/disp: initial implementation of the various channel object classes | Ben Skeggs | 2012-11-29 | 9 | -112/+601 |
| | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | ||||
* | drm/nv50/disp: enable interrupts and setup memory area | Ben Skeggs | 2012-11-29 | 1 | -5/+28 |
| | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | ||||
* | drm/nv50/disp: copy caps to evo | Ben Skeggs | 2012-11-29 | 1 | -2/+40 |
| | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | ||||
* | drm/nv50/disp: create skeleton display/channel object classes | Ben Skeggs | 2012-11-29 | 10 | -25/+699 |
| | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | ||||
* | drm/nvd0/dmaobj: initial bind() method implementation | Ben Skeggs | 2012-11-29 | 2 | -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() method | Ben Skeggs | 2012-11-29 | 2 | -1/+69 |
| | | | | | | Currently unused. Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | ||||
* | drm/nv50/dmaobj: extend class to allow gpu-specific attributes to be defined | Ben Skeggs | 2012-11-29 | 6 | -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 now | Ben Skeggs | 2012-11-29 | 5 | -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 unconditionally | Ben Skeggs | 2012-11-29 | 2 | -6/+26 |
| | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | ||||
* | drm/nouveau/dmaobj: move parent class check to bind() method | Ben Skeggs | 2012-11-29 | 5 | -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> |