Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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]> | ||||
* | radeon/vcn: add VP9 support for Navi10 | Leo Liu | 2019-07-03 | 1 | -10/+20 |
| | | | | | | | It requires bigger DPB and context buffers Signed-off-by: Leo Liu <[email protected]> Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi: enable encode support for newer HW | Leo Liu | 2019-07-03 | 1 | -5/+3 |
| | | | | | | | Previously it was Raven only allowed to do so Signed-off-by: Leo Liu <[email protected]> Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeon/vcn: add VCN2 set of internal registers for IB | Leo Liu | 2019-07-03 | 2 | -9/+31 |
| | | | | | | | | From VCN2.0, the RBC have different views on the registers Signed-off-by: Leo Liu <[email protected]> (v2: rebase -- Nicolai) Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi/uvd: allow newer HW to create HW decoder | Leo Liu | 2019-07-03 | 1 | -2/+1 |
| | | | | | | | Previously it was Raven only allowed to do so Signed-off-by: Leo Liu <[email protected]> Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | ac/surface/gfx10: allow "rotated" micro mode | Nicolai Hähnle | 2019-07-03 | 2 | -8/+8 |
| | | | | | | | | Standard mode does not support DCC. The R is retconned to "render target" on gfx10. Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | ac/surface/gfx10: DCC is only supported with SW_64KB_{Z,R}_X modes | Nicolai Hähnle | 2019-07-03 | 1 | -3/+10 |
| | | | | Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | amd/addrlib/gfx10: forbid DCC for swizzle modes which the hardware does not ↵ | Nicolai Hähnle | 2019-07-03 | 1 | -3/+2 |
| | | | | | | support Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | amd/addrlib/gfx10: fix assertion in Addr2IsValidDisplaySwizzleMode | Nicolai Hähnle | 2019-07-03 | 1 | -0/+1 |
| | | | | Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | amd/common/gfx10: print gfx10 registers in debug dumps | Nicolai Hähnle | 2019-07-03 | 1 | -1/+3 |
| | | | | Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | amd/common/gfx10: CMASK is only used for FMASK | Nicolai Hähnle | 2019-07-03 | 1 | -2/+3 |
| | | | | | | All regular color compression is done via DCC. Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | amd/common/gfx10: support new tbuffer encoding | Nicolai Hähnle | 2019-07-03 | 1 | -2/+45 |
| | | | | Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | amd/common/gfx10: pad shader buffers for instruction prefetch | Nicolai Hähnle | 2019-07-03 | 1 | -0/+19 |
| | | | | Acked-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | amd/common/gfx10: implement scan & reduce operations | Nicolai Hähnle | 2019-07-03 | 1 | -8/+104 |
| | | | | Acked-by: Bas Nieuwenhuizen <[email protected]> |