drm_atomic_...tc_for_plane(9)
π NAME π
okay so bestie, this is the Kernel API Manual page for drm_atomic_set_crtc_for_plane - set CRTC for plane. periodt π
β¨ SYNOPSIS β¨
the whole vibe, signature-wise:
int drm_atomic_set_crtc_for_plane (struct drm_plane_state *plane_state ,
struct drm_crtc *crtc );
π ARGUMENTS π
plane_stateβ the plane whose incoming state to update π¦crtcβ CRTC to use for the plane β¨
π¦ DESCRIPTION π¦
so changing the assigned CRTC for a plane means we have to grab the lock and state for the new CRTC, as needed. this function takes care of all those little details besides updating the pointer in the state object itself β that part is not handled here, iykyk π«Ά
π₯ RETURN π₯
0 on success, or it can fail with -EDEADLK or -ENOMEM. when the error is EDEADLK, the w/w mutex code has detected a deadlock and the entire atomic sequence must be restarted. all other errors are fatal, no cap ππ
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/drm_atomic_uapi.coverview(9) drm_atomic_set_mode_for_crtc(9)drm_atomic_set_mode_prop_for_crtc(9)drm_atomic_set_fb_for_plane(9)drm_atomic_set_colorop_for_plane(9)drm_atomic_set_crtc_for_connector(9)explicit fencing properties(9)
π sign-off: from./drivers/gpu/drm, datedOctober 2026, pagedrm_atomic_...tc_for_plane(9)β go slay those atomic updates, bestie π β¨
π¦ 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