Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-11-29 | drm/nvd0/disp: handle DP transfer unit setup from second supervisor interrupt | Ben Skeggs | 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> | |||||
2012-11-29 | drm/nvd0/disp: move HDMI control to core | Ben Skeggs | 9 | -29/+86 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2012-11-29 | drm/nvd0/disp: move HDA codec setup to core | Ben Skeggs | 9 | -18/+70 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2012-11-29 | drm/nvd0/disp: call into core to handle dac power state changes | Ben Skeggs | 8 | -20/+132 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2012-11-29 | drm/nvd0/disp: call into core to handle sor power state changes | Ben Skeggs | 7 | -9/+27 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2012-11-29 | drm/nvd0/disp: move link training helpers into core as display methods | Ben Skeggs | 9 | -84/+295 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2012-11-29 | drm/nouveau/core: allow representing method ranges in nouveau_omthds | Ben Skeggs | 8 | -115/+116 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2012-11-29 | drm/nouveau/core: expose full method calling capabilities with nv_exec | Ben Skeggs | 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> | |||||
2012-11-29 | drm/nouveau/bios: implement "full" BIT 'd' table (and subtable) parsing in core | Ben Skeggs | 4 | -64/+192 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2012-11-29 | drm/nvd0/disp: move remaining interrupt handling to core | Ben Skeggs | 4 | -263/+270 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2012-11-29 | drm/nouveau/core: add some missing subdev/engine disable flags | Ben Skeggs | 2 | -4/+10 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2012-11-29 | drm/nouveau/bios: implement BIT 'U' table (and subtable) parsing in core | Ben Skeggs | 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> | |||||
2012-11-29 | drm/nvd0/disp: allocate display and evo channels from driver core | Ben Skeggs | 1 | -354/+375 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2012-11-29 | drm/nouveau: run mode_config destructor before destroying internal display state | Ben Skeggs | 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> | |||||
2012-11-29 | drm/nouveau/drm/nvd0/disp: display->disp | Ben Skeggs | 1 | -15/+15 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2012-11-29 | drm/nvd0/disp: introduce a nvd0_head as a subclass of nouveau_crtc | Ben Skeggs | 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> | |||||
2012-11-29 | drm/nvd0-nve0/disp: initial implementation of evo channel classes | Ben Skeggs | 8 | -14/+671 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2012-11-29 | drm/nv50/disp: allow PCI_US pushbuf binding | Ben Skeggs | 1 | -0/+3 | |
2012-11-29 | drm/nv50/disp: initial implementation of the various channel object classes | Ben Skeggs | 9 | -112/+601 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2012-11-29 | drm/nv50/disp: enable interrupts and setup memory area | Ben Skeggs | 1 | -5/+28 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2012-11-29 | drm/nv50/disp: copy caps to evo | Ben Skeggs | 1 | -2/+40 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2012-11-29 | drm/nv50/disp: create skeleton display/channel object classes | Ben Skeggs | 10 | -25/+699 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2012-11-29 | drm/nvd0/dmaobj: initial bind() method implementation | Ben Skeggs | 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> | |||||
2012-11-29 | drm/nvc0/dmaobj: implement initial bind() method | Ben Skeggs | 2 | -1/+69 | |
Currently unused. Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2012-11-29 | drm/nv50/dmaobj: extend class to allow gpu-specific attributes to be defined | Ben Skeggs | 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> | |||||
2012-11-29 | drm/nvd0/dmaobj: duplicate fermi class, will diverge real soon now | Ben Skeggs | 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> | |||||
2012-11-29 | drm/nvc0/dmaobj: stub bind function for now so we can call unconditionally | Ben Skeggs | 2 | -6/+26 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2012-11-29 | drm/nouveau/dmaobj: move parent class check to bind() method | Ben Skeggs | 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> | |||||
2012-11-29 | drm/nouveau/dmaobj: merge everything except ctor and bind together | Ben Skeggs | 5 | -188/+63 | |
Simplifies things a little, and currently no reason to need chipset-specific dmaobj constructors. Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2012-11-29 | drm/nouveau: pass address to object accessor functions as u64 | Ben Skeggs | 12 | -45/+45 | |
Will be required by future work. Make the API change now to catch any (but hopefully none) unexpected fallout. Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2012-11-29 | drm/nouveau/gpio: place upper limit on using old-school tvdac bios data | Ben Skeggs | 1 | -2/+2 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2012-11-29 | drm/nouveau: remove newline-only NV_DEBUG calls | Ben Skeggs | 7 | -39/+0 | |
This used to output the function name, now doesn't, so just looks stupid. Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2012-11-29 | drm/nv50: decode PGRAPH status registers on TLB flush fail | Marcin Slusarz | 1 | -4/+72 | |
SIgned-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2012-11-29 | drm/nouveau/clk: fix crystal frequency retrieval on nv25 | Viktor Novotný | 1 | -1/+1 | |
Signed-off-by: Viktor Novotný <noviktor@seznam.cz> Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2012-11-29 | drm/nouveau: remove unused variable from nouveau_bios_shadow_of | Marcin Slusarz | 1 | -1/+1 | |
drivers/gpu/drm/nouveau/core/subdev/bios/base.c: warning: unused variable 'i' Reported-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2012-11-29 | drm/nv40/fb: use an actual compressed zeta format | Ben Skeggs | 1 | -1/+1 | |
SPLIT is apparently just that, and only splits Z and S components. Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2012-11-29 | drm/nv30/fb: enable z compression | Ben Skeggs | 6 | -3/+107 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2012-11-29 | drm/nv40/fb: enable z compression | Ben Skeggs | 5 | -5/+24 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2012-11-29 | drm/nv20/fb: fixup compression tag allocation size | Ben Skeggs | 3 | -30/+17 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2012-11-29 | drm/nv30-nv40/graph: poke zcomp regs from tile_prog hook | Ben Skeggs | 3 | -5/+38 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2012-11-29 | drm/nv30-nv40/fb: call zcomp setup hook from tiling setup | Ben Skeggs | 10 | -20/+16 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2012-11-29 | drm/nouveau/fb: create tag heap from common code for all relevant chipsets | Ben Skeggs | 20 | -404/+468 | |
A nv2x bug wrt hardcoded tag counts is now also fixed as a side-effect. Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2012-11-29 | drm/nv30/fb: start bashing zcomp registers with 'disabled' (for now) | Ben Skeggs | 4 | -5/+19 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2012-11-29 | drm/nouveau: replace some open-coded mm_initialised checks | Ben Skeggs | 3 | -13/+18 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2012-11-29 | drm/nouveau/fb: read TILE_BASE after writing it to avoid a hardware race | Ben Skeggs | 4 | -0/+4 | |
Apparently needed for turbocache nv4x chips at least, we'll just do it everywhere... Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2012-11-29 | drm/nv40/fb: start bashing zcomp registers on relevant chipsets | Ben Skeggs | 6 | -6/+24 | |
Always bashing "disabled" for now, actual compressing coming up... Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2012-11-29 | drm/nv30-nv40/fb: make use of bankoff for zeta buffers, where supported | Ben Skeggs | 5 | -4/+36 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2012-11-29 | drm/nv20/fb: fix zcomp register calculation on big-endian systems | Ben Skeggs | 2 | -0/+6 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2012-11-29 | drm/nv40/fb: split implementation into nv40/nv41/nv44/nv46/nv47/nv49/nv4e pieces | Ben Skeggs | 10 | -112/+526 | |
Wow, this is a nice complicated mess of build-your-own-mc blocks... Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2012-11-29 | drm/nv30/fb: split implementation into nv34(nv10)/nv30/nv35 pieces | Ben Skeggs | 5 | -4/+80 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> |