amdgpu_gfx_r...er_safe_mode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 amdgpu_gfx_rlc_enter_safe_mode β€” it's the Kernel API Manual bestie, and wow πŸ’…

okay so this is a page straight out of the Kernel API Manual, and the star of the show is amdgpu_gfx_rlc_enter_safe_mode β€” yes that's a whole mouthful, iykyk 🫢 she's from the AMD GPU fam and she's here to put the RLC somewhere safe. literally her whole thing.


✨ NAME ✨

amdgpu_gfx_rlc_enter_safe_mode β€” Set RLC into safe mode. no cap, that's the entire mission statement πŸŽ€


🌈 SYNOPSIS 🌈

void amdgpu_gfx_rlc_enter_safe_mode (struct amdgpu_device *adev , int
xcc_id );

that's it, that's the whole vibe check β€” returns void, so like, she doesn't give anything back, she just does the thing πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • adev β€” an amdgpu_device pointer. it's giving "here's my device, bestie, handle her gently" πŸ’–
  • xcc_id β€” the xcc accelerated compute core id. which core we're talking about, basically. very main character energy of you to specify 🧚

πŸ‘‘ DESCRIPTION πŸ‘‘

okay so the actual tea β˜•: she sets the RLC to enter into safe mode β€” BUT, and this is the important part, only if RLC is enabled and haven't already in safe mode. so if it's off, or if it's already chilling in safe mode, she just doesn't bother. respectful. iconic. we love an efficient queen πŸ‘‘


⭐ SEE ALSO ⭐

the source herself lives in the kernel file:

./drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.c

and here's the whole group chat of related functions β€” go say hi fr fr:


ok final lil sign-off πŸŽ€ this whole thing lives over in ./drivers/gpu/drm/amd/amdgpu, and the page is dated October 2026. that's the version, that's the date, that's the wrap. slay, bye bestie πŸ’œβœ¨
πŸ“¦ where this page comes from