- 31 May, 2018 5 commits
-
-
Bas Nieuwenhuizen authored
This adds a RADV_DEBUG=startup option to dump more info about instance creation and device enumeration. A common question end users have is why the direver is not loading for them, and this has two common reasons: 1) They did not install the driver. 2) AMDGPU is not used for the card in the kernel. This adds some info messages so we can easily get a some useful output from end users. Reviewed-by:
Timothy Arceri <tarceri@itsqueeze.com> Reviewed-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com>
-
Bas Nieuwenhuizen authored
Errors are not that common of a case so we can eat a slight perf hit in having to call a function and do a runtime check. In turn this makes debugging random errors happening for end users easier, because they don't have to have a debug build on hand. Reviewed-by:
Timothy Arceri <tarceri@itsqueeze.com> Reviewed-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com>
-
Bas Nieuwenhuizen authored
They are only used in 1 file. Reviewed-by:
Timothy Arceri <tarceri@itsqueeze.com> Reviewed-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com>
-
Samuel Pitoiset authored
Totals from affected shaders: SGPRS: 80 -> 80 (0.00 %) VGPRS: 48 -> 48 (0.00 %) Code Size: 2120 -> 2096 (-1.13 %) bytes Max Waves: 16 -> 16 (0.00 %) Only two Rise of Tomb Raider shaders are affected on my side. Signed-off-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by:
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com>
-
Tapani Pälli authored
Patch skips useless and possibly dangerous calls down to the driver in case invalid arguments were given. I noticed this would be happening with demo of Darwinia game. AFAIK this does not fix anything but makes this path safer and more like how other API functions are implemented. Signed-off-by:
Tapani Pälli <tapani.palli@intel.com> Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
- 30 May, 2018 22 commits
-
-
Vinson Lee authored
CXXLD gallium_dri.la ../../../../src/broadcom/.libs/libbroadcom.a(clif_dump.o): In function `clif_dump_packet': src/broadcom/clif/clif_dump.c:87: undefined reference to `v3d33_clif_dump_packet' src/broadcom/clif/clif_dump.c:85: undefined reference to `v3d41_clif_dump_packet' ../../../../src/broadcom/.libs/libbroadcom.a(clif_dump.o): In function `clif_process_worklist': src/broadcom/clif/clif_dump.c:140: undefined reference to `v3d41_clif_dump_gl_shader_state_record' src/broadcom/clif/clif_dump.c:144: undefined reference to `v3d33_clif_dump_gl_shader_state_record' Signed-off-by:
Vinson Lee <vlee@freedesktop.org> Reviewed-by:
Eric Anholt <eric@anholt.net>
-
Jakob Bornecrantz authored
Reviewed-by:
Gurchetan Singh <gurchetansingh@chromium.org> Reviewed-by:
Dave Airlie <airlied@redhat.com> Signed-off-by:
Jakob Bornecrantz <jakob@collabora.com>
-
Dave Airlie authored
Reviewed-by:
Jakob Bornecrantz <jakob@collabora.com> Signed-off-by:
Jakob Bornecrantz <jakob@collabora.com>
-
Dave Airlie authored
Reviewed-by:
Jakob Bornecrantz <jakob@collabora.com> Signed-off-by:
Jakob Bornecrantz <jakob@collabora.com>
-
Dave Airlie authored
Reviewed-by:
Jakob Bornecrantz <jakob@collabora.com> Signed-off-by:
Jakob Bornecrantz <jakob@collabora.com>
-
Dave Airlie authored
Reviewed-by:
Jakob Bornecrantz <jakob@collabora.com> Signed-off-by:
Jakob Bornecrantz <jakob@collabora.com>
-
Dave Airlie authored
This makes this use all 32 bits, so future sets need to be defined in a new struct. Reviewed-by:
Jakob Bornecrantz <jakob@collabora.com> Signed-off-by:
Jakob Bornecrantz <jakob@collabora.com>
-
Timothy Arceri authored
This avoids loop unrolling regressions in Wolfenstein II on DXVK with an upcoming optimisation series from Samuel. Reviewed-by:
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
-
Bas Nieuwenhuizen authored
The current implementation depends on bpermute, which is VI+. Fixes: f2c6a550 "radv: enable subgroup capabilities" Reviewed-by:
Daniel Schürmann <daniel.schuermann@campus.tu-berlin.de> Reviewed-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com>
-
Samuel Pitoiset authored
This was terribly wrong, I forced use of 32-bit pointers when emitting shader descriptor pointers. This fixes GPU hangs with LLVM 5&6 because 32-bit pointers are only supported with LLVM 7. Fixes: 88d1ed0f ("radv: emit shader descriptor pointers consecutively") Signed-off-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by:
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
-
Ilia Mirkin authored
Signed-off-by:
Ilia Mirkin <imirkin@alum.mit.edu>
-
Ilia Mirkin authored
Fixes: f7604d8a ("st/dri: only expose config formats that are display targets") Cc: "18.1" <mesa-stable@lists.freedesktop.org> Signed-off-by:
Ilia Mirkin <imirkin@alum.mit.edu>
-
Marek Olšák authored
Gallium drivers don't expose this yet due to: "st/mesa: use PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY" Reviewed-by:
Timothy Arceri <tarceri@itsqueeze.com>
-
Marek Olšák authored
This requires layered FBOs from GL 3.2. Gallium drivers don't expose this yet due to: "st/mesa: use PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY" Reviewed-by:
Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by:
Timothy Arceri <tarceri@itsqueeze.com>
-
Marek Olšák authored
Gallium drivers don't expose this yet due to: "st/mesa: use PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY" Reviewed-by:
Timothy Arceri <tarceri@itsqueeze.com>
-
Marek Olšák authored
Reviewed-by:
Timothy Arceri <tarceri@itsqueeze.com>
-
Marek Olšák authored
Reviewed-by:
Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by:
Timothy Arceri <tarceri@itsqueeze.com>
-
Marek Olšák authored
Reviewed-by:
Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by:
Timothy Arceri <tarceri@itsqueeze.com>
-
Marek Olšák authored
Reviewed-by:
Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by:
Timothy Arceri <tarceri@itsqueeze.com>
-
Marek Olšák authored
Reviewed-by:
Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by:
Timothy Arceri <tarceri@itsqueeze.com>
-
Marek Olšák authored
Bindless texture handles can be passed via vertex attribs using this type. They use the double codepath, so don't use st_pipe_vertex_format. Cc: 18.0 18.1 <mesa-stable@lists.freedesktop.org> Reviewed-by:
Ilia Mirkin <imirkin@alum.mit.edu>
-
Marek Olšák authored
Bindless texture handles can be passed via vertex attribs using this type. This fixes a bunch of bindless piglit tests on radeonsi. Cc: 18.0 18.1 <mesa-stable@lists.freedesktop.org> Reviewed-by:
Ilia Mirkin <imirkin@alum.mit.edu>
-
- 29 May, 2018 13 commits
-
-
Timothy Arceri authored
This is required for tessellation shader Compat profile support. Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
Dave Airlie authored
I disliked removing the const here, function tables are meant to be const just to avoid having to think about them, make a second table for the shm vs non-shm paths to use. Reviewed-by:
Adam Jackson <ajax@redhat.com>
-
Marc-André Lureau authored
Reviewed-by:
Dave Airlie <airlied@redhat.com> Reviewed-by:
Adam Jackson <ajax@redhat.com>
-
Marc-André Lureau authored
Reviewed-by:
Dave Airlie <airlied@redhat.com> Reviewed-by:
Adam Jackson <ajax@redhat.com>
-
Marc-André Lureau authored
Reviewed-by:
Dave Airlie <airlied@redhat.com> Reviewed-by:
Adam Jackson <ajax@redhat.com>
-
Marc-André Lureau authored
Implements putImageShm from DRIswrastLoaderExtension. If XShm extension is not available, or fails, it will fallback on regular XPutImage(). Tested on Linux only with 16bpp and 32bpp visual. (airlied: tested on 24bpp as well) Reviewed-by:
Dave Airlie <airlied@redhat.com> Reviewed-by:
Adam Jackson <ajax@redhat.com>
-
Marc-André Lureau authored
If drisw_loader_funcs implements put_image_shm, allocates display target data with shared memory and display with put_image_shm(). Reviewed-by:
Dave Airlie <airlied@redhat.com> Reviewed-by:
Adam Jackson <ajax@redhat.com>
-
Marc-André Lureau authored
If the DRIswrastLoaderExtension implements putImageShm, bind it to drisw_loader_funcs. Reviewed-by:
Dave Airlie <airlied@redhat.com> Reviewed-by:
Adam Jackson <ajax@redhat.com>
-
Marc-André Lureau authored
Add new API to put and get an image using shared memory. Instead of only passing the data pointer, 3 arguments are given: the shmid, the data offset and the shmaddr. Bump interface version. Reviewed-by:
Dave Airlie <airlied@redhat.com> Reviewed-by:
Adam Jackson <ajax@redhat.com>
-
Dave Airlie authored
This just renames this as we want to add an shm handle which isn't really drm related. Originally by: Marc-André Lureau <marcandre.lureau@gmail.com> (airlied: I used this sed script instead) This was generated with: git grep -l 'DRM_API_' | xargs sed -i 's/DRM_API_/WINSYS_/g' Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
Marc-André Lureau authored
This will be used in the drisw interface later, which isn't drm specific. Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
Francisco Jerez authored
When using multiple RT write messages to the same RT such as for dual-source blending or all RT writes in SIMD32, we have to set the "Last Render Target Select" bit on all write messages that target the last RT but only set EOT on the last RT write in the shader. Special-casing for dual-source blend works today because that is the only case which requires multiple RT write messages per RT. When we start doing SIMD32, this will become much more common so we add a dedicated bit for it. Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net> Reviewed-by:
Matt Turner <mattst88@gmail.com>
-
Francisco Jerez authored
The only reason it was it's own opcode was so that we could detect it and adjust the source register based on the payload setup. Now that we're using the ATTR file for FS inputs, there's no point in having a magic opcode for this. v2 (Jason Ekstrand): - Break the bit which removes the CINTERP opcode into its own patch Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net> Reviewed-by:
Matt Turner <mattst88@gmail.com>
-