drm_encoder_crtc_ok(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

bestie, welcome to the Kernel API Manual page for drm_encoder_crtc_ok(9) β€” and the whole question is literally: can a given crtc drive a given encoder? πŸ‘€ like, that's it, that's the vibe check.


✨ SYNOPSIS ✨

bool drm_encoder_crtc_ok (struct drm_encoder *encoder , struct drm_crtc *crtc );

πŸŽ€ ARGUMENTS πŸŽ€

  • encoder β€” the encoder to test, bestie. that's the one we're checking πŸ‘‘
  • crtc β€” the crtc to test, periodt. the other half of the situation πŸ’…

πŸ’… DESCRIPTION πŸ’…

okay so this function returns false if encoder can't be driven by crtc, and true otherwise. no cap, that's the whole plot 🫢

it's giving "simple little compatibility check" and honestly? iconic. ✨

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./include/drm/drm_encoder.h β€” that's the home base for these cuties 🏑


mwah πŸ’‹ β€” this page comes from ./include/drm, dated October 2026, and it's literally the drm_encoder_crtc_ok(9) manual page. bye bestie 🫢

πŸ“¦ where this page comes from