cik_select_se_sh(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cik_select_se_sh β€” Kernel API Manual ✨

okay so bestie, welcome to the cik_select_se_sh(9) page, straight out of the Kernel API Manual πŸŽ€. this one's a tiny little function but she's important, so grab your strawberry drink πŸ“ and let's get into it.


🌸 NAME 🌸

cik_select_se_sh β€” she picks which SE and SH you're addressing, no cap πŸ’…


✨ SYNOPSIS ✨

void cik_select_se_sh (struct radeon_device *rdev , u32 se_num , u32 sh_num );

that's it. that's the whole signature. she's short and she knows it πŸ‘‘


🫢 ARGUMENTS 🫢

  • rdev β€” a radeon_device pointer. literally the device you're talking to, your main character πŸ–₯️
  • se_num β€” the shader engine you wanna address. which SE, girl? pick one πŸ’«
  • sh_num β€” the sh block to address. the SH in question, bestie 🧚

πŸ’– DESCRIPTION πŸ’–

so what she does: she selects which SE, SH combinations to address ✨. certain registers are instanced per SE or SH β€” like, they exist once per engine/block, iykyk β€” and this is how you point at the right one instead of yelling into the void 😭

and here's the iconic part: 0xffffffff means broadcast to all SEs or SHs β€” for CIK. that's the "hey everyone listen up" option πŸ”₯

ngl, if you pass 0xffffffff expecting one single engine, you're gonna have a bad time β€” that's the broadcast value, fr fr.

πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file lives right here, go read her πŸ“–:

./drivers/gpu/drm/radeon/cik.c

and the whole friend group πŸ’œ:


mwah πŸ’‹ that's the whole page. she came from ./drivers/gpu/drm/radeon, dated October 2026 β€” go off, queen πŸ‘‘βœ¨

πŸ“¦ where this page comes from