summaryrefslogtreecommitdiff
path: root/src/driver
AgeCommit message (Collapse)Author
2014-08-07Fix vbo format issue in etna_screen_is_format_supportedWladimir J. van der Laan
I don't know if this will have any effect but the check was clearly the wrong way around. Thanks to imirkin on IRC for noticing this.
2014-03-03driver: fix rendering to texture levels>0 on pre-GC2000Wladimir J. van der Laan
Revert behavior in case of one pixel pipe.
2014-02-21fix compile warningsChristian Gmeiner
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
2014-02-21driver: do not upgrade textures (sampler views) to MULTI tiledChristian Gmeiner
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
2014-02-08driver: make use of calculated addresses for PE/TS DEPTH_ADDRChristian Gmeiner
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
2014-02-08driver: use calulated address for TS_COLOR_SURFACE_BASEChristian Gmeiner
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
2014-02-08pe: make us of calculated addressesChristian Gmeiner
With this commit the PE pipe addresses and the RS pipe addresses are the same --> on a GC2000 the image is combined correctly. Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
2014-02-08driver: make use of calculated addressesChristian Gmeiner
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
2014-02-08driver: store calculated pipe addresses in struct etna_resourceChristian Gmeiner
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
2014-02-08rs: change struct rs_state to contain all pipe addressesChristian Gmeiner
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
2014-02-08driver: add support for multi tiled formatsChristian Gmeiner
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
2014-02-08pe: keep the state updates in order of addressChristian Gmeiner
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
2014-02-08set correct address for PE_PIPE_COLOR_ADDR[1]Christian Gmeiner
this is what the binary blob does: ADDR_I: 0x38910000 allocated: 0x73000 gcvSURF_RENDER_TARGET used for: TS.COLOR_SURFACE_BASE

PE.PIPE[0].COLOR_ADDR ADDR_27:0x3894b000 used for: PE.PIPE[1].COLOR_ADDR Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
2014-02-08PE: Depending on the number of pixel pipes we need to emitChristian Gmeiner
different values. Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
2013-11-06Merge pull request #19 from austriancoder/masterWladimir J. van der Laan
gc2000: fix RS_PIPE_OFFSET and RS_WINDOW_SIZE
2013-11-06make etna_ctx available in etna_compile_rs_state(..)Christian Gmeiner
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
2013-10-15driver: fix cubemapsWladimir J. van der Laan
Previous tiling changes broke cubemap support. This commit fixes the offsets and makes the cubemap test work again.
2013-10-15driver: clean up resource creation functionWladimir J. van der Laan
2013-10-14driver: use etna_bo_from_fbdev to get at framebufferWladimir J. van der Laan
etna_screen can now render to any buffer object
2013-10-14driver: get rid of caching of gpu/cpu pointersWladimir J. van der Laan
No longer cache logical and GPU address for resource levels but store offsets and query only when needed. This is the first step toward submitting bo's with relocations (just search for `etna_bo_gpu_address` to find all places where GPU addresses are used).
2013-10-12driver/etnaviv: refactor etna_vidmem into etna_boWladimir J. van der Laan
First step towards making the libetnaviv API more like freedreno_drm. Bo's are not yet fully emulated, but this is a step closer.
2013-10-11driver: use u_minify for mipmap scalingWladimir J. van der Laan
2013-10-11driver: get rid of want_fenceWladimir J. van der Laan
2013-10-11etnaviv: move fence handling to libetnavivWladimir J. van der Laan
This makes fence handles into globally increasing uint32_t's and thus simplifies the handling in the driver, and makes it possible to compare fence handles to see what happened before. The scheme emulates a saner kernel API (closer to adreno drm driver)
2013-10-08driver: check for rebind of already bound shader objectsWladimir J. van der Laan
Skip the dirty bit if re-binding already bound shader object.
2013-10-08driver: fix potential segfault in etna_fetch_uniformsWladimir J. van der Laan
2013-10-08driver: comments updates and small cleanupsWladimir J. van der Laan
2013-10-07driver: temp->output optimization can only be done if no swizzleWladimir J. van der Laan
Haven't noticed any cases yet where this causes problems, but it is a bug nevertheless if the MOV is optimized out when it does a swizzle.
2013-10-07rename native directory to srcWladimir J. van der Laan
This is more consistent with other projects.