summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-10-02fb: make mip_cube test cope with npot texturesWladimir J. van der Laan
Make testcase suitable for testing with npot textures. Also add support for RGB565 texture format.
2013-10-01driver: replace explicit printfs with BUG()Wladimir J. van der Laan
2013-09-30driver: generate intermediate temporary if multiple uniforms used in instructionWladimir J. van der Laan
It is not allowed to use multiple uniforms in one instruction by the Vivante ISA. If this happens anyway, generate an intermediate MOV instruction and a temporary.
2013-09-30utils: include only gc_abi.hWladimir J. van der Laan
gc_abi.h now includes all the necessary kernel interface headers.
2013-09-30comment updateWladimir J. van der Laan
2013-09-30driver: add alignment warnings when renderingWladimir J. van der Laan
2013-09-30driver: align mipmaps to 64 bytesWladimir J. van der Laan
This fixes automatic mipmap generation with 16 bit textures
2013-09-30driver: add 'zero' debug flag to zero all resources on allocWladimir J. van der Laan
2013-09-28documentation updateWladimir J. van der Laan
2013-09-28driver: fix compile warnings in etna_screenWladimir J. van der Laan
The video parameter functions signatures changes in the recent mesa rebase, update them.
2013-09-25uapi: merge interface into single include fileWladimir J. van der Laan
2013-09-25etnaviv: include kernel headers in gcabi.hWladimir J. van der Laan
This makes it easier to see which headers are actually required.
2013-09-25etnaviv: fix build with older kernel interfacesWladimir J. van der Laan
2013-09-25etnaviv: don't store memory information in kernel structureWladimir J. van der Laan
Kernel CMDBUF structure should be reserved only for fields that the kernel actually needs.
2013-09-25etnaviv: remove profile counters never set by kernel at allWladimir J. van der Laan
2013-09-25tools: add deobfuscator for v4-uapiWladimir J. van der Laan
2013-09-24tools: Add _rmk_'s deobfuscation scripts for kernel driversWladimir J. van der Laan
The kernel drivers in kernel_drivers can be run through these to make them more readable.
2013-09-21Replaced gcs2D_PROFILE_PTR by its definitionMaarten ter Huurne
2013-09-20utils: add help message for viv_gpu_topWladimir J. van der Laan
2013-09-20utils: remove useless mode from viv_gpu_topWladimir J. van der Laan
2013-09-20Sync include_v4_uapi with kernel 06ea9eaeMaarten ter Huurne
This removes the generic gct* types. Since all of them were replaced by types of equal size, binary compatibility is preserved.
2013-09-20Replaced generic gct* types by their definitionMaarten ter Huurne
gctBOOL, gctPOINTER and gctUINT64 were replaced. I left in gctHANDLE and gctPHYS_ADDR for now.
2013-09-20Fixed build with GCC 4.8.1Maarten ter Huurne
Made inline functions static, otherwise -Werror=missing-prototypes will trigger on them.
2013-09-20Added missing #includesMaarten ter Huurne
malloc needs stdlib.h memset needs string.h
2013-09-19utils: add dma occupancy mode to viv_gpu_topWladimir J. van der Laan
2013-09-19etnaviv: rename GPU_TOTAL_READ_64_BYTES_PER_FRAME perf counter to ↵Wladimir J. van der Laan
GPU_TOTAL_READ_64_BIT I'm not sure where the 64 bytes came from, but it's wrong, it's per 8 bytes (64 bits).
2013-09-19driver: use TS clear value for initial TS fillWladimir J. van der Laan
2013-09-19driver: Disable early z reject when no depth test is enabledWladimir J. van der Laan
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-17etnaviv: fix floating point -> fixed conversion for negative valuesWladimir J. van der Laan
2013-09-17minigallium: rebase to a1b6e69Wladimir J. van der Laan
2013-09-17driver: Implement KILL and KILL_IF TGSI instructions.Wladimir J. van der Laan
2013-09-16driver: keep constants when switching shaderWladimir J. van der Laan
Re-fetch user constant buffer into shader object after re-linking. Fixes viewport wobble issue in d2x.
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-16driver: assert that number of vs inputs matches with vertex elementsWladimir J. van der Laan
2013-09-16utils: add total instructions counter to viv_gpu_topWladimir J. van der Laan
Also solve miscounting bug for a few counters.
2013-09-16driver: don't add pointsize output if shader doesn't set point sizeWladimir J. van der Laan
Don't add pointsize output to vertex shader if that shader doesn't assign the point size. Even if point_size_per_vertex is enabled in rasterizer configuration. This is done because Mesa *always* sets point_size_per_vertex to enabled with OpenGL ES, no matter what the shader does or whether points or other primitives are rendered.
2013-09-16utils: add "max" mode to viv_gpu_topWladimir J. van der Laan
Find maximum throughput of various counters, this will help determining the utilization computation. Also implement full argument parsing using getopt.
2013-09-16fbdemos: heed EGL_FBDEV_BUFFERS just like our mesa driverWladimir J. van der Laan
2013-09-14driver: viewport scale and offset xy as fixpWladimir J. van der Laan
Prepare for v4 state delta (context switching) support. The kernel expects these fields to be fixp, so we do too.
2013-09-14driver: CSO optimizationsWladimir J. van der Laan
- Copy small CSOs instead of dereferencing pointers. We do need to keep around the pointer as well to save state for the blitter, but apart from that, the state weaving no longer dereferences pointers which should be more cache efficient. - Add likely/unlikely based on the likelyness of a certain piece of state changing. Used some guesswork here, eventually it may be useful to profile it under various workloads.
2013-09-14driver: reduce per-draw GPU overhead a bitWladimir J. van der Laan
Send new vertex elements state only when changed.
2013-09-13driver: fix hang issue when rendering large quad after clearWladimir J. van der Laan
Synchronization appears to be needed after clear.
2013-09-13etnaviv: Fix destination stride issueWladimir J. van der Laan
This solves the texturing problems in Ken's labyrinth (and many other applications, probably).
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-11gallium: rename to minigalliumWladimir J. van der Laan
Name makes it clearer that it is a subset for internal use only.
2013-09-11utils: move utilities such as viv_gpu_top to separate directoryWladimir J. van der Laan
Split them off from fb and replay, where they don't belong. Some of these are useful beyond reverse engineering. Also add a few utilities not part of etna_viv before: - viv_registers: print contents of all (non-crashing on read) GPU registers - viv_watch: watch debug registers
2013-09-10driver: Set up early depthWladimir J. van der Laan
And some documentation changes.