- Apr 08, 2021
-
-
Leo Liu authored
For the caps of max_width, max_height and max_level with those that are available via querying the kernel. Signed-off-by: Leo Liu <leo.liu@amd.com>
-
Leo Liu authored
It will be used to query caps of decode and encode for hardware AMDGPU supports Signed-off-by: Leo Liu <leo.liu@amd.com>
-
Leo Liu authored
From drm-next: commit 2cbcb78c9ee5520c8d836c7ff57d1b60ebe8e9b7 Merge: 06debd6e1b28 8c44390d8872 Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Fri Mar 26 15:52:01 2021 +0100 Merge tag 'amd-drm-next-5.13-2021-03-23' of https://gitlab.freedesktop.org/agd5f/linux into drm-next amd-drm-next-5.13-2021-03-23: amdgpu: ... UAPI: - amdgpu: Add a new INFO ioctl interface to query video capabilities rather than hardcoding them in userspace. This allows us to provide fine grained asic capabilities (e.g., if a particular part is bandwidth limited, we can limit the capabilities). Proposed userspace: https://gitlab.freedesktop.org/leoliu/drm/-/commits/info_video_caps https://gitlab.freedesktop.org/leoliu/mesa/-/commits/info_video_caps ... Danvet: A bunch of conflicts all over, but it seems to compile ... I did put the call to dc_allow_idle_optimizations() on a single line since it looked a bit too jarring to be left alone. Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> From: Alex Deucher <alexander.deucher@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210324040147.1990338-1-alexander.deucher@amd.com Signed-off-by: Leo Liu <leo.liu@amd.com>
-
Leo Liu authored
To include the INFO ioctl query for video caps Signed-off-by: Leo Liu <leo.liu@amd.com>
-
- Apr 07, 2021
-
-
Enrico Galli authored
Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <!10064>
-
Enrico Galli authored
Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <!10064>
-
Mike Blumenkrantz authored
a common usage for hash tables is for tracking exactly one instance of a pointer for a given period of time, after which the table's entries are purged and it is reused this macro enables the purge phase of such usage to reset the table to a pristine state, avoiding future rehashing due to ballooning of deleted entries Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <!8498>
-
Mike Blumenkrantz authored
a common usage for sets is for tracking exactly one instance of a pointer for a given period of time, after which the set's entries are purged and it is reused this macro enables the purge phase of such usage to reset the table to a pristine state, avoiding future rehashing due to ballooning of deleted entries Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <!8498>
-
Mike Blumenkrantz authored
with all of these, lavapipe can now be traced Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <!9958>
-
Mike Blumenkrantz authored
if zink+lavapipe is enabled at compile-time, special handling is needed to ensure that only the intended screen is traced, otherwise malformed xml will be generated Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <!10059>
-
Dave Airlie authored
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <!10086>
-
Mike Blumenkrantz authored
avoids memcpy slowpath Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <!9733>
-
Dave Airlie authored
This is not fully conformant but the failures are the same as the Vulkan 1.0 failures. Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <!9645>
-
Dave Airlie authored
If I say layering violation, you say? Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <!9645>
-
Dave Airlie authored
Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <!9645>
-
Dave Airlie authored
Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <!9645>
-
Dave Airlie authored
Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <!9645>
-
Dave Airlie authored
Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <!9645>
-
Dave Airlie authored
Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <!9645>
-
Dave Airlie authored
Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <!9645>
-
Dave Airlie authored
Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <!9645>
-
Dave Airlie authored
This just adds support for retrieving subgroup system values. Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <!9645>
-
Dave Airlie authored
Rewrite a little as we have to add 16-bit support later in life Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <!9645>
-
Dave Airlie authored
These are both required for vulkan subgroup support. Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <!9645>
-
Dave Airlie authored
This is needed for vk 1.1 Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <!9645>
-
Dave Airlie authored
Still have to add subgroups before advertising 1.1 Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <!9645>
-
Mike Blumenkrantz authored
this enforces spec for 3d vs array texture blits, more to come Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <!10005>
-
Dave Airlie authored
Reviewed-by: Roland Scheidegger <sroland@vmware.com> Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <!10068>
-
Dave Airlie authored
Don't be smarter than state tracker here, of d3d10 wants to do something the state tracker should hard code that. Since lavapipe wants to use clip_halfz and depth clipping independently. This fixes some issues blitting Z that zink was seeing Reviewed-by: Roland Scheidegger <sroland@vmware.com> Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <!10068>
-
Dave Airlie authored
When depth clamp is disabled the viewport values aren't meaningful, however the value is about to be converted to a unorm so needs to still be clamped to 0/1. This might not be the best place for this, maybe it should be in the write swizzled code. Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <!10068>
-
Samuel Pitoiset authored
The driver now supports DCC stores on GFX10 that means that we can keep DCC compressed on all layouts/queues. This should help games which use aync compute or which declare all images as concurrent like Youngblood. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <!9850>
-
Samuel Pitoiset authored
If the image is marked as concurrent, each element of pQueueFamilyIndices must be unique, so queue_family_mask is different than 1. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <!9850>
-
Mike Blumenkrantz authored
the system_values_read bit might not be set if the value isn't read or is DCE, but it still needs to be emitted probably. fixes #4591 Reviewed-by: Witold Baryluk <witold.baryluk@gmail.com> Tested-by: Witold Baryluk <witold.baryluk@gmail.com> Part-of: <!10079>
-
Dylan Baker authored
Part-of: <!10078>
-
Dylan Baker authored
Part-of: <mesa/mesa!10078>
-
Dylan Baker authored
Part-of: <!10078>
-
Corentin Noël authored
This allows to fix some credential leaks and provides compatibility with the latest LAVA version. Avoids failures when the LAVA instance returns Error 500 Signed-off-by: Corentin Noël <corentin.noel@collabora.com> Part-of: <!9851>
-
Samuel Pitoiset authored
Should work now. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <!10052>
-
Alyssa Rosenzweig authored
Roundtrip to a larger float and divide there. The extra details for mod/rem are handled directly in integer space to simplify verification of rounding details. The one issue is that the mantissa might be rounded down which will cause issues; adding 1 unconditionally (proposed by Jonathan Marek) fixes this. The lowerings here were tested exhaustively on all pairs of 16-bit integers. v2: Update idiv lowering per Rhys Perry's comment. v3: Rewrite lowerings. v4: Remove useless ftrunc, fix 8-bit issue, simplify code. v5: Remove useless ffloor Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Tested-by: Danylo Piliaiev <dpiliaiev@igalia.com> Tested-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <!8339>
-
Alyssa Rosenzweig authored
No need to duplicate across paths. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <!8339>
-