Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-10-02 | fb: make mip_cube test cope with npot textures | Wladimir J. van der Laan | |
Make testcase suitable for testing with npot textures. Also add support for RGB565 texture format. | |||
2013-10-01 | driver: replace explicit printfs with BUG() | Wladimir J. van der Laan | |
2013-09-30 | driver: generate intermediate temporary if multiple uniforms used in instruction | Wladimir 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-30 | utils: include only gc_abi.h | Wladimir J. van der Laan | |
gc_abi.h now includes all the necessary kernel interface headers. | |||
2013-09-30 | comment update | Wladimir J. van der Laan | |
2013-09-30 | driver: add alignment warnings when rendering | Wladimir J. van der Laan | |
2013-09-30 | driver: align mipmaps to 64 bytes | Wladimir J. van der Laan | |
This fixes automatic mipmap generation with 16 bit textures | |||
2013-09-30 | driver: add 'zero' debug flag to zero all resources on alloc | Wladimir J. van der Laan | |
2013-09-28 | documentation update | Wladimir J. van der Laan | |
2013-09-28 | driver: fix compile warnings in etna_screen | Wladimir J. van der Laan | |
The video parameter functions signatures changes in the recent mesa rebase, update them. | |||
2013-09-25 | uapi: merge interface into single include file | Wladimir J. van der Laan | |
2013-09-25 | etnaviv: include kernel headers in gcabi.h | Wladimir J. van der Laan | |
This makes it easier to see which headers are actually required. | |||
2013-09-25 | etnaviv: fix build with older kernel interfaces | Wladimir J. van der Laan | |
2013-09-25 | etnaviv: don't store memory information in kernel structure | Wladimir J. van der Laan | |
Kernel CMDBUF structure should be reserved only for fields that the kernel actually needs. | |||
2013-09-25 | etnaviv: remove profile counters never set by kernel at all | Wladimir J. van der Laan | |
2013-09-25 | tools: add deobfuscator for v4-uapi | Wladimir J. van der Laan | |
2013-09-24 | tools: Add _rmk_'s deobfuscation scripts for kernel drivers | Wladimir J. van der Laan | |
The kernel drivers in kernel_drivers can be run through these to make them more readable. | |||
2013-09-21 | Replaced gcs2D_PROFILE_PTR by its definition | Maarten ter Huurne | |
2013-09-20 | utils: add help message for viv_gpu_top | Wladimir J. van der Laan | |
2013-09-20 | utils: remove useless mode from viv_gpu_top | Wladimir J. van der Laan | |
2013-09-20 | Sync include_v4_uapi with kernel 06ea9eae | Maarten 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-20 | Replaced generic gct* types by their definition | Maarten ter Huurne | |
gctBOOL, gctPOINTER and gctUINT64 were replaced. I left in gctHANDLE and gctPHYS_ADDR for now. | |||
2013-09-20 | Fixed build with GCC 4.8.1 | Maarten ter Huurne | |
Made inline functions static, otherwise -Werror=missing-prototypes will trigger on them. | |||
2013-09-20 | Added missing #includes | Maarten ter Huurne | |
malloc needs stdlib.h memset needs string.h | |||
2013-09-19 | utils: add dma occupancy mode to viv_gpu_top | Wladimir J. van der Laan | |
2013-09-19 | etnaviv: 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-19 | driver: use TS clear value for initial TS fill | Wladimir J. van der Laan | |
2013-09-19 | driver: Disable early z reject when no depth test is enabled | Wladimir J. van der Laan | |
2013-09-19 | utils: add viv_throughput utility for measuring fillrate | Wladimir 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-17 | driver: implement auto disable | Wladimir 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-17 | etnaviv: fix floating point -> fixed conversion for negative values | Wladimir J. van der Laan | |
2013-09-17 | minigallium: rebase to a1b6e69 | Wladimir J. van der Laan | |
2013-09-17 | driver: Implement KILL and KILL_IF TGSI instructions. | Wladimir J. van der Laan | |
2013-09-16 | driver: keep constants when switching shader | Wladimir J. van der Laan | |
Re-fetch user constant buffer into shader object after re-linking. Fixes viewport wobble issue in d2x. | |||
2013-09-16 | driver: implement blend_state.dither | Wladimir J. van der Laan | |
Also fixes alpha blending when using 16 bit render target (manifested in kenlab). | |||
2013-09-16 | driver: assert that number of vs inputs matches with vertex elements | Wladimir J. van der Laan | |
2013-09-16 | utils: add total instructions counter to viv_gpu_top | Wladimir J. van der Laan | |
Also solve miscounting bug for a few counters. | |||
2013-09-16 | driver: don't add pointsize output if shader doesn't set point size | Wladimir 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-16 | utils: add "max" mode to viv_gpu_top | Wladimir 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-16 | fbdemos: heed EGL_FBDEV_BUFFERS just like our mesa driver | Wladimir J. van der Laan | |
2013-09-14 | driver: viewport scale and offset xy as fixp | Wladimir 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-14 | driver: CSO optimizations | Wladimir 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-14 | driver: reduce per-draw GPU overhead a bit | Wladimir J. van der Laan | |
Send new vertex elements state only when changed. | |||
2013-09-13 | driver: fix hang issue when rendering large quad after clear | Wladimir J. van der Laan | |
Synchronization appears to be needed after clear. | |||
2013-09-13 | etnaviv: Fix destination stride issue | Wladimir J. van der Laan | |
This solves the texturing problems in Ken's labyrinth (and many other applications, probably). | |||
2013-09-12 | minor documentation and utils updates | Wladimir J. van der Laan | |
2013-09-11 | driver: Set bit 24 of PE_DEPTH_CONFIG correctly | Wladimir J. van der Laan | |
Bypasses ZS buffer write when stencil and depth is not written. | |||
2013-09-11 | gallium: rename to minigallium | Wladimir J. van der Laan | |
Name makes it clearer that it is a subset for internal use only. | |||
2013-09-11 | utils: move utilities such as viv_gpu_top to separate directory | Wladimir 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-10 | driver: Set up early depth | Wladimir J. van der Laan | |
And some documentation changes. |