- 18 Nov, 2020 6 commits
-
-
Marek Olšák authored
This removes some overhead from tc_draw_vbo and increases the maximum number of draws per batch from 153 to 192 in u_threaded_context. Reviewed-by:
Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <!7441>
-
Marek Olšák authored
to remove some overhead from Driver.Draw. Reviewed-by:
Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <!7441>
-
Alejandro Piñeiro authored
Include: * Missing call to tu_queue_finish * Use the proper free method for device->queues Fixes 5d3fdbc5Tested-by:
Hyunjun Ko <zzoon@igalia.com> Reviewed-by:
Hyunjun Ko <zzoon@igalia.com> Part-of: <!7663>
-
Eric Anholt authored
Giving us an unaligned pointer is invalid, and this helps switch a CTS bug from being a flake to a consistent crash. https://gitlab.khronos.org/Tracker/vk-gl-cts/-/issues/2661 Part-of: <!7662>
-
xantares authored
Reviewed-by:
Erik Faye-Lund <erik.faye-lund@collabora.com> Reviewed-by:
Jesse Natalie <jenatali@microsoft.com> Acked-by:
Jose Fonseca <jfonseca@vmware.com> Closes #3802 Part-of: <!7643>
-
xantares authored
Reviewed-by:
Erik Faye-Lund <erik.faye-lund@collabora.com> Reviewed-by:
Jesse Natalie <jenatali@microsoft.com> Part-of: <!7643>
-
- 17 Nov, 2020 34 commits
-
-
Alejandro Piñeiro authored
Which is using base class's implementation. Based on Hyunjun's commit d941c6b7Reviewed-by:
Iago Toral Quiroga <itoral@igalia.com> Part-of: <!7627>
-
Alejandro Piñeiro authored
Used as reference Hyujun's commit 5d3fdbc5, that does the same for turnip. This commit also replaces in several cases alloc for zalloc, and adds checks on more Destroy methods if the object to be free is NULL or not. Most of them were needed to avoid crashes/weird behaviour due trying to use un-initialized data. Note that now that vk_object_free iterates over a array, making it more against un-initialized or just NULL data. Additionally, using zalloc we can also remove some memset to 0. In fact we needed to remove them, as if not, they would override the vk_object_base object to 0 (the alternative would me doing a memset computing a pointer offset, but that's is not needed as we can just use zalloc). v2: * Call memset(0) on reused descriptor sets when calling ResetDescriptorPool, not when reallocating them (Iago) * Add null check when calling DestroyImageView (detected by a full CTS run) v3: Fixed rebase confli...
-
Marek Olšák authored
This is for experiments with VRS. Acked-by:
Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <!7646>
-
Marek Olšák authored
Acked-by:
Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <!7646>
-
Andres Gomez authored
After 16c756e5 ("spirv: reverse order in matrix multiplication") some checksums for the radv driver remained to be updated. v2: - Correct typo (Mihai). Signed-off-by:
Andres Gomez <agomez@igalia.com> Acked-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by:
Martin Peres <martin.peres@mupuf.org> Part-of: <!7645>
-
Andres Gomez authored
After 24a18b1a ("nir: scalarize fdot in reverse") some checksums for the radv driver remained to be updated. v2: - Correct typo (Mihai). Signed-off-by:
Andres Gomez <agomez@igalia.com> Acked-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by:
Martin Peres <martin.peres@mupuf.org> Part-of: <!7645>
-
xantares authored
Reviewed-by:
Jose Fonseca <jfonseca@vmware.com> Part-of: <!7392>
-
Tony Wasserka authored
This will suppress warnings from LLVM includes. Reviewed-by:
Eric Engestrom <eric@engestrom.ch> Reviewed-by:
Dylan Baker <dylan@pnbakers.com> Part-of: <!7632>
-
Leo Liu authored
By adding name, role and profile to OMX decoder Signed-off-by:
Leo Liu <leo.liu@amd.com> Reviewed-by:
Boyuan Zhang <boyuan.zhang@amd.com> Part-of: <!7596>
-
Leo Liu authored
This handles different task queues based on OMX bellagio Signed-off-by:
Leo Liu <leo.liu@amd.com> Reviewed-by:
Boyuan Zhang <boyuan.zhang@amd.com> Part-of: <!7596>
-
Leo Liu authored
Based on AV1 spec: https://aomediacodec.github.io/av1-specSigned-off-by:
Leo Liu <leo.liu@amd.com> Reviewed-by:
Boyuan Zhang <boyuan.zhang@amd.com> Part-of: <!7596>
-
Leo Liu authored
Also add bitstream base parser based on AV1 spec Signed-off-by:
Leo Liu <leo.liu@amd.com> Reviewed-by:
Boyuan Zhang <boyuan.zhang@amd.com> Part-of: <!7596>
-
Leo Liu authored
since AV1 is avaiable from VCN3 Signed-off-by:
Leo Liu <leo.liu@amd.com> Reviewed-by:
Boyuan Zhang <boyuan.zhang@amd.com> Part-of: <!7596>
-
Leo Liu authored
This defines the support size to 8K and no interlaced buffer Signed-off-by:
Leo Liu <leo.liu@amd.com> Reviewed-by:
Boyuan Zhang <boyuan.zhang@amd.com> Part-of: <!7596>
-
Leo Liu authored
with the segmetation data and mask Signed-off-by:
Leo Liu <leo.liu@amd.com> Reviewed-by:
Boyuan Zhang <boyuan.zhang@amd.com> Part-of: <!7596>
-
Leo Liu authored
This passes parameters to firmware based on interface by frames. Signed-off-by:
Leo Liu <leo.liu@amd.com> Reviewed-by:
Boyuan Zhang <boyuan.zhang@amd.com> Part-of: <!7596>
-
Leo Liu authored
with the mode tables, mv probs tables, and coef probs tables Signed-off-by:
Leo Liu <leo.liu@amd.com> Reviewed-by:
Boyuan Zhang <boyuan.zhang@amd.com> Part-of: <!7596>
-
Leo Liu authored
The context buffer will be filled up with the tables, and used by firmware for decode Signed-off-by:
Leo Liu <leo.liu@amd.com> Reviewed-by:
Boyuan Zhang <boyuan.zhang@amd.com> Part-of: <!7596>
-
Leo Liu authored
These tables will be used by firmware Signed-off-by:
Leo Liu <leo.liu@amd.com> Reviewed-by:
Boyuan Zhang <boyuan.zhang@amd.com> Part-of: <!7596>
-
Leo Liu authored
Just use the default size for now Signed-off-by:
Leo Liu <leo.liu@amd.com> Reviewed-by:
Boyuan Zhang <boyuan.zhang@amd.com> Part-of: <!7596>
-
Leo Liu authored
This adds AV1 stream type to the AV1 decoder Signed-off-by:
Leo Liu <leo.liu@amd.com> Reviewed-by:
Boyuan Zhang <boyuan.zhang@amd.com> Part-of: <!7596>
-
Leo Liu authored
This collects parameters that firmware and hardware require for the AV1 codec. Signed-off-by:
Leo Liu <leo.liu@amd.com> Reviewed-by:
Boyuan Zhang <boyuan.zhang@amd.com> Part-of: <!7596>
-
Leo Liu authored
This adds AV1 video profile, format and picture description to vl. Signed-off-by:
Leo Liu <leo.liu@amd.com> Reviewed-by:
Boyuan Zhang <boyuan.zhang@amd.com> Part-of: <!7596>
-
chadversary authored
Simple refactor. No intended change in behavior. Replace each derivation of aux address with anv_image_get_aux_addr(). The function will soon do more in support of VK_EXT_image_drm_format_modifier, where the image bo and aux bo may be disjoint. v2: - Replace param 'aspect' with 'plane'. v3: - Workaround for stencil ccs. If no aux surface, then return ANV_NULL_ADDRESS. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> (v2) Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> (v3)
-
chadversary authored
Pre-patch, we checked the offsets once per aspect after adding all surfaces for the aspect. The additional checks will make it easier to diagnose layout bugs. Reviewed-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net>
-
chadversary authored
Pure refactor. No intended change in behavior. This makes the code infinitely easier to understand. And it uncovers a potential bug (marked with XXX comment). v2: Fix narrowing conversions on 32-bit arch. s/size_t/uintmax_t/. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> (v1) Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> (v2)
-
chadversary authored
Months ago, make_surface() added *all* surfaces required for the given aspect. It was a monster monolithic function, and difficult to reason about its correctness. In commit c652ff8c (2020-03-06), I split the code for aux surfaces into its own function, add_aux_surface_if_supported(). This patch continues the splitting, therefore making bugs easier to identify. Code changes: - Move the code that adds the shadow surface from make_surface() to a new function add_shadow_surface(), called from add_all_surfaces(). - Move the call to add_aux_surface_if_supported() from make_surface() to add_all_surfaces(). - To preserve correctness of the assertions on image layout in make_surface(), move them to the loop in add_all_surfaces() after all the aspect's surfaces have been added. - Rename make_surface() to add_primary_surface() because now that's what it does. Pure refactor, no intended change in behavior. v2: - Rebase onto "anv: Fix isl_surf_usage_flags for stencil images". - Sanitize the image's extent earlier. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> (v2) Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> (v2)
-
chadversary authored
This deduplicates the loops in anv_image_create() and resolve_ahw_image(). Reviewed-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net>
-
chadversary authored
Acked-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net>
-
chadversary authored
In anv_get_image_format_properties(), the special-case code for VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT is tiny. It is mostly a detached 'case' in the 'switch' block for VkImageType. So move the special-case code to immediately follow the 'switch' block. Reviewed-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net>
-
chadversary authored
In vkGetPhysicalDeviceImageFormatProperties. Reviewed-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net>
-
chadversary authored
The check in anv_get_image_format_properties() is already handled in anv_get_image_format_features(). Reviewed-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net>
-
chadversary authored
When filling VkImageFormatProperties, anv_get_image_format_properties() checks the requested VkImageUsageFlags and VkImageCreateFlags against the VkFormatFeatureFlags available to the queried VkFormat. However, we neglected to consider if any formats given in VkImageFormatListCreateInfo further restricted the available VkFormatFeatureFlags. The image view formats are more likely to introduce additional restrictions when DRM format modifiers are present. v2: - Do not drop anv_formats_ccs_e_compatible(). Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> (v2) Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> (v2)
-
chadversary authored
If anv_get_image_format_features reports that the inputs are unsupported, fail immediately. Without the early fail, I have less confidence in the function's correctness when a DRM format modifier is present. Reviewed-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net>
-