Commit graph

224171 commits

Author SHA1 Message Date
Mel Henning
41b4e04c76 nak: Fix encoding of f16x2 min/max on sm90+
Fixes illegal instruction encoding errors on
dEQP-VK.glsl.atomic_operations.min_f16vec2_fragment
and others.

Fixes: a3fcccb47b ("nak/from_nir: Handle f16v2 atomics")
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42196>
2026-06-11 22:59:07 +00:00
Mel Henning
542e050ec5 nak/nvdisasm_tests: Fix expected value of F16v2
This was mistakenly changed when renaming the enum.

Fixes: b1fe47e944 ("nak: Rename AtomType::F16x2 to F16v2")
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42196>
2026-06-11 22:59:07 +00:00
Rob Herring (Arm)
924ccc2f6c teflon: Ensure all TfLiteRegistration fields are 0
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
The TfLiteRegistration.async_kernel field is missing initialization. Rather
than add explicit init for it, clear the whole struct to avoid future
issues. Newer versions of TFLite have added more fields.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42160>
2026-06-11 20:12:52 +00:00
Eric Engestrom
62b90b0829 meson: drop non-existent platforms=xcb check
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
Checking for it was added in 3de62b2f9a but the value was
never added, so it could never be true; remove it.

Reported-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Fixes: 3de62b2f9a ("gallium/dril: Compatibility stub for the legacy DRI loader interface")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42143>
2026-06-11 18:14:54 +00:00
Caio Oliveira
b941dd736f util: Fix float8 denorm rounding to min-normal
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
When rounding the largest FP8 denorm up, the code ignored the updated
exponent and returned zero instead of the minimum normal value.  Pack
the updated exponent in those cases.

Fixes: 2237c022a2 ("util: add float8 conversion functions")
Assisted-by: Pi coding agent (GPT-5.5)
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42155>
2026-06-11 17:13:04 +00:00
Mary Guillemard
b3f7f40b13 nvk/nvkmd: Do not merge bind operations across VA mappings
We were allowing a possible merge of operation across VA mappings.

This is not a valid usage and will cause a ENOSPC to be returned by the
kernel side.

This fixes Forza Horizon 6 device lost when trying to enter in-game or
benchmark mode with VK_EXT_descriptor_heap MR.

Signed-off-by: Mary Guillemard <mary@mary.zone>
Fixes: 053b7f0f30 ("nvk/nvkmd: Implement nvkmd_ctx for nouveau")
Reviewed-by: Mel Henning <mhenning@darkrefraction.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42183>
2026-06-11 16:56:20 +00:00
Yogesh Mohan Marimuthu
bb32d88c6f ac: set has_desc_resource_level to true for gfx1156
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41969>
2026-06-11 16:36:21 +00:00
Yogesh Mohan Marimuthu
7a9e17eecc ac: set has_smem_with_null_prt_bug to false for gfx1156
verified vulkan cts
dEQP-VK.sparse_resources.buffer.misc.null_address_read*
tests are passing.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41969>
2026-06-11 16:36:21 +00:00
Yogesh Mohan Marimuthu
0223da0a06 amd: add initial code for gfx1156
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41969>
2026-06-11 16:36:20 +00:00
Yogesh Mohan Marimuthu
66284bfe0a radv: Program RESOURCE_LEVEL bit in descriptor for dgc
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41969>
2026-06-11 16:36:20 +00:00
Yogesh Mohan Marimuthu
418c4cfa67 ac,radeonsi,radv: add has_desc_resource_level var instead of gfx_level check
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41969>
2026-06-11 16:36:19 +00:00
Allen Ballway
6ff16a87ae vulkan/android: Map AHARDWAREBUFFER_FORMAT_Y8 to VK_FORMAT_R8_UNORM
Map the format AHARDWAREBUFFER_FORMAT_Y8 directly to
VK_FORMAT_R8_UNORM.

Y8 was previously missing from the mapping list, forcing it to be
imported as an external format. This routed MSAA resolves through
the External Format Resolve path, causing driver assertions  due
to missing YCbCr metadata.

Direct mapping allows Y8 to be imported as a standard color format,
bypassing EFR and using the standard color resolve path instead.

Signed-off-by: Allen Ballway <ballway@chromium.org>
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42057>
2026-06-11 15:48:37 +00:00
Konstantin Seurer
e68358756c lavapipe: Ignore src_plane for samplers
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42098>
2026-06-11 15:32:22 +00:00
Georg Lehmann
6cb9aaa2b7 aco/sched_vopd: fix v_dual_dot2acc_f32_f16 created from VOP2 with inline constant
Fixes: 3238e64d3c ("aco/ra: create v_dot2c_f32_f16")
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42151>
2026-06-11 14:46:38 +00:00
Georg Lehmann
3f2759af6c aco/ra: fix inline constants with v_dot2c_f32_f16
Unlike for v_pk_fmac_f16 and v_dual_dot2acc_f32_f16, opsel_hi is
implicitly true even for inline constants operands of v_dot2c_f32_f16 on GFX11.

Fixes: 3238e64d3c ("aco/ra: create v_dot2c_f32_f16")
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42151>
2026-06-11 14:46:38 +00:00
Raviraj Uppal
3a8360b2ac radv: app workaround implemented using internal layers for GFXBench 5.0
Just overrided the needed entrypoint.
GFXBench 5.0 uses VK_IMAGE_LAYOUT_PREINITIALIZED as the old
layout when transitioning optimally-tiled depth images. Per the Vulkan
spec, PREINITIALIZED is only meaningful for linear tiling and is
semantically equivalent to UNDEFINED for optimal tiling. Replace it with
VK_IMAGE_LAYOUT_UNDEFINED to avoid hitting unhandled layout cases.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41943>
2026-06-11 14:09:41 +00:00
David Rosca
390d3fee04 radeonsi/mm: Select DPB format independently from decode surface format
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
Needed for 10 to 8 bit decoding.

Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41993>
2026-06-11 13:35:58 +00:00
David Rosca
8b9d272e04 ac/vcn_dec: Add 10 to 8 bit dithering support
This was removed in recent rework, but there are apps depending on it.

Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41993>
2026-06-11 13:35:58 +00:00
Danylo Piliaiev
38a10950e3 tu: Match SW color clear value packing with HW
Color clears may happen via different paths: BLIT_EVENT_CLEAR, R2D, or a
draw call. And which path to take may depend sysmem/gmem selection.

The "Appendix I: Invariance" of the Vulkan spec encourages implementations
to produce the same results for the same operation.

Unfortunately I haven't found any ready-made packing functions in
the common utils.

Tested by writing edge-case color values through Vulkan ways of
clearing color, and from fragment shader.

E5B9G9R9, B10G11R11, B5G5R5, A2R10G10B10 are not handled due to
complexity.

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Assisted-by: OpenAI Codex (GPT-5.5)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41972>
2026-06-11 13:07:37 +00:00
Danylo Piliaiev
6a7d3020a7 tu: Match SW depth clear value packing with HW
Depth clears may happen via different paths: BLIT_EVENT_CLEAR, R2D, or a
draw call. And which path to take may depend sysmem/gmem selection.

The "Appendix I: Invariance" of the Vulkan spec encourages implementations
to produce the same results for the same operation.
Color clears have the same issue, but with depth it's much easier to
imagine a case where this may visibly affect rendering.

Note, depth and color values have different rounding rules.

Unfortunately I haven't found any ready-made packing functions in
the common utils.

Tested by writing edge-case depth values through Vulkan ways of
clearing depth, and from vertex shader.

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Assisted-by: OpenAI Codex (GPT-5.5)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41972>
2026-06-11 13:07:37 +00:00
Grant Nichol
9268636165 ethosu: Fix -Werror=format build error on 32-bit
Fix a -Werror=format build error caused by the difference of %lu between
x86_64 and x86. For uint64_t, the solution is to use PRIu64 from
inttypes.h.

Fixes: 0972ef7d33 ("ethosu: Add performance counter debug output")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/work_items/15631
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42120>
2026-06-11 12:52:14 +00:00
Philipp Zabel
3099c839f3 etnaviv/isa: Fix Meson warning about etnaviv_isa_rs dummy library
Fix a Meson warning when building etnaviv without etnaviv tools:

  WARNING: Build target etnaviv_isa_rs has no sources. This was never supposed to be allowed but did because of a bug, support will be removed in a future release of Meson

Arrays passed to the executable() link_with parameter are
flattened, so setting libetnaviv_isa_rs to an empty array
allows to link the etnaviv_disasm executable in the
etnaviv_isa_disasm test against only libetnaviv_encode,
as intended, but without the warning.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/work_items/11626
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42173>
2026-06-11 12:05:59 +00:00
Juan A. Suarez Romero
3ae175d484 Revert "ci: igalia farm maintenance"
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
This reverts commit 78038ff287.

Farm is up again.

Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42174>
2026-06-11 12:48:17 +02:00
Julien Schueller
366022458b egl: fix _EGL_NATIVE_PLATFORM fallback for unrecognized native displays
When _eglNativePlatformDetectNativeDisplay fails to recognize a non-NULL
nativeDisplay pointer (e.g. an X11 Display* when Mesa was built without
HAVE_X11_PLATFORM), the old code unconditionally fell back to the
build-time _EGL_NATIVE_PLATFORM default. This could select a platform
that does not match the actual native display (e.g. Wayland for an X11
pointer), causing a crash when the wrong DRI driver tries to use the
native display as its own type.

Restructure the logic so that:
- For EGL_DEFAULT_DISPLAY: fall back to the build-time _EGL_NATIVE_PLATFORM
- For non-default displays that can't be detected: return _EGL_INVALID_PLATFORM
  so that eglGetDisplay returns EGL_NO_DISPLAY instead of crashing

Assisted-by: DeepSeek V4 Flash

Closes #151

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42130>
2026-06-11 10:00:34 +00:00
Jose Maria Casanova Crespo
78038ff287 ci: igalia farm maintenance
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42170>
2026-06-11 09:54:50 +00:00
Lionel Landwerlin
351c5d889c anv: fix assert/crash in import of compressed local memory on xe2+
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
There is no requirement that imported compressed memory is tied to an
image.

In practice it's unlikely to happen since unless drirc
anv_enable_buffer_comp is enabled we don't list the compressed memory
typed for anything but images. But you can build a case hitting the
assert without even creating an image.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 5a05a39e56 ("anv: Limit the SCANOUT flag to color images")
Fixes: b7f7f1c74f ("anv: Treat imported compressed buffers as displayable (xe2)")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/work_items/15578
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42121>
2026-06-11 09:25:06 +00:00
Samuel Pitoiset
73017ea86a ac/video: drop an useless drm_minor check
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
The required DRM version is 3.54.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42148>
2026-06-11 07:06:20 +00:00
Samuel Pitoiset
e0fdaf04de hasvk: use drirc_gen
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42150>
2026-06-11 06:27:21 +00:00
Samuel Pitoiset
6ebf22db18 util: remove useless entries for Intel hasvk
All these options aren't declared/implemented at all.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42150>
2026-06-11 06:27:21 +00:00
Valentine Burley
cc8a53393c ci/android: Update Cuttlefish build
- Switch 'drm_nctx_guest_angle' GPU mode to skiavk, as Turnip now
  supports multiple graphics queues
- Update Mesa to latest main, 1a9a0a15f7 ("ir3: lower undef booleans to
  zero")
- Update virglrenderer to latest main, d2357f2a ("amend missing line
  breaks")

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42152>
2026-06-11 05:50:11 +00:00
Jianxun Zhang
2a681c4f8b intel/decoder: Print more information in shader's headline
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
Print out the kernel start pointer (KSP) and the hash of
referenced shader in its headline. This saves some search
in GPU hang dumps,  base on the work of

72bc74f0be and
fd11e4b4d3

An example from a decoded GPU hang dump:

0xeffeffefe19c:  0x10000002:  MI_STORE_DATA_IMM
0xeffeffefe19c:  0x10000002 : Dword 0
    DWord Length: 2
    Force Write Completion Check : false
    Store Qword: 0
    Use Global GTT: false
0xeffeffefe1a0:  0xffe000c0 : Dword 1
    Core Mode Enable: 0
0xeffeffefe1a4:  0x0000effe : Dword 2
    Address: 0xeffeffe000c0
0xeffeffefe1a8:  0x82f94895 : Dword 3 <--- No need to search here
0xeffeffefe1ac:  0x72080025 : Dword 4
    Immediate Data: 2197375125
0xeffeffefe1ac:  0x72080025:  COMPUTE_WALKER
0xeffeffefe1ac:  0x72080025 : Dword 0
...
    body: <struct COMPUTE_WALKER_BODY>
...
    Interface Descriptor: <struct INTERFACE_DESCRIPTOR_DATA>
...
0xeffeffefe1f4:  0x00001f40 : Dword 0
    Kernel Start Pointer: 0x00001f40 <--- No need to search here
...
0xeffeffefe244:  0x00000000 : Dword 37
    Inline Data[7]: 0

Referenced compute shader (ksp: 0x1f40 hash: 0x7208002582f94895): <- ksp & hash printed here
send(1)         g3UD            g2UD            nullUD ...
                ugm MsgDesc: ( load, a64, d32, V64, ...
add(1)          g16<2>UD        g2<0,1,0>UD     0x00000100UD

Note: Shader hash output rquires 'ANV_DEBUG=shader-hash' when running
the workload.

Signed-off-by: Jianxun Zhang <jianxun.zhang@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40418>
2026-06-11 03:28:29 +00:00
Faith Ekstrand
e74b92b3da kraid/v9: Allow immediates in logic ops
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42154>
2026-06-11 03:12:39 +00:00
Faith Ekstrand
1ef1039d77 kraid: Add None logic and shift ops
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42154>
2026-06-11 03:12:39 +00:00
Faith Ekstrand
f85690de83 kraid/v9: Add the rest of the shift/lop ops
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42154>
2026-06-11 03:12:39 +00:00
Faith Ekstrand
bd47f511f7 kraid/v9: Rework the shift_lop encode macro
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42154>
2026-06-11 03:12:39 +00:00
Faith Ekstrand
c2709e8289 kraid/v9: Fix encoding of high register numbers
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42154>
2026-06-11 03:12:39 +00:00
Faith Ekstrand
57696fe0e2 kraid: Split DataType into two enums
This splits DataType in two: A PartialDataType, which can have some
members unspecified, and DataType, which is always fully specified.
Eventually, we may want separate SrcType and DstType but for now we'll
leave them together.  The important thing here, though, is that, once
you get a DataType, you no longer need to check if various bits of it
actually exist.  bits() and comps() now always return non-zero values
which don't need to be wrapped in Option.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42154>
2026-06-11 03:12:39 +00:00
Faith Ekstrand
3bed44c1f8 kraid/builder: Store the model in builders
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42154>
2026-06-11 03:12:39 +00:00
Faith Ekstrand
cc6862e926 kraid: Add map_instrs() methods to Shader and BasicBlock
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42154>
2026-06-11 03:12:39 +00:00
Faith Ekstrand
841da57900 kraid: Make SrcRef PartialEq
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42154>
2026-06-11 03:12:39 +00:00
Faith Ekstrand
af8b5ee30b kraid: Make SrcRef::Imm32 explicitly non-zero
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42154>
2026-06-11 03:12:39 +00:00
Calder Young
814369e1ea anv: Enable support for VK_EXT_device_fault/VK_KHR_device_fault
Enables support for device fault extensions if scratch page is disabled.

The address infos include the list of VM faults queried from the logical
device. Due to limitations in the API, atomic faults will always have an
addressType of write. Extra details about addresses are provided through
the "description" field when the KHR extension is used.

The vendor fault infos include status codes to differentiate between
physical hardware loss or a banned queue. If the fault is related to a
specific queue, the family index, queue index, and flags of the faulted
queue are provided through a vendor fault code and can be used to find
the queue handle using vkGetDeviceQueue.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41318>
2026-06-11 02:45:00 +00:00
Calder Young
6fd3962cfa anv: Print page faults whenever a queue gets banned
Prints the page faults to STDERR whenever a banned queue is detected for
added visibility to developers.

Currently, the only way to get this information without using the device
fault extension is to increase the kernel logging verbosity and check dmesg
after a lost device. In my opinion its a lot more convenient for all parties
involved if the driver could just print this directly to the log instead.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41318>
2026-06-11 02:44:59 +00:00
Calder Young
249c227fa4 anv: Add function to get the list of page faults
Adds function to get the list of page faults, returns NULL if the KMD
is too old or if there was an error retrieving the data.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41318>
2026-06-11 02:44:58 +00:00
Calder Young
39a0d76f64 intel: Add common utils for page fault reporting
Adds some data types and functions for getting the list of page faults
from the KMD using the intel common library.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41318>
2026-06-11 02:44:57 +00:00
Calder Young
5074524788 anv: Track more error codes from certain IOCTLs
The KMDs don't give us a way to query most failure types, we have to track
the error code that was returned by the failing IOCTL to figure out when we
have a PXP invalidation or if the device got disconnected.

These hooks will also give us a place to make the driver to automatically
dump some details about a lost device to the console (such as page fault
addresses) for more visibility to developers.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41318>
2026-06-11 02:44:57 +00:00
nyanmisaka
9dfa65db44 intel/dev: update PTL device names
Ref: https://www.intel.com/content/www/us/en/products/sku/245531/intel-core-ultra-5-processor-338h-18m-cache-up-to-4-70-ghz/specifications.html
Ref: https://www.intel.com/content/www/us/en/products/sku/245523/intel-core-ultra-x7-processor-368h-18m-cache-up-to-5-00-ghz/specifications.html

Fixes: efa7aa4e ("intel/dev: Add PTL PCI IDs (with FORCE_PROBE set)")
Fixes: d84d7b78 ("intel/dev: Add PTL PCI IDs 0xb084-0xb087")
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39931>
2026-06-11 01:02:57 +00:00
Faith Ekstrand
3ebe2b61e8 nvk: Advertise VK_NV_shader_atomic_float16_vector
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
Reviewed-by: Mel Henning <mhenning@darkrefraction.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37888>
2026-06-11 00:23:36 +00:00
Faith Ekstrand
a3fcccb47b nak/from_nir: Handle f16v2 atomics
Reviewed-by: Mel Henning <mhenning@darkrefraction.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37888>
2026-06-11 00:23:36 +00:00
Faith Ekstrand
b1fe47e944 nak: Rename AtomType::F16x2 to F16v2
This is more consistent with the SrcType.

Reviewed-by: Mel Henning <mhenning@darkrefraction.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37888>
2026-06-11 00:23:36 +00:00