amdgpu_dm_ism_disable(9)
π amdgpu_dm_ism_disable β a Kernel API Manual moment
okay so bestie, welcome to amdgpu_dm_ism_disable(9) from the Kernel API Manual β¨ this one's short but she's important, so grab your lil strawberry drink π and let's get into it.
πΈ NAME πΈ
amdgpu_dm_ism_disable β Quiesce ISM workers π§
like literally, she puts the ISM workers to sleep. gently. but firmly.
β¨ SYNOPSIS β¨
void amdgpu_dm_ism_disable (struct amdgpu_display_manager *dm );
that's it. one function, one argument, zero drama (unless you call her wrong, then maximum drama β see below π).
π ARGUMENTS π
dmβ The amdgpu display manager. yeah. that's the whole description. she's the display manager, she's the main character, she gets passed in. periodt π
π₯ DESCRIPTION π₯
okay so here's the tea β β this function cancels and disables any pending or in-flight ISM delayed work and then waits for in-progress work to finish. like she doesn't just wave goodbye, she stands there until everybody's actually out the door π«Ά
after this returns, no ISM worker can run. none. zero. the doors are locked, the lights are off, the vibe is immaculate. and any subsequent mod_delayed_work calls become no-ops via clear_pending_if_disabled β like sorry bestie, we're closed π
β οΈ HUGE WARNING, PAY ATTENTION: you must NOT call this withdc_lockheld. like, do not. the workers themselves takedc_lock, so a synchronous wait underdc_lockwould deadlock. and not the cute kind of deadlock. the bad kind π consider this your official vibe check failure.
also, and this is the part people forget: the caller is responsible for driving the FSM back to FULL_POWER_RUNNING (under dc_lock) by calling amdgpu_dm_ism_force_full_power. so likeβ¦ you disabled her, now you gotta bring her back yourself. she's not doing it for you, she's a kernel function not your mom π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_ism.cβ go read the source, it's giving lore π dm_ism_next_state(9)dm_ism_get_idle_allow_delay(9)dm_ism_insert_record(9)amdgpu_dm_ism_force_full_power(9)amdgpu_dm_ism_enable(9)
and that's the whole page bestie, no cap π§ββοΈπ this lil gem lives over at ./drivers/gpu/drm/amd/display/... and the version/date stamps her as October 2026 β so she's from the future, iconic behavior honestly βπ bye ily, go disable responsibly ππ
π¦ 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