amdgpu_devic...s_dc_support(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 amdgpu_devic...s_dc_support πŸ’…

okay bestie so this is a page from the Kernel API Manual (yes, the kernel, we're being fancy today ✨) and it's about one tiny little function that answers one tiny little question. it's giving "small but important." let's go 🫢


✨ NAME ✨

amdgpu_device_has_dc_support β€” literally just checks if dc is supported πŸ’– that's the whole job. that's the assignment. she ate and left no crumbs πŸ“


πŸ¦‹ SYNOPSIS πŸ¦‹

bool amdgpu_device_has_dc_support (struct amdgpu_device *adev );

it takes one thing and gives you back a bool, no cap. true or false, that's it, that's the vibe check ⭐


πŸŽ€ ARGUMENTS πŸŽ€

  • adev β€” an amdgpu_device pointer 🌈 that's your device, bestie, the lil handle to the thing we're asking about. this is the only thing you have to hand her.

πŸ’œ DESCRIPTION πŸ’œ

so here's the tea β˜•: this function returns true for supported, and false for not supported. that's it. that's the whole description. no hidden lore, no extra behaviour, no secret third option β€” genuinely just a yes/no girlie πŸ™ˆ

like, it's not doing anything sneaky. true = supported, false = not supported. periodt πŸ’…

πŸ”₯ SEE ALSO πŸ”₯

okay this is the part where we do the group chat roll call πŸ“£ because pretty much the entire amdgpu_device friend group shows up here.

first up, the actual kernel file this lives in β€” it's ./drivers/gpu/drm/amd/amdgpu/amdgpu_device.c πŸ’– (aka where the source is, iykyk).

and now, the whole squad, in the exact order they're listed πŸ‘‘:

pcie_replay_count(9), board_info(9), uma/carveout_options(9), uma/carveout(9), amdgpu_device_supports_px(9), amdgpu_device_supports_boco(9), amdgpu_device_supports_baco(9), amdgpu_device_supports_smart_shift(9), amdgpu_device_mm_access(9), amdgpu_device_aper_access(9), amdgpu_device_vram_access(9), amdgpu_device_get_rev_id(9), amdgpu_device_asic_init(9), amdgpu_device_mem_scratch_init(9), amdgpu_device_mem_scratch_fini(9), amdgpu_device_program_register_sequence(9), amdgpu_device_pci_config_reset(9), amdgpu_device_pci_reset(9), amdgpu_device_resize_fb_bar(9), amdgpu_device_need_post(9), amdgpu_device_should_use_aspm(9), amdgpu_device_vga_set_decode(9), amdgpu_device_check_block_size(9), amdgpu_device_check_vm_size(9), amdgpu_device_check_arguments(9), amdgpu_switcheroo_set_state(9), amdgpu_switcheroo_can_switch(9), amdgpu_device_enable_virtual_display(9), amdgpu_device_parse_gpu_info_fw(9), amdgpu_device_ip_early_init(9), amdgpu_device_ip_init(9), amdgpu_device_fill_reset_magic(9), amdgpu_device_check_vram_lost(9), amdgpu_device_set_cg_state(9), amdgpu_device_ip_late_init(9), amdgpu_device_smu_fini_early(9), amdgpu_device_ip_fini(9), amdgpu_device_delayed_init_work_handler(9), amdgpu_device_ip_suspend_phase1(9), amdgpu_device_ip_suspend_phase2(9), amdgpu_device_ip_suspend(9), amdgpu_device_ip_resume_phase1(9), amdgpu_device_ip_resume_phase2(9), amdgpu_device_ip_resume_phase3(9), amdgpu_device_ip_resume(9), amdgpu_device_detect_sriov_bios(9), amdgpu_device_asic_has_dc_support(9), amdgpu_device_check_iommu_direct_map(9), amdgpu_device_check_iommu_remap(9), amdgpu_device_init(9), amdgpu_device_fini_hw(9), amdgpu_device_evict_resources(9), amdgpu_device_pm_notifier(9), amdgpu_device_prepare(9), amdgpu_device_complete(9), amdgpu_device_suspend(9), amdgpu_device_resume(9), amdgpu_device_reset_sriov(9), amdgpu_device_has_job_running(9), amdgpu_device_should_recover_gpu(9), amdgpu_device_gpu_recover(9), amdgpu_device_partner_bandwidth(9), amdgpu_device_gpu_bandwidth(9), amdgpu_device_get_pcie_info(9), amdgpu_device_is_peer_accessible(9), amdgpu_pci_error_detected(9), amdgpu_pci_mmio_enabled(9), amdgpu_pci_slot_reset(9), amdgpu_pci_resume(9), amdgpu_device_halt(9), amdgpu_device_get_gang(9), amdgpu_device_switch_gang(9), amdgpu_device_enforce_isolation(9)

like... that is a lot of friends 😭 and yes, amdgpu_device_asic_has_dc_support(9) is in there too β€” the cousin with the similar name. don't confuse them bestie, they are different girlies πŸ’€


🧚 friendly reminder: this page is from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and it's the amdgpu_devic...s_dc_support(9) page from the Kernel API Manual. mwah, go read the source, ily, bye πŸ’–βœ¨πŸŽ€
πŸ“¦ where this page comes from