xe_ras_clear_counter(9)
π xe_ras_clear_counter(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β today's main character is xe_ras_clear_counter, and honestly? she's a little icon. π
πΈ NAME πΈ
xe_ras_clear_counter β Clear error counter value π§Ήπ
β¨ SYNOPSIS β¨
int xe_ras_clear_counter (struct xe_device *xe , u8 severity , u8
component );
like, that's the whole vibe check right there π«Ά
π¦ ARGUMENTS π¦
xeβ the Xe device instance, aka the actual GPU bestie we're talking about πseverityβ the error severity you wanna clear (it's aenum drm_xe_ras_error_severity, no cap) π₯componentβ the error component you wanna clear (that one's aenum drm_xe_ras_error_component, iykyk) β
π DESCRIPTION π
so basically β¨ this function clears the value of a specific error counter β and like, which one? it picks based on the error severity and the component you hand it π . very demure, very "clears exactly what you asked for." periodt. π
π RETURN π
0on success π slay- a negative error code on failure ππ (she tried, bestie)
π§ SEE ALSO π§
- Kernel file
./drivers/gpu/drm/xe/xe_ras.cπ xe_ras_process_errors(9)πxe_ras_get_counter(9)πGPU Health Indicator(9)π©Ίxe_ras_init(9)π±
ngl bestie, go read the whole family up there β they're all literally linked, it's giving lore. π«Άβ¨
and that's the page!! brought to you by ./drivers/gpu/drm/xe πΈ, version vibes from October 2026 ποΈβ¨, and of course our girl xe_ras_clear_counter(9) herself ππ β mwah, ily, go clear some counters π
π¦
π¦ 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