Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ac/rtld: add support for Wave32 | Marek Olšák | 2019-07-19 | 8 | -5/+21 |
| | | | | Reviewed-by: Samuel Pitoiset <[email protected]> | ||||
* | ac: add Wave32 LLVM target machine | Marek Olšák | 2019-07-19 | 2 | -1/+20 |
| | | | | Reviewed-by: Samuel Pitoiset <[email protected]> | ||||
* | ac: initial Wave32 support in LLVM build helpers | Marek Olšák | 2019-07-19 | 4 | -13/+21 |
| | | | | Reviewed-by: Samuel Pitoiset <[email protected]> | ||||
* | radeonsi: assume that selector != NULL for compute shaders | Marek Olšák | 2019-07-19 | 1 | -14/+6 |
| | | | | | Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]> Acked-by: Samuel Pitoiset <[email protected]> | ||||
* | radeonsi: remove what appears to be legacy compute code | Marek Olšák | 2019-07-19 | 1 | -35/+6 |
| | | | | | Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]> Acked-by: Samuel Pitoiset <[email protected]> | ||||
* | radeonsi: remove si_program::use_code_object_v2 | Marek Olšák | 2019-07-19 | 2 | -6/+3 |
| | | | | | Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]> Acked-by: Samuel Pitoiset <[email protected]> | ||||
* | radeonsi: add si_shader_selector into si_compute | Marek Olšák | 2019-07-19 | 4 | -81/+57 |
| | | | | | | | | Now we can assume that shader->selector is always set. This will simplify some code. Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]> Acked-by: Samuel Pitoiset <[email protected]> | ||||
* | radeonsi: set threadgroup size to 0 for threadgroups with only 1 wave | Marek Olšák | 2019-07-19 | 1 | -3/+3 |
| | | | | | | | This has no effect on Wave64. Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]> Acked-by: Samuel Pitoiset <[email protected]> | ||||
* | radeonsi/gfx10: set as_ngg for GS prolog | Marek Olšák | 2019-07-19 | 2 | -5/+9 |
| | | | | | | | as_ngg is required by Wave32. Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]> | ||||
* | radeonsi/gfx10: remove the disable_ngg option | Marek Olšák | 2019-07-19 | 3 | -6/+2 |
| | | | | | | | because legacy VS hangs. Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]> | ||||
* | radeonsi/gfx10: combine hw edgeflags with user edgeflags for correct behavior | Marek Olšák | 2019-07-19 | 4 | -19/+73 |
| | | | | | Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]> | ||||
* | radeonsi/gfx10: deduplicate code for esvert_lds_size | Marek Olšák | 2019-07-19 | 1 | -6/+16 |
| | | | | | Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]> | ||||
* | radeonsi/gfx10: simplify a streamout loop in gfx10_emit_ngg_epilogue | Marek Olšák | 2019-07-19 | 1 | -7/+6 |
| | | | | | Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]> | ||||
* | radeonsi/gfx10: don't use MALLOC for outputs | Marek Olšák | 2019-07-19 | 1 | -9/+2 |
| | | | | | Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]> | ||||
* | radeonsi/gfx10: clean up ESGS ring size computation | Marek Olšák | 2019-07-19 | 2 | -24/+11 |
| | | | | | Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]> | ||||
* | radeonsi/gfx10: fix unnecessary LDS overallocation for NGG GS | Marek Olšák | 2019-07-19 | 2 | -8/+2 |
| | | | | | Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]> | ||||
* | radeonsi/gfx10: don't compile the GS copy shader if it's 100% not needed | Marek Olšák | 2019-07-19 | 2 | -8/+12 |
| | | | | | Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]> | ||||
* | radeonsi/gfx10: set GE_CTNL.PACKET_TO_ONE_PA for NGG | Marek Olšák | 2019-07-19 | 3 | -27/+27 |
| | | | | | Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]> | ||||
* | radeonsi/gfx10: update a tunable max_es_verts_base for NGG | Marek Olšák | 2019-07-19 | 3 | -7/+12 |
| | | | | | | | We have to fix the computation so as not to break quads. Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]> | ||||
* | radeonsi/gfx10: implement ARB_post_depth_coverage | Marek Olšák | 2019-07-19 | 2 | -1/+6 |
| | | | | | Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]> | ||||
* | radeonsi: fix leaked compute shader NIR | Marek Olšák | 2019-07-19 | 1 | -0/+1 |
| | | | | | Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]> Acked-by: Samuel Pitoiset <[email protected]> | ||||
* | radeonsi: save the enable_nir option in the shader cache correctly | Marek Olšák | 2019-07-19 | 1 | -5/+6 |
| | | | | | Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]> Acked-by: Samuel Pitoiset <[email protected]> | ||||
* | radeonsi/gfx10: enable SDMA | Marek Olšák | 2019-07-19 | 1 | -2/+0 |
| | | | | | | | no changes since gfx9 for buffers Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]> | ||||
* | ac: use llvm.amdgcn.writelane | Marek Olšák | 2019-07-19 | 1 | -2/+6 |
| | | | | Reviewed-by: Samuel Pitoiset <[email protected]> | ||||
* | ac: fix shader clock on LLVM 9 | Marek Olšák | 2019-07-19 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | Probably relevant commit: commit dd32dc3f72ec99b1794d62c74d2beb3b60468d50 Author: Stanislav Mekhanoshin <[email protected]> Date: Tue Jul 9 03:10:18 2019 +0000 [AMDGPU] Always use s_memtime for readcyclecounter Differential Revision: https://reviews.llvm.org/D64369 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365431 91177308-0d34-0410-b5e6-96231b3b80d8 Reviewed-by: Samuel Pitoiset <[email protected]> | ||||
* | radeon/vcn: adding engine type for new fw interface | Boyuan Zhang | 2019-07-19 | 3 | -2/+5 |
| | | | | | | Signed-off-by: Boyuan Zhang <[email protected]> Reviewed-by: Leo Liu <[email protected]> Acked-by: Samuel Pitoiset <[email protected]> | ||||
* | radeonsi: use the correct buffer size in si_vid_clear_buffer | Marek Olšák | 2019-07-19 | 1 | -1/+1 |
| | | | | | Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]> Acked-by: Samuel Pitoiset <[email protected]> | ||||
* | mesa: add EXT_dsa glEnabledIndexedEXT | Pierre-Eric Pelloux-Prayer | 2019-07-19 | 2 | -0/+74 |
| | | | | | | | | | | | | The implementation uses _mesa_ActiveTexture to change the active texture unit and then reset it. It causes an unnecessary _NEW_TEXTURE_STATE but: - adding an index argument to _mesa_set_enable causes a lot of changes (~140 callers) - enable_texture (called by _mesa_set_enable) might cause a _NEW_TEXTURE_STATE anyway. Reviewed-by: Marek Olšák <[email protected]> | ||||
* | mesa: add EXT_dsa glGetTextureLevelParameter*vEXT functions | Pierre-Eric Pelloux-Prayer | 2019-07-19 | 5 | -2/+71 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | mesa: add EXT_dsa gl(Copy)Texture(Sub)Image1D/2D/3DEXT functions | Pierre-Eric Pelloux-Prayer | 2019-07-19 | 8 | -20/+878 |
| | | | | | | | | | | | | | | | | | | | Added functions: - glTextureImage1DEXT - glTextureImage2DEXT - glTextureImage3DEXT - glTextureSubImage1DEXT - glTextureSubImage3DEXT - glCopyTextureImage1DEXT - glCopyTextureImage2DEXT - glCopyTextureSubImage1DEXT - glCopyTextureSubImage2DEXT - glCopyTextureSubImage3DEXT - glGetTextureImageEXT All but the last one can be compiled in a display list. Reviewed-by: Marek Olšák <[email protected]> | ||||
* | mesa: move lookup_texture_ext_dsa up in teximage.c | Pierre-Eric Pelloux-Prayer | 2019-07-19 | 1 | -63/+60 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | mesa: pass gl_texture_object as arg to not depend on state | Pierre-Eric Pelloux-Prayer | 2019-07-19 | 1 | -28/+32 |
| | | | | | | This will allow to use the same functions for EXT_dsa implementation. Reviewed-by: Marek Olšák <[email protected]> | ||||
* | mesa: refactor get_texture_image to remove duplicate code | Pierre-Eric Pelloux-Prayer | 2019-07-19 | 1 | -50/+32 |
| | | | | | | | | Move shared code in a new function (_get_texture_image) and use it instead of duplicating the same lines. Will be also used by the EXT_dsa functions (GetTextureImageEXT and GetMultiTexImageEXT). Reviewed-by: Marek Olšák <[email protected]> | ||||
* | pipe-loader: use radeonsi for MM if amdgpu dri is used | Jeremy Newton | 2019-07-19 | 1 | -0/+9 |
| | | | | | | | | | | The amdgpu dri is used for the closed source AMD driver. Since this driver does not implement multimedia, we fall back to radeonsi in mesa to do multimedia. This corrects the dri driver name for when it is set to amdgpu. Reviewed-by: Michel Dänzer <[email protected]> (v1) Signed-off-by: Jeremy Newton <[email protected]> Signed-off-by: Marek Olšák <[email protected]> | ||||
* | egl: drop incorrect pkg-config file for glvnd | Eric Engestrom | 2019-07-20 | 1 | -18/+10 |
| | | | | | | | | | | | | | | | | | With b01524fff05eef66e8cd ("meson: don't build libGLES*.so with GLVND") we dropped the incorrect pkg-config files for GLES*. Since then, the glvnd issue of its missing files has become painfully apparent, since it break the build for everyone using glvnd. NVIDIA has had a fix for a few years now, but has yet to accept it: https://github.com/NVIDIA/libglvnd/pull/86 Since the breakage is already there, let's clean up everything on our side while we wait for NVIDIA to accept the fix. Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Matt Turner <[email protected]> | ||||
* | mesa/tests: add missing dep_thread | Eric Engestrom | 2019-07-19 | 1 | -0/+1 |
| | | | | | | | Fixes: f8c27c277585141f2d27 ("state_tracker: Move the format test out to be an actual unit test.") Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Tested-by: Vinson Lee <[email protected]> | ||||
* | util: drop strncat(), strcmp(), strncmp(), snprintf() & vsnprintf() MSVC ↵ | Eric Engestrom | 2019-07-19 | 1 | -81/+0 |
| | | | | | | | | | | | | | | | fallbacks It would seem MSVC>=2015 is now C99-compliant wrt these functions: strncat: https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/strncat-strncat-l-wcsncat-wcsncat-l-mbsncat-mbsncat-l?view=vs-2017 strcmp: https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/strcmp-wcscmp-mbscmp?view=vs-2017 strncmp: https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/strncmp-wcsncmp-mbsncmp-mbsncmp-l?view=vs-2017 snprintf: https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/snprintf-snprintf-snprintf-l-snwprintf-snwprintf-l?view=vs-2017 vsnprintf: https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/vsnprintf-vsnprintf-vsnprintf-l-vsnwprintf-vsnwprintf-l?view=vs-2017 Suggested-by: Emil Velikov <[email protected]> Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Eric Anholt <[email protected]> | ||||
* | util: use standard name for vsnprintf() | Eric Engestrom | 2019-07-19 | 10 | -18/+15 |
| | | | | | | | Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Eric Anholt <[email protected]> | ||||
* | util: use standard name for snprintf() | Eric Engestrom | 2019-07-19 | 43 | -126/+125 |
| | | | | | | | Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Eric Anholt <[email protected]> | ||||
* | util: use standard name for vasprintf() | Eric Engestrom | 2019-07-19 | 3 | -3/+3 |
| | | | | | | | Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Eric Anholt <[email protected]> | ||||
* | util: use standard name for sprintf() | Eric Engestrom | 2019-07-19 | 7 | -20/+20 |
| | | | | | | | Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Eric Anholt <[email protected]> | ||||
* | util: use standard name for strcmp() | Eric Engestrom | 2019-07-19 | 2 | -10/+10 |
| | | | | | | | Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Eric Anholt <[email protected]> | ||||
* | util: use standard name for strcasecmp() | Eric Engestrom | 2019-07-19 | 1 | -2/+1 |
| | | | | | Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Eric Anholt <[email protected]> | ||||
* | util: use standard name for strncmp() | Eric Engestrom | 2019-07-19 | 2 | -2/+2 |
| | | | | | | | Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Eric Anholt <[email protected]> | ||||
* | util: use standard name for strncat() | Eric Engestrom | 2019-07-19 | 3 | -8/+8 |
| | | | | | | | Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Eric Anholt <[email protected]> | ||||
* | util: use standard name for strdup() | Eric Engestrom | 2019-07-19 | 3 | -5/+4 |
| | | | | | | | Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Eric Anholt <[email protected]> | ||||
* | util: use standard name for strchrnul() | Eric Engestrom | 2019-07-19 | 3 | -7/+4 |
| | | | | | | | Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Eric Anholt <[email protected]> | ||||
* | util: drop unused vsprintf() wrapper | Eric Engestrom | 2019-07-19 | 1 | -7/+0 |
| | | | | | | Suggested-by: Emil Velikov <[email protected]> Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Eric Anholt <[email protected]> | ||||
* | util: drop unused strchr() wrapper | Eric Engestrom | 2019-07-19 | 2 | -10/+1 |
| | | | | | | Suggested-by: Emil Velikov <[email protected]> Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Eric Anholt <[email protected]> | ||||
* | util: drop unused strstr() wrapper | Eric Engestrom | 2019-07-19 | 1 | -14/+0 |
| | | | | | | Suggested-by: Emil Velikov <[email protected]> Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Eric Anholt <[email protected]> |