radeon_driver_load_kms(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

radeon_driver_load_kms β€” the main load function for KMS, bestie ✨

okay so real talk, this page lives in the Kernel API Manual, and it's all about radeon_driver_load_kms(9) β€” the main-character load function for KMS πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

int radeon_driver_load_kms (struct drm_device *dev , unsigned long flags
       );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the drm dev pointer, literally 🫢
  • flags β€” device flags, periodt πŸ’…

🌸 DESCRIPTION 🌸

okay so this is THE main load function for KMS β€” and yes, it's for all asics, no cap πŸ’―

It calls radeon_device_init to set up the non-display parts of the chip β€” asic init, CP, writeback, etc. β€” and then it calls radeon_modeset_init to set up the display parts β€” crtcs, encoders, hotplug detect, etc. πŸŽ€

It returns 0 on success, and an error on failure. that's the vibe check: zero means slay, error means 😭


πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./drivers/gpu/drm/radeon/radeon_kms.c β€” go read it, iykyk πŸ“–βœ¨


and that's the whole page, bestie 🫢 this icon lives in ./drivers/gpu/drm/radeon, it's dated October 2026, and the page itself is radeon_driver_load_kms(9) β€” slay πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from