Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | radeonsi/gfx10: generate geometry shaders for NGG | Nicolai Hähnle | 2019-07-03 | 4 | -4/+439 |
| | | | | Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi/gfx10: use the correct register for image descriptor dumping | Nicolai Hähnle | 2019-07-03 | 1 | -3/+5 |
| | | | | Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi/gfx10: emit GE_CNTL instead of IA_MULTI_VGT_PARAM for legacy mode | Nicolai Hähnle | 2019-07-03 | 1 | -7/+60 |
| | | | | Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi/gfx10: initialize GE_{MAX,MIN}_VTX_INDX/INDX_OFFSET | Nicolai Hähnle | 2019-07-03 | 1 | -1/+5 |
| | | | | Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi/gfx10: setup registers for OpenGL compute | Nicolai Hähnle | 2019-07-03 | 1 | -2/+11 |
| | | | | Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi/gfx10: set user data base registers | Nicolai Hähnle | 2019-07-03 | 1 | -8/+32 |
| | | | | Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi/gfx10: implement gfx10_shader_ngg | Nicolai Hähnle | 2019-07-03 | 4 | -1/+211 |
| | | | | | | | | | | For pipelines without API GS. We will later expand this to cover NGG geometry shaders as well. Note that the vtx offset passed into the GS part is just the vertex index multiplied by VGT_ESGS_RING_ITEMSIZE. Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi/gfx10: add NGG registers to si_init_config | Nicolai Hähnle | 2019-07-03 | 1 | -0/+15 |
| | | | | Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi/gfx10: update shader-related fields in si_init_config | Nicolai Hähnle | 2019-07-03 | 1 | -7/+17 |
| | | | | Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi/gfx10: implement si_shader_ps | Nicolai Hähnle | 2019-07-03 | 1 | -7/+13 |
| | | | | Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi/gfx10: generate VS and TES as NGG merged ESGS shaders | Nicolai Hähnle | 2019-07-03 | 6 | -25/+382 |
| | | | | | | | This does not support geometry shading yet. Also missing are streamout and NGG-specific optimizations. Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi/gfx10: distinguish between merged shaders and multi-part shaders | Nicolai Hähnle | 2019-07-03 | 1 | -3/+10 |
| | | | | Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi/gfx10: update si_get_shader_name | Nicolai Hähnle | 2019-07-03 | 1 | -0/+4 |
| | | | | Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi/gfx10: add as_ngg shader key bit | Nicolai Hähnle | 2019-07-03 | 3 | -10/+42 |
| | | | | | | | Also add the shader main part NGG variant, so that in principle we can switch between legacy in NGG modes. Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi/gfx10: implement si_update_shaders | Nicolai Hähnle | 2019-07-03 | 1 | -50/+62 |
| | | | | Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi/gfx10: implement si_build_vgt_shader_config | Nicolai Hähnle | 2019-07-03 | 2 | -2/+14 |
| | | | | Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi/gfx10: keep track of whether NGG is used | Nicolai Hähnle | 2019-07-03 | 4 | -1/+31 |
| | | | | | | | We always use NGG by default, except when tessellation is enabled with extreme geometry shader amplification. Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi/gfx10: document NGG shader stages | Nicolai Hähnle | 2019-07-03 | 1 | -10/+15 |
| | | | | Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi/gfx10: implement gfx10_emit_cache_flush | Nicolai Hähnle | 2019-07-03 | 4 | -3/+195 |
| | | | | Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi/gfx10: add si_context::emit_cache_flush | Nicolai Hähnle | 2019-07-03 | 9 | -9/+15 |
| | | | | | | | | | | | The introduction of GCR_CNTL makes cache flush handling on gfx10 sufficiently different that it makes sense to just use a separate function. Since emit_cache_flush is called quite early during context init, we initialize the pointer explicitly in si_create_context. Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi/gfx10: implement DB registers | Nicolai Hähnle | 2019-07-03 | 3 | -13/+56 |
| | | | | Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi/gfx10: set CB registers | Nicolai Hähnle | 2019-07-03 | 2 | -5/+76 |
| | | | | Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi/gfx10: always set up sample locations | Nicolai Hähnle | 2019-07-03 | 1 | -1/+5 |
| | | | | Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi/gfx10: use Z32_FLOAT_CLAMP for upgraded depth textures | Nicolai Hähnle | 2019-07-03 | 2 | -10/+22 |
| | | | | Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi/gfx10: implement vertex format changes | Nicolai Hähnle | 2019-07-03 | 2 | -6/+23 |
| | | | | Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi/gfx10: implement si_set_{constant,shader}_buffer | Nicolai Hähnle | 2019-07-03 | 1 | -6/+20 |
| | | | | Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi/gfx10: implement si_make_buffer_descriptor | Nicolai Hähnle | 2019-07-03 | 1 | -10/+28 |
| | | | | Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi/gfx10: implement si_set_mutable_tex_desc_fields | Nicolai Hähnle | 2019-07-03 | 1 | -5/+30 |
| | | | | Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi/gfx10: gfx10 can render up to 8192 layers | Nicolai Hähnle | 2019-07-03 | 1 | -0/+4 |
| | | | | Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi/gfx10: add gfx10_make_texture_descriptor | Nicolai Hähnle | 2019-07-03 | 1 | -1/+187 |
| | | | | Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi/gfx10: add pipe_screen::make_texture_descriptor | Nicolai Hähnle | 2019-07-03 | 5 | -16/+19 |
| | | | | | | Texture descriptors in gfx10 are very different. Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi/gfx10: determine view->is_integer based on the pipe_format | Nicolai Hähnle | 2019-07-03 | 1 | -6/+15 |
| | | | | | | It was convenient, but NUM_FORMAT no longer exists in gfx10. Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi/gfx10: implement si_is_format_supported | Nicolai Hähnle | 2019-07-03 | 1 | -0/+17 |
| | | | | Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi/gfx10: generate gfx10_format_table.h | Nicolai Hähnle | 2019-07-03 | 5 | -2/+300 |
| | | | | Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi/gfx10: set MAX_ALLOC_COUNT | Nicolai Hähnle | 2019-07-03 | 1 | -2/+14 |
| | | | | | | The number for Vega was copied from PAL and has no effect because of MIN2. Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi/gfx10: require LLVM 9 | Nicolai Hähnle | 2019-07-03 | 1 | -0/+6 |
| | | | | Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeon/vcn: update for new vcn enc interface | Boyuan Zhang | 2019-07-03 | 2 | -1/+4 |
| | | | | | Signed-off-by: Boyuan Zhang <[email protected]> Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi: enable jpeg decode for navi10 | Boyuan Zhang | 2019-07-03 | 1 | -1/+2 |
| | | | | | Signed-off-by: Boyuan Zhang <[email protected]> Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeon/vcn: implement vcn 2.0 jpeg decode | Boyuan Zhang | 2019-07-03 | 1 | -56/+157 |
| | | | | | | | Use direct register to implement vcn 2.0 jpeg deocde Signed-off-by: Boyuan Zhang <[email protected]> Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeon/vcn: add direct register bool | Boyuan Zhang | 2019-07-03 | 2 | -0/+3 |
| | | | | | | | VCN 2.0 uses direct register space where VCN 1.0 uses some indirect registers Signed-off-by: Boyuan Zhang <[email protected]> Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeon/vcn: add defines for vcn 2.0 jpeg | Boyuan Zhang | 2019-07-03 | 1 | -0/+25 |
| | | | | | | | Add neccesary register defines for vcn 2.0 jpeg deocde Signed-off-by: Boyuan Zhang <[email protected]> Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeon/vcn: use variable to assign ib cmd | Boyuan Zhang | 2019-07-03 | 3 | -40/+128 |
| | | | | | Signed-off-by: Boyuan Zhang <[email protected]> Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeon/vcn: implement vcn 2.0 encode | Boyuan Zhang | 2019-07-03 | 4 | -5/+220 |
| | | | | | Signed-off-by: Boyuan Zhang <[email protected]> Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeon/vcn: add vcn2.0 encode skeleton | Boyuan Zhang | 2019-07-03 | 4 | -0/+81 |
| | | | | | | Signed-off-by: Boyuan Zhang <[email protected]> (v2: build fix -- Nicolai) Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeon/vcn: move vcn1.0 specific defines to c | Boyuan Zhang | 2019-07-03 | 2 | -29/+29 |
| | | | | | Signed-off-by: Boyuan Zhang <[email protected]> Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeon/vcn: assign function pointer with ib functions | Boyuan Zhang | 2019-07-03 | 3 | -165/+182 |
| | | | | | Signed-off-by: Boyuan Zhang <[email protected]> Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeon/vcn: add function pointer for ib functions | Boyuan Zhang | 2019-07-03 | 1 | -0/+32 |
| | | | | | Signed-off-by: Boyuan Zhang <[email protected]> Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeon/vcn: move header related algorithm to vcn_enc | Boyuan Zhang | 2019-07-03 | 3 | -122/+142 |
| | | | | | Signed-off-by: Boyuan Zhang <[email protected]> Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeon/vcn: move add buf func to common file | Boyuan Zhang | 2019-07-03 | 3 | -16/+17 |
| | | | | | Signed-off-by: Boyuan Zhang <[email protected]> Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeon/vcn: move cs defines to enc header file | Boyuan Zhang | 2019-07-03 | 2 | -10/+10 |
| | | | | | Signed-off-by: Boyuan Zhang <[email protected]> Acked-by: Bas Nieuwenhuizen <[email protected]> |