summaryrefslogtreecommitdiff
path: root/src/nv30_exa.c
Commit message (Collapse)AuthorAgeFilesLines
* use defined method names where availableIlia Mirkin2015-03-231-10/+10
| | | | Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
* nv30/exa: fix shaders on big-endian machinesMarcin Slusarz2013-02-101-136/+136
| | | | | | | | | Direct port of commit d1bc38b6673c54af61196056c489383fba8dced8 "nv40/exa: fix shaders on big-endian machines" to nv30. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=60050 Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* exa: fix remaining signed datatype issuesBen Skeggs2012-06-191-3/+3
| | | | | | Wasn't expecting this situation, apparently it happens.. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* nouveau: convert scrn/screen to using new interfacesDave Airlie2012-05-231-3/+3
| | | | | | This commit was generated with the util/modular/x-driver-screen-scrn-conv.sh Signed-off-by: Dave Airlie <airlied@redhat.com>
* nv30/exa: implement support for solid pictures using register combinersBen Skeggs2012-04-241-109/+90
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* nv30/exa: use fixed-function texture matrix for src/mask transformsBen Skeggs2012-04-241-108/+52
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* nv50/exa: perform texcoord transformations in vertex programBen Skeggs2012-04-241-3/+0
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* nv30/nv40: upload shaders directly from rankine/curie initBen Skeggs2012-04-241-66/+241
| | | | | | | Also removes A8 surface shader hack, and implements proper shaders for the specific purpose. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* Keep a single buffer for random accel data, rather than 3 different onesBen Skeggs2012-04-171-9/+2
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* WIP: port to new libdrmBen Skeggs2012-04-141-300/+263
| | | | calim: nv50,nvc0/xv: fix src_w/h width/height confusion
* move away from libdrm's BEGIN_RING (and variants) macrosBen Skeggs2011-12-011-63/+57
| | | | subchan auto-assignment is now gone.
* Append _CLASS to object class id definitionsBen Skeggs2011-12-011-3/+3
| | | | I want to be able to use ring macros of the same name
* convert entire ddx to rnn headersBen Skeggs2011-11-301-95/+97
|
* include nv04_pushbuf.h for ring macros, rather than nouveau_pushbuf.hBen Skeggs2010-12-201-0/+1
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* use libc directly for [cm]alloc/freeBen Skeggs2010-06-091-1/+1
|
* exa: remove nouveau_pixmap_offset()Ben Skeggs2010-01-131-4/+2
| | | | | | Completely useless now we don't have to try and support non-driver pixmaps. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* Remove pNv->NVArchBen Skeggs2010-01-111-1/+1
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* Initial pass at removal of non-KMS support.Ben Skeggs2010-01-111-1/+1
| | | | | | | | | It's likely there's a lot more that can be cleaned up/removed as a result of this, we can handle that as we come across it. Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Signed-off-by: Francisco Jerez <currojerez@riseup.net> Acked-by: Maarten Maathuis <madman2003@gmail.com>
* Allow texturing from GARTBen Skeggs2009-12-071-11/+11
| | | | | | Unfortunately NV_CONTEXT_SURFACES_2D on most cards (probably only PCIE cards work actually, but that's not confirmed) rejects a GART DMA object, so the usefulness is a bit more limited than I'd hoped.
* exa/nv30: handle reloc failuresBen Skeggs2009-11-041-10/+20
|
* nv30/exa: support more 16bpp formatsMarcin Slusarz2009-11-031-2/+16
| | | | Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
* nv30/exa: fallback on special case xrgb non-repeat texturesMaarten Maathuis2009-09-251-3/+13
|
* exa: fallback on src pictures without drawableMaarten Maathuis2009-09-251-3/+8
|
* nv30: don't pin shader memoryBen Skeggs2009-07-171-3/+2
|
* explicitly mark buffers mappableBen Skeggs2009-05-271-2/+3
|
* exa: preparation for reintroducing driver-controlled pixmapsBen Skeggs2009-02-161-2/+6
|
* link against libdrm_nouveau (installed with libdrm)Ben Skeggs2009-02-041-1/+1
|
* blow up horribly if GPU access to mapped buffer is attemptedBen Skeggs2009-01-291-6/+0
| | | | | | ...and fix the numerous cases where this was done. The current bufmgr couldn't care less, and synchronisation is done elsewhere. This won't be the case for much longer.
* nv30/exa: resubmit state in composite as neededBen Skeggs2009-01-291-6/+28
|
* remove unconditional FIRE_RING() in DoneComposite() hooksBen Skeggs2009-01-291-2/+0
| | | | | Far, far too much flushing. Will completely destroy performance with kernel command submission.
* Do frag prog allocation and shader upload in TCL initStuart Bennett2008-10-221-2/+24
| | | | | | Similar in spirit to the nv50 inplementation. Removes many dependencies on state stored in static variables, which in turn makes reinitializing shaders on resume / server regeneration tractable.
* Only hackup shaders onceStuart Bennett2008-10-221-1/+2
|
* exa: FIRE_RING at the end of compositeMaarten Maathuis2008-08-221-0/+2
|
* remove use of implicit variables from pushbuf macrosBen Skeggs2008-07-291-204/+217
| | | | | | | | | | This matches the gallium winsys now. At some point the ddx will get updates so the "common" code is once again in sync to make it easier to do mm changes to both the ddx and dri simultaneously. But, I want to get this part out of the way first as the changes might take a bit of work - and I don't want to have to deal with merge conflicts everywhere if someone changes the accel code before I'm done :)
* nv30: more header name changes...Ben Skeggs2008-07-121-1/+1
|
* nv30: more bustage from header updateBen Skeggs2008-07-121-1/+1
|
* nv50: exa/xv share some stuff, punt it out to nv50_accel.[ch]Ben Skeggs2008-07-081-21/+10
|
* nv50: de-magic things before someone accuses me of being an NVIDIA employeeBen Skeggs2008-07-071-8/+8
|
* Use PMC definesStuart Bennett2008-03-141-1/+1
|
* nv30: Remove fix that is useless now, and maybe broken in some casesPatrice Mandin2008-02-291-17/+0
|
* Revert dummy commitPatrice Mandin2008-02-221-1/+0
|
* Dummy commitPatrice Mandin2008-02-221-0/+1
|
* Fixes to nv30/nv40 textured video.Stephane Marchesin2008-02-031-1/+1
|
* nv30 video texture. Doesn't work with bicubic yet, only bilinear.Stephane Marchesin2008-02-031-16/+18
|
* Separate the shaders from the rest of the code.Stephane Marchesin2008-02-031-53/+1
|
* NV30EXA: Always init texture origin, please report if your viewport setup ↵Maarten Maathuis2008-01-291-0/+2
| | | | needs to be different.
* NV30EXA: Fix viewport setup + switch to triangle based composite.Maarten Maathuis2008-01-251-51/+51
|
* nv30: set VIEWPORT_TX_ORIGIN to 0 for all cards, except real nv30Patrice Mandin2008-01-151-2/+5
|
* NV30EXA: Chipset should be masked by 0xFFF0, switch to NVArch while i'm at it.Maarten Maathuis2008-01-151-1/+1
|
* nv30: Only change VIEWPOR_TX_ORIGIN on real nv30Patrice Mandin2008-01-141-2/+4
|