drm_dev_wedged_event(9)
okay so bestie, welcome to drm_dev_wedged_event(9) from the Kernel API Manual π this is literally the page where a DRM device gets its βwedgedβ uevent moment, and weβre gonna walk through it together, no cap β¨
π NAME π
drm_dev_wedged_event - generate a device wedged uevent
β¨ SYNOPSIS β¨
int drm_dev_wedged_event (struct drm_device *dev , unsigned long method
, struct drm_wedge_task_info *info );
π¦ ARGUMENTS π¦
devβ the DRM device, aka the main character here πmethodβ the method(s) to be used for recovery, so like the recovery vibe check πinfoβ optional information about the guilty task π΅οΈββοΈ
π₯ DESCRIPTION π₯
So this function generates a device wedged uevent for the DRM device specified by dev β yes, itβs giving βsomething went sidewaysβ energy π
The recovery method of choice gets sent in the uevent environment as WEDGED=<method1>[,..,<methodN>], and the order is from less to more side-effects, bestie π
If the caller is unsure about recovery or the method is unknown (0), then WEDGED=unknown will be sent instead. No guessing π«Ά
For more details, refer to the "Device Wedging" chapter in Documentation/gpu/drm-uapi.rst. Itβs literally right there, iykyk πβ¨
πΈ RETURN πΈ
0 on success, negative error code otherwise. Slay when it works, sad little negative number when it doesnβt π
π SEE ALSO π
Kernel file ./drivers/gpu/drm/drm_drv.c driver instance overview(9)drm_put_dev(9)drm_dev_enter(9)drm_dev_exit(9)drm_dev_unplug(9)drm_dev_set_dma_dev(9)component helper usage recommendations(9)__drm_dev_alloc(9)drm_dev_alloc(9)drm_dev_get(9)drm_dev_put(9)drmm_cgroup_register_region(9)drm_dev_register(9)drm_dev_unregister(9)
okay thatβs the whole vibe π this pageβs source/version corner says ./drivers/gpu/drm, dated October 2026, and the title is drm_dev_wedged_event(9) β periodt π
π
π¦ 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