summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-08-07intel/genxml: Add filter_engines() to GenXml classadd-intel_genxml-moduleJordan Justen3-20/+24
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2023-08-07intel/genxml: Add GenXml class into intel_genxml moduleJordan Justen3-11/+15
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2023-08-07intel/genxml: Convert gen_pack_header to use ElementTreeJordan Justen1-17/+24
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2023-08-07intel/genxml: Convert gen_bits_header to use ElementTreeJordan Justen1-22/+21
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2023-08-07intel/genxml: Split some genxml sorting code into a intel_genxml moduleJordan Justen3-160/+170
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2023-08-07intel/genxml: Align "Texture Coordinate Mode" namingJordan Justen3-12/+12
Some older gens used '_' (underscore) while newer gens used a ' ' (space). $ sed -i 's/Texture_Coordinate_Mode/Texture\ Coordinate\ Mode/' \ src/intel/genxml/*.xml The naming needs to be aligned for importing enums later on. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2023-08-07egl: fixup _eglFilterConfigArray() params and drop _eglFallbackMatch() wrapperEric Engestrom1-8/+3
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24292>
2023-08-07egl: make _eglFilterConfigArray staticEric Engestrom2-9/+1
Signed-off-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24292>
2023-08-07panfrost: add PAN_MESA_DEBUG=yuv for debugging yuv samplerItalo Nicola3-0/+13
Signed-off-by: Italo Nicola <italonicola@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21109>
2023-08-07panfrost: mandate proper alignment requirement depending format and archItalo Nicola5-18/+85
v7+ mandates row_stride alignment to be equal to surface alignment. AFBC surface alignment is always 16-bytes. NV12/NV21 formats on v7+ have 16-byte surface alignment. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21109>
2023-08-07panfrost: advertise support for YUYV and variantsItalo Nicola1-0/+22
Signed-off-by: Italo Nicola <italonicola@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21109>
2023-08-07panfrost: prepare the driver to support YUYV and variantsItalo Nicola1-29/+112
Signed-off-by: Italo Nicola <italonicola@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21109>
2023-08-07panfrost: prepare pan_image_view for multiplanar formatsItalo Nicola17-104/+203
Signed-off-by: Italo Nicola <italonicola@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21109>
2023-08-07pan/decode: decode Multiplanar Surface descriptorsItalo Nicola1-1/+23
Signed-off-by: Italo Nicola <italonicola@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21109>
2023-08-07panfrost: refactor (un)packing of surface descriptorsItalo Nicola4-50/+73
Use the genxml helpers to pack/unpack midgard and bifrost surface descriptors. Also changed how we describe midgard's descriptors, to make it more straightforward. We currently only use SURFACE_WITH_STRIDE for midgard, but pandecode should still be able to decode other surface descriptor types. This commit shouldn't change panfrost/pandecode behavior. Consequenctly, this refactor also prepares pandecode to handle the SURFACE_YUV descriptor for bifrost in the following patch. Signed-off-by: Italo Nicola <italonicola@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21109>
2023-08-07panfrost/genxml: add Multiplanar Surface descriptorItalo Nicola1-0/+8
Signed-off-by: Italo Nicola <italonicola@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21109>
2023-08-07panfrost/genxml: fix Surface With Stride descriptor alignmentItalo Nicola1-1/+1
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21109>
2023-08-07pvr: do not claim support for ASTC texture compressionLuigi Santivetti1-1/+1
We don't support any ASTC formats yet, but the textureCompressionASTC_LDR feature was incorrectly set to true. Fix this by setting it to false and don't advertise ASTC support for texture compression. Fixes dEQP-VK.api.info.format_properties.compressed_formats Fixes: 8991e646 ("pvr: Add a Vulkan driver for Imagination Technologies PowerVR Rogue GPUs") Signed-off-by: Luigi Santivetti <luigi.santivetti@imgtec.com> Reviewed-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24448>
2023-08-07freedreno: add ci flakeantonino1-0/+1
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24539>
2023-08-07virgl: add ci flakeantonino1-0/+1
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24539>
2023-08-07panfrost/vk: Use correct sampler dimensions for MSAADaniel Stone1-3/+5
2D-MS samplers are SAMPLER_DIM_MS, not SAMPLER_DIM_2D. There is no MSAA for non-2D textures. Signed-off-by: Daniel Stone <daniels@collabora.com> Closes: mesa/mesa#9474 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24494>
2023-08-07anv: enable INTEL_DEBUG=nofcLionel Landwerlin2-0/+12
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24510>
2023-08-07v3dv: drop cpu path for buffer to image copiesIago Toral Quiroga3-147/+0
We really want to avoid cpu jobs as much as possible. Also, the texel buffer path we have for this should be able to handle most cases. Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24466>
2023-08-07radv: initialize result when pipeline cache creation failsChris Spencer1-1/+3
Signed-off-by: Chris Spencer <spencercw@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24521>
2023-08-07zink: use fprintf instead of printf to align the requirements warningsDave Airlie1-1/+1
This just seems to have been overlooked and nvk triggers it right now. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24527>
2023-08-07zink: force image barriers after dmabuf importMike Blumenkrantz1-1/+2
if the image will be used, then it has to be on the right queue cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24492>
2023-08-07zink: better handle separate shader dsl creation when no bindings existMike Blumenkrantz1-3/+9
this otherwise underflows the array and provides a (probably huge) garbage value for the binding id, which then causes the driver to massively overallocate both the layout and set/pool/buffer the main result of this is that on radv any simple test that should be near-instant takes 2-3 seconds to execute, which somehow nobody noticed Fixes: e3b746e3a31 ("zink: use GPL to handle (simple) separate shader objects") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24501>
2023-08-06docs: add two nvk exts to features.txtDave Airlie1-2/+2
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24523>
2023-08-06intel/decoder: Make intel_spec_load_filename() have separate dir and name ↵Jordan Justen4-15/+8
strings Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20889>
2023-08-06intel/decoder: Add intel_spec_load_common()Jordan Justen1-94/+116
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20889>
2023-08-06intel/decoder: Fix xml filename when verx10 % 10 is not 0Jordan Justen1-1/+2
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20889>
2023-08-06r600/sfn: Take source uses into account when switching channelsGert Wollny1-0/+6
When we switch the channels by re-creating vec4 values we have to take into account that the source values may be used in an ALU op, and with that we have to take read-port limitations into account. Fixes: 18a8d148d862d4a0f5b83f4385f00cf8a4a71b6d r600/sfn: Cleanup copy-prop into vec4 source values Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24519>
2023-08-06nvk: Call nir_lower_int64Faith Ekstrand1-0/+2
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24518>
2023-08-06nvk: Use more consistent device variable namesFaith Ekstrand16-123/+119
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24518>
2023-08-05ci/freedreno: document another flakes on Adreno 530David Heidelberg1-0/+3
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24511>
2023-08-05nv50/ir: convert system values to gl_system_valueKarol Herbst6-31/+19
Signed-off-by: Karol Herbst <git@karolherbst.de> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24447>
2023-08-05nv50/ir: use own info struct for sys valsKarol Herbst4-12/+29
This makes it more obvious what's actually needed by the driver and allows us to drop some code in the nir to nvir step. Signed-off-by: Karol Herbst <git@karolherbst.de> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24447>
2023-08-04nvk: Enable the new UAPIFaith Ekstrand4-3/+23
We also add a meson option to disable it and re-enable the legacy API. This code probably won't last long but it gives developers the option. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
2023-08-04nvk: Print an error message if VM_BIND support is missingFaith Ekstrand1-0/+8
This should prevent a lot of bug reports. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
2023-08-04nouveau/winsys: Allow nouveau_ws_device_new() without VM_BINDFaith Ekstrand3-25/+36
Silently fall back to non-VM_BIND. The client can check for the has_vm_bind flag in the device to detect whether VM_BIND is actually available or not. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
2023-08-04nvk: add new internal bo allocation flag.Dave Airlie9-16/+48
This is to allow the kernel to use a single resv object, this might need more work. Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
2023-08-04nvk: Use an empty EXEC for the empty submit caseFaith Ekstrand3-0/+11
The new UAPI allows for an EXEC with zero pushes just fine so we no longer need the no-op push just for synchronization. This lets us drop the whole empty push we allocate per-queue as well. Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
2023-08-04nvk: enable sparse residency buffer on maxwell+Dave Airlie1-0/+2
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
2023-08-04nvk: enable a bunch of external fence/semaphore bitsDave Airlie2-0/+6
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
2023-08-04nvk: enable sparse featuresDave Airlie1-1/+11
There is a bug on my turing with dEQP-VK.sparse_resources.buffer.ssbo.sparse_residency.buffer_size_2_24 but none of the others and we aren't seeing it on some other devices. Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
2023-08-04nvk: Handle pre-turing indirect buffers with sparseDave Airlie3-12/+36
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
2023-08-04nvk/queue: add support for syncobjs and sparse bindsDave Airlie5-20/+349
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
2023-08-04nvk: Add support for sparse imagesDave Airlie4-15/+107
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
2023-08-04nvk: Add support for sparse buffersDave Airlie3-2/+57
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
2023-08-04nouveau/mme: Support the new UAPIFaith Ekstrand2-1/+47
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>