summaryrefslogtreecommitdiff
path: root/rnndb
AgeCommit message (Collapse)Author
2014-07-22Correct typo in docWladimir J. van der Laan
2014-04-21add bitfield descriptions for CHIP_IDENTITYChristian Gmeiner
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
2014-01-27Documentatino updateWladimir J. van der Laan
gc2000 have minorFeatures4, document the register, not that we know any of the bits yet...
2013-10-12documentation update for RSWladimir J. van der Laan
2013-10-04rnndb: guess meaning of NON_POWER_OF_TWO capWladimir J. van der Laan
To be tested on hardware that has this capability (gc880/gc2000).
2013-10-04fb_old: some RS experimentsWladimir J. van der Laan
And update documentation.
2013-10-03rnndb: fix misplaced slashJan Luebbe
2013-09-19utils: add viv_throughput utility for measuring fillrateWladimir J. van der Laan
This new utility uses the gallium pipe driver to render quads of a certain size, benchmarks the time spent and compares the performance counters. Also add debug flags to disable early z and supertiling respectively.
2013-09-17driver: implement auto disableWladimir J. van der Laan
These counters disable TS after a certain number of cleared tiles, for depth and color. Auto-disable is enabled in the pipe_clear() function and disabled when a new framebuffer is bound.
2013-09-17driver: Implement KILL and KILL_IF TGSI instructions.Wladimir J. van der Laan
2013-09-16driver: implement blend_state.ditherWladimir J. van der Laan
Also fixes alpha blending when using 16 bit render target (manifested in kenlab).
2013-09-12minor documentation and utils updatesWladimir J. van der Laan
2013-09-11driver: Set bit 24 of PE_DEPTH_CONFIG correctlyWladimir J. van der Laan
Bypasses ZS buffer write when stencil and depth is not written.
2013-09-10driver: Set up early depthWladimir J. van der Laan
And some documentation changes.
2013-08-26driver: fix polygon depth biasWladimir J. van der Laan
Number of units was wrong. This fixes shadows in quake.
2013-08-23remove lots of trailing spacesWladimir J. van der Laan
whitespace only changes
2013-08-21doc: add warnings about FLUSH_TEXTUREVSWladimir J. van der Laan
2013-08-15documentation updateWladimir J. van der Laan
2013-08-14etnaviv: solve compiler warnings on imx6 BSP 4.0Wladimir J. van der Laan
Consistently use 64 bit values for handles passed from kernel. Cast these, and any normal pointers with macros when going from/through the kernel based on the GC ABI.
2013-08-14test2d: bitblt with 90 degree rotateWladimir J. van der Laan
2013-08-13test2d: bitblt2d alpha testWladimir J. van der Laan
Do some experimentation with alpha blending modes.
2013-08-13rnndb: add base context states for vgWladimir J. van der Laan
Add xml file with basic context registers; no register meanings figured out yet.
2013-08-13test2d: add a few 2D engine testsWladimir J. van der Laan
Having fun with the 2D engine. Lines, blitting, stretching, filtering, palette expansion, ... Current tests work on the cubox, which has PE10. Still has to be tested on PE20 (which is most other vivante hardware). There are some subtle but possibly significant differences.
2013-08-09driver: proper flushing of TSWladimir J. van der Laan
RS_FLUSH seems to be TS_FLUSH -- ie, the TS_FLUSH command flushes the internal cache of the tile status. It needs to be invoked after a manual clear of the TS. This solves a few corruption and (esp. blockyness) issues.
2013-08-09driver: PA_LINE_WIDTH contains the half widthWladimir J. van der Laan
Divide the line width by two to correct line rendering. Also update documentation.
2013-08-09driver: texture alignment, preparation for multi-pipeWladimir J. van der Laan
Correct texture and RS alignment. For multi-tiled and multi-super-tiled surfaces (for multiple pixel pipes) a special texture format is used.
2013-08-07rnndb: update HI and DE state doc from gcx documentationWladimir J. van der Laan
The gcreg.h from gcx contains quite some register documentation for HI and DE (2D) state. Integrate this into our xml files for easier reference and eventual hardware documentation generation. This may help anyone working on a 2D driver.
2013-08-04driver: improve varyings and flat shading handlingWladimir J. van der Laan
According to the gallium documentation when flat shading is enabled, fragment shader inputs with TGSI_SEMANTIC_COLOR should not be interpolated. However, all other varyings must be. This was not implemented correctly in our varyings conversion pass which caused problems with the blitter. This behavior has been fixed in this commit. In the process I figured out the meaning of bit 0 of pa_attributes. The meanings of the other bits are still unknown.
2013-07-31rnndb: figure out LITP instructionWladimir J. van der Laan
2013-07-28documentation and comment updatesWladimir J. van der Laan
2013-07-28driver: implement CMP instructionWladimir J. van der Laan
New instruction works, but found an restriction in the ISA: - it is not allowed to use multiple uniforms in one instruction. If this is done the result is undefined, so need to work around this by using a temporary.
2013-07-28etnaviv: add initial profiling supportWladimir J. van der Laan
Add API for querying the profiling counters. Also add a demo `viv_profile` to print the current values of the counters to the console.
2013-07-27tools: add etnaviv_gdb pluginWladimir J. van der Laan
GDB plugin for etnaviv driver debugging. This needs gdb 7.5+ to work. usage (from gdb): source /path/to/etnaviv_gdb.py Commands: gpu-state (prefix|uniforms) Show full GPU state (default) or only registers with a certain prefix. The special prefix 'uniforms' shows only the shader uniforms. gpu-dis Disassemble the current shaders.
2013-07-26tools: add i.mx6 duallite to gpus comparisonWladimir J. van der Laan
2013-07-25rnndb: add DMA debug register descriptionWladimir J. van der Laan
Info from imx6_v4_0_0 driver
2013-07-16state_3d.xml:Michał Ściubidło
Add unknown bit in PE depth config used by cube example. VS_RANGE_LOW is index of first vs instruction. First instruction address = 0x0C000 + VS_RANGE_LOW*16. VS_RANGE_HIGH is index of last instruction. PS_RANGE_* works same way. Generate headers to include new state_3d.xml Update .gitignore
2013-07-14documentation updatesWladimir J. van der Laan
2013-07-11rnndb: add I2F instruction (gc2000)Wladimir J. van der Laan
2013-07-02comments updateWladimir J. van der Laan
2013-06-10driver: various fixes for mesa integrationWladimir J. van der Laan
- fix crash on multiple non-consecutive vertex elements - don't touch alpha factors when alpha blending disabled, to prevent warning flood - add silent flag to translate functions, to make probing in etna_screen emit no warnings - add missing pipe caps - force NPO2 textures to true, as this is required by GLES2 this will likely cause problems on on GPUs that don't really have support for this, we'd need to build a workaround - temporary flush front buffer hack for mesa fbdev support
2013-04-18etnaviv: split off low-level functions to libraryWladimir J. van der Laan
Create a library libetnaviv for a) ioctl (kernel interface) wrapping b) command buffer handling c) context handling (still incomplete) d) register description headers A future 2D or SVG driver can share this code.
2013-04-17etna: render to surfaces without Tile StatusWladimir J. van der Laan
Support rendering to surfaces that do not have a Tile Status buffer. This makes it possible to render to textures, for example.
2013-04-16etna: a bit of reorganizationWladimir J. van der Laan
move data structure definitions from etna_pipe.c to etna_pipe.h and etna_internal.h
2013-04-04etna: implement some methods in screenWladimir J. van der Laan
Figuring out all the capabilities is a lot of work; most is based on guesswork right now, experimentation with MESA will have to show what the limits really are. Also fill in a few texture bits.
2013-03-27port a few fb samples to tgsiWladimir J. van der Laan
- fix some issues along the way a) number of vs inputs is decided by number of vertex elements, not by shader b) fill in texture swizzle - move non-tgsi samples to fb_rawshader
2013-03-23rnndb: add profile countersWladimir J. van der Laan
2013-03-20codegen test: generate varyings list (ps)Wladimir J. van der Laan
2013-03-18codegen test: implement conditionalsWladimir J. van der Laan
- code generation for IF/ENDIF/ELSE - input register permutation for PS - generate passthrough shader without code if OUT[x]=IN[x]
2013-03-14beginnings of TGSI->Vivante conversionWladimir J. van der Laan
in a separate test for now, to be later merged into etna driver when code is actually produced - input/output -> temp mapping - constant and immediates allocation - add tgsi test corpus
2013-03-12rnndb: figure out some OpenCL instructionsWladimir J. van der Laan