drm_ras_nl_...counter_doit(9)
π drm_ras_nl_get_error_counter_doit(9) π
okay so bestie, this is a page from the Kernel API Manual β yes, that Kernel API Manual β and it's all about one lil Genl handler called drm_ras_nl_get_error_counter_doit. she's giving very much "ask me nicely and I'll tell you a number" energy. let's get into it π«Ά
β¨ NAME β¨
drm_ras_nl_get_error_counter_doit β literally just Query an error counter of an node. that's the whole vibe. one job. she does it. π
πΈ SYNOPSIS πΈ
int drm_ras_nl_get_error_counter_doit (struct sk_buff *skb , struct
genl_info *info );
like yes she returns an int, yes she takes two args, no she will not elaborate (jk she elaborates below, keep reading π)
π¦ ARGUMENTS π¦
skbβ the Netlink message buffer. it's the little envelope the request came in π¬infoβ Generic Netlink info containing attributes of the request. this is the good stuff inside the envelope, iykyk β¨
π DESCRIPTION π
okay so here's the tea π΅ β she Extracts the node ID and error ID from the netlink attributes (snatches them right out of the request, no cap), then retrieves the current value of the corresponding error counter. like a lil fetch quest but make it kernel.
and then? she Sends the result back to the requesting user via the standard Genl reply. so polite. so considerate. main character handler behavior honestly π
π₯ RETURN π₯
0on success β slay, we ate π- negative errno on failure β it's giving not-her-day π
ngl, "negative errno" covers a lot of moods, so don't assume which one you got. the value speaks for itself, bestie.
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/drm_ras.cβ the source of truth π«Ά - DRM RAS Node Management(9)
drm_ras_nl_list_nodes_dumpit(9)drm_ras_nl_get_error_counter_dumpit(9)drm_ras_nl_clear_error_counter_doit(9)drm_ras_node_register(9)drm_ras_node_unregister(9)
like a whole friend group honestly πΈ go say hi to all of them.
okay that's the page!! mwah π this one lives in ./drivers/gpu/drm and it's dated October 2026 β so yes, she's from the future, and yes, she's still explaining error counters to you. iconic behavior fr fr. bye bestie, go read the source π¦β¨
π¦ 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