summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nvc0/nvc0_screen.c
AgeCommit message (Collapse)Author
2011-03-13nvc0: identify VERTEX_QUARANTINEChristoph Bumiller
Well, not sure what exactly it is, but it certainly doesn't contain the control flow stack, but vertex data. Not sure about size, I've only seen the first few KiB written, but the binary driver seems to allocate more.
2011-03-11gallium: remove the geom_flags param from is_format_supportedMarek Olšák
2011-03-05gallium: split CAP_INSTANCE_DRAWING into INSTANCEID and INSTANCE_DIVISORMarek Olšák
ARB_instanced_arrays is a subset of D3D9. ARB_draw_instanced is a subset of D3D10. The point of this change is to allow D3D9-level drivers to enable ARB_instanced_arrays without ARB_draw_instanced.
2011-03-05nv50,nvc0: share sampler state creationChristoph Bumiller
2011-03-05nv50,nvc0: fix texture layer issuesChristoph Bumiller
2011-03-03nouveau: allow pipe driver to define which buffers should start in sysmemBen Skeggs
PIPE_BIND_CONSTANT_BUFFER alone was OK for nv50/nvc0, but nv30 will need to be able to set others on certain chipsets. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2011-03-01nouveau: ensure vbo_dirty is set when buffer write transfer completeBen Skeggs
This introduces a shared nouveau_context struct to track such things. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2011-03-01nvc0: port to common fence/mm/buffer codeBen Skeggs
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2011-02-24nvc0: set local memory usage info in shader headerChristoph Bumiller
Before this, l[] access was a no-op.
2011-02-16nvc0: fix clipping and use VIEWPORT instead of SCISSORChristoph Bumiller
2011-02-16nvc0: demagic the clear flags and fix region clearsChristoph Bumiller
The CLIP_RECTs always affect dedicated clears, and it's nicer than having to mark the viewport or scissor state dirty after it.
2011-01-29nvc0: enable PIPE_CAP_ARRAY_TEXTURES and fix themChristoph Bumiller
2011-01-23nvc0: add MARK_RING where missing to avoid too many relocs errorsChristoph Bumiller
2011-01-16nvc0: fix and enable instanced drawing and arraysChristoph Bumiller
2011-01-13nvc0: identify POINT_RASTER_RULES, add POINT_SMOOTH stateChristoph Bumiller
Point smoothing requires rasterization rules to be set to OGL. Sorry for the extra noise caused by the header update.
2011-01-13nvc0: disable calling of sw methods we don't implementBen Skeggs
Left in the code as a marker of what NVIDIA do, just in case we need to do this some day. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2011-01-13nvc0: fix mp_stack_bo relocationBen Skeggs
Fixes a PT_NOT_PRESENT error cause by: - allocating in VRAM - emitting GART relocs to 0x17bc/0x17c0, moving the buffer - telling the bufmgr that the buffer should be in VRAM when we use it, but not correcting the value sent to 0x17bc/0x17c0. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2011-01-09nvc0: implement queriesChristoph Bumiller
2011-01-04nvc0: delete memory caches and fence on screen destructionChristoph Bumiller
2010-12-30drm/nvc0: don't un-bind every subchannel on initBen Skeggs
The initial values in the grctx are 0x0000 anyway, and re-binding them all to 0x0000 destroys some init done by the nouveau drm. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2010-12-27nvc0: implement VRAM buffer transfers with bounce buffersChristoph Bumiller
2010-12-23nvc0: respond please inline to PIPE_SHADER_CAP_SUBROUTINESChristoph Bumiller
2010-12-23nvc0: use most defs/decls from nouveau_pushbuf.hChristoph Bumiller
2010-12-21nvc0: fence.bo is mappable, mark it as suchBen Skeggs
2010-12-19nvc0: use BIND_RING to set subchannel classesChristoph Bumiller
2010-12-11nvc0: support user clip planesChristoph Bumiller
2010-12-09nvc0: call grobj_alloc for all used classesChristoph Bumiller
Only doing this to notify the DRM that we need a PGRAPH context, nvc0 hardware doesn't use actual grobjs anymore.
2010-12-09nvc0: buffer suballocation with a primitive slab allocatorChristoph Bumiller
2010-12-09nvc0: support primitive restartChristoph Bumiller
2010-11-12nvc0: import nvc0 gallium driverChristoph Bumiller