Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | android: radeonsi: fix sid_tables.h missing LOCAL_MODULE_CLASS | Mauro Rossi | 2015-09-24 | 1 | -0/+1 | |
| | | | | Signed-off-by: Marek Olšák <[email protected]> | |||||
* | radeonsi: handle dummy constant buffer allocation failure | Marek Olšák | 2015-09-24 | 1 | -0/+2 | |
| | | | | | | Cc: 11.0 <[email protected]> Acked-by: Christian König <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> | |||||
* | radeonsi: don't forget to update scratch relocations for LS, HS, ES shaders | Marek Olšák | 2015-09-24 | 1 | -2/+6 | |
| | | | | | | Cc: 11.0 <[email protected]> Acked-by: Christian König <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> | |||||
* | radeonsi: skip drawing if updating the scratch buffer fails | Marek Olšák | 2015-09-24 | 1 | -14/+49 | |
| | | | | | | Cc: 11.0 <[email protected]> Acked-by: Christian König <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> | |||||
* | radeonsi: skip drawing if PS fails to compile or upload | Marek Olšák | 2015-09-24 | 1 | -12/+3 | |
| | | | | | | Cc: 11.0 <[email protected]> Acked-by: Christian König <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> | |||||
* | radeonsi: skip drawing if VS, TCS, TES, GS fail to compile or upload | Marek Olšák | 2015-09-24 | 1 | -7/+23 | |
| | | | | | | Cc: 11.0 <[email protected]> Acked-by: Christian König <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> | |||||
* | radeonsi: handle fixed-func TCS shader create failure | Marek Olšák | 2015-09-24 | 1 | -2/+5 | |
| | | | | | | Cc: 11.0 <[email protected]> Acked-by: Christian König <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> | |||||
* | radeonsi: handle shader precompile failures | Marek Olšák | 2015-09-24 | 1 | -1/+6 | |
| | | | | | | Cc: 11.0 <[email protected]> Acked-by: Christian König <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> | |||||
* | radeonsi: skip drawing if GS ring allocations fail | Marek Olšák | 2015-09-24 | 1 | -1/+10 | |
| | | | | | | Cc: 11.0 <[email protected]> Acked-by: Christian König <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> | |||||
* | radeonsi: skip drawing if the tess factor ring allocation fails | Marek Olšák | 2015-09-24 | 3 | -5/+12 | |
| | | | | | | Cc: 11.0 <[email protected]> Acked-by: Christian König <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> | |||||
* | radeonsi: add malloc fail paths to si_create_shader_state | Marek Olšák | 2015-09-24 | 1 | -0/+8 | |
| | | | | | | Cc: 11.0 <[email protected]> Acked-by: Christian König <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> | |||||
* | radeonsi: report alloc failure from si_shader_binary_read | Marek Olšák | 2015-09-24 | 1 | -1/+4 | |
| | | | | | | Cc: 11.0 <[email protected]> Acked-by: Christian König <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> | |||||
* | radeonsi: handle constant buffer alloc failures | Marek Olšák | 2015-09-24 | 1 | -1/+7 | |
| | | | | | | Cc: 11.0 <[email protected]> Acked-by: Christian König <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> | |||||
* | radeonsi: handle index buffer alloc failures | Marek Olšák | 2015-09-24 | 1 | -0/+6 | |
| | | | | | | Cc: 11.0 <[email protected]> Acked-by: Christian König <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> | |||||
* | radeonsi: implement TXQS support | Ilia Mirkin | 2015-09-21 | 2 | -25/+69 | |
| | | | | | | Signed-off-by: Ilia Mirkin <[email protected]> Tested-by: Fredrik Bruhn <[email protected]> Reviewed-by: Marek Olšák <[email protected]> | |||||
* | radeonsi: load fmask ptr relative to the resources array | Ilia Mirkin | 2015-09-21 | 1 | -1/+1 | |
| | | | | | | | | | | | res_ptr already contains the resource values. fmask_ptr needs to be looked up relative to the start of the resource params. Note that this only affects indirect loads of MS sampler arrays. Signed-off-by: Ilia Mirkin <[email protected]> Reviewed-by: Marek Olšák <[email protected]> Cc: "11.0" <[email protected]> | |||||
* | gallium: add PIPE_CAP_TGSI_TXQS to let st know if TXQS is supported | Ilia Mirkin | 2015-09-13 | 1 | -0/+1 | |
| | | | | | Signed-off-by: Ilia Mirkin <[email protected]> Reviewed-by: Glenn Kennard <[email protected]> | |||||
* | radeonsi: don't update polygon offset state if it has no effect | Marek Olšák | 2015-09-10 | 2 | -1/+4 | |
| | | | | Reviewed-by: Michel Dänzer <[email protected]> | |||||
* | radeonsi: decrease the size of si_pm4_state | Marek Olšák | 2015-09-10 | 1 | -3/+2 | |
| | | | | Acked-by: Michel Dänzer <[email protected]> | |||||
* | radeonsi/compute: add buffers to the CS directly | Marek Olšák | 2015-09-10 | 1 | -7/+11 | |
| | | | | | | Packets are emitted immediately anyway. Acked-by: Michel Dänzer <[email protected]> | |||||
* | radeonsi: only use new versions of LLVM image and sample intrinsics | Marek Olšák | 2015-09-10 | 1 | -283/+186 | |
| | | | | | | | | Just a cleanup I had made a long time ago and forgot about. v2: use tgsi_is_shadow_target Reviewed-by: Tom Stellard <[email protected]> | |||||
* | gallium/radeon: drop support for LLVM 3.4 | Marek Olšák | 2015-09-10 | 3 | -13/+6 | |
| | | | | | | This allows using the new tex instrinsics unconditionally. Reviewed-by: Michel Dänzer <[email protected]> | |||||
* | radeonsi: enable VGPR spilling on VI | Marek Olšák | 2015-09-10 | 1 | -3/+1 | |
| | | | | | | | This fixes corruption in Unigine Heaven on VI Cc: 11.0 <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
* | android: radeonsi: add support for sid_tables.h generated sources | Mauro Rossi | 2015-09-09 | 3 | -3/+15 | |
| | | | | | | | | | | This patch is necessary to avoid building error on android, due to missing sid_tables.h generated sources v2:[Emil Velikov] Correctly split the lists. Fixes: fbbebeae10f(radeonsi: inline si_cmd_context_control) Signed-off-by: Emil Velikov <[email protected]> | |||||
* | gallium/radeon: remove 'dirty' member from r600_atom | Grazvydas Ignotas | 2015-09-03 | 1 | -1/+0 | |
| | | | | | | It's no longer used by both r600 and radeonsi now. Signed-off-by: Marek Olšák <[email protected]> | |||||
* | radeonsi: use an indirect buffer for init_config | Marek Olšák | 2015-09-01 | 2 | -0/+3 | |
| | | | | | Reviewed-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]> | |||||
* | radeonsi: add IB2 indirect buffer support for pm4 states | Marek Olšák | 2015-09-01 | 3 | -2/+54 | |
| | | | | | Reviewed-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]> | |||||
* | radeonsi: remove unused macro si_pm4_set_state | Marek Olšák | 2015-09-01 | 1 | -10/+0 | |
| | | | | | Reviewed-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]> | |||||
* | radeonsi: remove si_pm4_cleanup | Marek Olšák | 2015-09-01 | 3 | -10/+0 | |
| | | | | | | | All remaining pm4 state are created and destroyed by state trackers. Reviewed-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]> | |||||
* | radeonsi: rework uploading border colors | Marek Olšák | 2015-09-01 | 5 | -92/+75 | |
| | | | | | | | | | | | | | | The border colors are uploaded only once when the state is created. This brings truly immutable sampler descriptors, because they don't have to be updated every time a sampler state is re-bound. It also moves the TA_BC_BASE_ADDR registers to init_config, removing one more state. The catch is there is now a limit: only 4096 border colors can be used by one context. I don't think that will be a problem. Reviewed-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]> | |||||
* | radeonsi: use all built-in border colors | Marek Olšák | 2015-09-01 | 1 | -3/+18 | |
| | | | | | Reviewed-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]> | |||||
* | radeonsi: inline si_cmd_context_control | Marek Olšák | 2015-09-01 | 4 | -41/+4 | |
| | | | | | Reviewed-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]> | |||||
* | radeonsi: remove unused si_pm4_state code | Marek Olšák | 2015-09-01 | 2 | -28/+2 | |
| | | | | | Reviewed-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]> | |||||
* | radeonsi: reorder si_context variables | Marek Olšák | 2015-09-01 | 1 | -40/+45 | |
| | | | | | Reviewed-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]> | |||||
* | radeonsi: don't send IB dword usage to si_need_cs_space | Marek Olšák | 2015-09-01 | 5 | -8/+6 | |
| | | | | | Reviewed-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]> | |||||
* | radeonsi: don't set number of IB dwords for states | Marek Olšák | 2015-09-01 | 4 | -29/+18 | |
| | | | | | Reviewed-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]> | |||||
* | radeonsi: don't count IB space for states, just use an upper bound | Marek Olšák | 2015-09-01 | 2 | -55/+5 | |
| | | | | | | | | Since we don't put any resource descriptors in IBs, the space used by draw calls is quite small. Reviewed-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]> | |||||
* | radeonsi: convert SPI state to an atom | Marek Olšák | 2015-09-01 | 4 | -10/+19 | |
| | | | | | Reviewed-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]> | |||||
* | gallium/radeon: rename r600_context_bo_reloc -> radeon_add_to_buffer_list | Marek Olšák | 2015-09-01 | 7 | -38/+38 | |
| | | | | | | | this name should be easy to understand without other knowledge Reviewed-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]> | |||||
* | gallium/radeon: rename write_*_reg functions | Marek Olšák | 2015-09-01 | 2 | -42/+42 | |
| | | | | | | | | e.g. radeon_set_context_reg is nicer and looks consistent next to radeon_emit(). Reviewed-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]> | |||||
* | radeonsi: rename and precalculate polygon offset states | Marek Olšák | 2015-09-01 | 2 | -40/+45 | |
| | | | | | | | one less calloc and state construction while drawing Reviewed-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]> | |||||
* | radeonsi: convert CB_TARGET_MASK setup to an atom | Marek Olšák | 2015-09-01 | 5 | -17/+13 | |
| | | | | | Reviewed-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]> | |||||
* | radeonsi: don't set VGT_VTX_CNT_EN twice in init_config | Marek Olšák | 2015-09-01 | 1 | -1/+0 | |
| | | | | | Reviewed-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]> | |||||
* | radeonsi: convert stencil ref state into an atom | Marek Olšák | 2015-09-01 | 5 | -39/+50 | |
| | | | | | Reviewed-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]> | |||||
* | radeonsi: convert blend color state into an atom | Marek Olšák | 2015-09-01 | 4 | -9/+20 | |
| | | | | | Reviewed-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]> | |||||
* | radeonsi: convert sample mask state into an atom | Marek Olšák | 2015-09-01 | 6 | -19/+25 | |
| | | | | | Reviewed-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]> | |||||
* | radeonsi: convert clip state into an atom | Marek Olšák | 2015-09-01 | 4 | -14/+19 | |
| | | | | | | | Reducing calloc overhead. Reviewed-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]> | |||||
* | radeonsi: avoid redundant CB and DB register updates | Marek Olšák | 2015-09-01 | 4 | -9/+31 | |
| | | | | | | | | | | The main idea is to avoid setting CB_COLORi_INFO = 0 for i>0 repeatedly when those colorbuffers aren't used. This is mainly for glamor. Same for DB. Z_INFO and STENCIL_INFO need to be cleared only once. Reviewed-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]> | |||||
* | radeonsi: don't rebind GSVS ring buffers every draw call using GS | Marek Olšák | 2015-09-01 | 3 | -3/+10 | |
| | | | | | Reviewed-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]> | |||||
* | radeonsi: don't clear the tessellation factor ring buffer | Marek Olšák | 2015-09-01 | 1 | -2/+0 | |
| | | | | | | | Leftover from the bring-up. Reviewed-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]> |