xe_pci_media_ip_gen_param(9)
π xe_pci_media_ip_gen_param(9) π
okay so bestie, we're in the Kernel API Manual, section 9, and today's main character is xe_pci_media_ip_gen_param β yes the whole name, yes it's a mouthful, drink some water before you try to say it out loud π«Ά
β¨ NAME β¨
xe_pci_media_ip_gen_param β it generates the media struct xe_ip parameters, that's literally the whole job, and it does it slayfully π
π¦ SYNOPSIS π¦
const void * xe_pci_media_ip_gen_param (struct kunit *test , const void *prev , char *desc );
π ARGUMENTS π
testβ the test context object, aka the vibe check container for the whole test πΈprevβ the pointer to the previous parameter you wanna iterate from, orNULLif you're starting fresh, no cap βdescβ the output buffer, and it has a minimum size ofKUNIT_PARAM_DESC_SIZEβ do not skimp on this, it's giving "respect the buffer" energy π€
π DESCRIPTION π
So what does it actually do? It prepares a struct xe_ip parameter. That's it, that's the task, and it ate π₯
real talk though: this one is to be used only as a parameter generator function in KUNIT_CASE_PARAM β like, that is its whole purpose in life, don't go repurposing it for something else, it's not that kind of function bestie π
π RETURN π
It hands you back a pointer to the next parameter, or NULL if there are no more parameters left β the classic "we're done here" signal π
π§ SEE ALSO π§
Kernel file ./drivers/gpu/drm/xe/tests/xe_pci.c β go read it, it's literally right there π
xe_pci_fake_data_gen_params(9)xe_pci_fake_data_desc(9)xe_pci_graphics_ip_gen_param(9)xe_pci_id_gen_param(9)xe_pci_live_device_gen_param(9)
and that's the whole page, bestie β¨ this lil icon lives in ./drivers/gpu/drm/xe/tests, it's dated October 2026, and it's brought to you by the Kernel API Manual β go forth and generate those parameters, iykyk ππ¦π
π¦ 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