xe_device_va..._wedged_mode(9)
π NAME π
xe_device_validate_wedged_mode β bestie, this one checks if the wedged mode you asked for is even supported π
Kernel API Manual energy, but make it group chat π«Ά
β¨ SYNOPSIS β¨
int xe_device_validate_wedged_mode (struct xe_device *xe , unsigned int
mode );
πΈ ARGUMENTS πΈ
xeβ thexe_devicein question, the main character of this whole situation πmodeβ the requested mode you want validated, bestie π
π¦ DESCRIPTION π¦
Okay so literally all this does is check whether the provided wedged mode is supported. That's it, that's the vibe check β¨ No cap, it's giving "is this allowed or not" and we respect it π
π RETURN π
Returns 0 if the mode is supported, and an error code otherwise π Periodt.
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/xe/xe_device.cπ xe_file_get(9)xe_file_put(9)xe_is_xe_file(9)xe_device_is_admin_only(9)xe_device_create(9)xe_device_init_early(9)xe_device_probe_early(9)xe_device_wmb(9)xe_device_is_l2_flush_optimized(9)xe_device_td_flush(9)xe_device_assert_mem_access(9)Xe Device Wedging(9)xe_device_set_wedged_method(9)xe_device_declare_wedged(9)xe_wedged_mode_to_string(9)xe_device_asid_to_vm(9)
ngl bestie, if you're deep in the Xe device wedging lore, this is your reading list π Go off π
Signed off from ./drivers/gpu/drm/xe in October 2026 β xe_device_va..._wedged_mode(9) stays iconic, mwah ππ¦
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms