dm_crc_sour...d_start_dprx(9)
π
dm_crc_source_should_start_dprx β should we be calling drm_dp_start_crc() or nah?
okay bestie, welcome to the Kernel API Manual, section 9, where we answer the question that's been living rent-free in your head: should this CRC thing actually start? π
β¨ SYNOPSIS β¨
bool dm_crc_source_should_start_dprx (enum amdgpu_dm_pipe_crc_source
source , enum amdgpu_dm_pipe_crc_source cur_crc_src );
like, it takes two things and hands you back a bool. that's the whole vibe. π¦
πΈ ARGUMENTS πΈ
sourceβ the CRC source you're asking for. your request, your dream, your truth. β¨cur_crc_srcβ the CRC source that's already happening right now. the current situation. the present tense. π
π₯ DESCRIPTION π₯
so here's the tea: this function returns true when CRC is transitioning β specifically when it's going from off to a DPRX source. π§
and the exact condition, no cap, is:
!enabled && enable && is_dprx(source)
read that like a group chat: not enabled before, enabled now, and the source is a DPRX one. all three, together, periodt. π
β RETURN β
trueβ yes babe,drm_dp_start_crcshould be called. go off. π«Άfalseβ nope, don't call it. not today. π
π SEE ALSO π
- Kernel file:
./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.cβ literally the whole source file, iykyk π dm_need_dp_aux(9)dm_crc_source_should_stop_dprx(9)β the sibling, the stop to this start πamdgpu_dm_crtc_handle_crc_irq(9)
k that's the page!! this lil cutie lives in the Kernel API Manual at ./drivers/gpu/drm/amd/display/..., dated October 2026, and it's giving section 9 energy all day long πβ¨ don't forget to check on dm_crc_source_should_stop_dprx too, she gets lonely π
π¦ 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