radeon_driver_unload_kms(9)
π radeon_driver_unload_kms(9) β Kernel API Manual π
β¨ NAME β¨
Okay so this is radeon_driver_unload_kms(9), and itβs the main unload function for KMS. Thatβs the whole vibe: unload, but make it kernel-coded. Lowkey iconic. π«Ά
π SYNOPSIS π
void radeon_driver_unload_kms (struct drm_device *dev );
Bestie, look at that signature β itβs giving βI take one pointer and Iβm out.β π
πΈ ARGUMENTS πΈ
devβ thedrm dev pointer. Yep, thatβs it. One argument, no drama. Vibe check passed. β¨
π¦ DESCRIPTION π¦
This is the main unload function for KMS (all asics). Literally the cleanup main character. Not me being obsessed with a cleanup function, but here we are β itβs highkey important. π«Ά
The way that it calls radeon_modeset_fini to tear down the displays, and radeon_device_fini to tear down the rest of the device (CP, writeback, etc.). So displays first, then the rest of the device bits β slay. Periodt. π
Returns 0 on success. No cap, thatβs what the page says, so write it down. β
bestie note: the synopsis saysvoidand the description says it returns0on success β both facts are in the original, fr fr, so keep both in your notes. π
π SEE ALSO π
- Kernel file:
./drivers/gpu/drm/radeon/radeon_kms.c radeon_driver_load_kms(9)radeon_set_filp_rights(9)radeon_info_ioctl(9)radeon_driver_open_kms(9)radeon_driver_postclose_kms(9)radeon_get_vblank_counter_kms(9)radeon_enable_vblank_kms(9)radeon_disable_vblank_kms(9)
Thatβs the whole page, bestie! π Source/version: ./drivers/gpu/drm/radeon β date: October 2026. xoxo, your kernel bestie π
π¦ 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