amdgpu_devi...s_dc_support(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so bestie, this is amdgpu_device_asic_has_dc_support β€” the little function that tells you whether DC actually supports the asic. that's it. that's the whole job. it's from the Kernel API Manual (the amdgpu_devi...s_dc_support(9) page, yes that truncation is really how it's printed, don't come for me) πŸŽ€


✨ SYNOPSIS ✨

bool amdgpu_device_asic_has_dc_support (struct pci_dev *pdev , enum
       amd_asic_type asic_type );

it returns a bool, it takes two things, and we're gonna go through both rn 🫢


🌸 ARGUMENTS 🌸

  • pdev β€” the pci device context. yeah. the actual device we're talking about πŸ’–
  • asic_type β€” the AMD asic type. that's the enum, that's the flavor of silicon πŸ”₯

πŸ¦‹ DESCRIPTION πŸ¦‹

so what does it do. it checks if there's DC support for an asic β€” and by DC we mean the new modesetting infrastructre (yes that's spelled like that in the original, i'm not fixing it, i'm just the messenger 😭).

returns true if DC has support, false if not. no in-between, no vibes, just a boolean. periodt. ✨

lowkey the whole function is one vibe check on a single asic. it either passes or it doesn't. πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

okay this is the long part, and i mean long. every single one of these is a real cross-reference, don't skip, i'm watching πŸ‘€

the kernel file itself:

Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_device.c

and the whole friend group:


and that's the page, bestie πŸ§šπŸ’œ this lil rewrite came to you from ./drivers/gpu/drm/amd/amdgpu, dated October 2026 β€” stay slay, go read your cross-references, mwah πŸ’‹πŸŒˆ

πŸ“¦ where this page comes from