STRUCT ZYNQMP_DPSUB(9)
π NAME π
okay bestie, meet struct zynqmp_dpsub(9) β the ZynqMP DisplayPort Subsystem struct, straight out of the Kernel API Manual. Sheβs the main-character data bundle for the whole DisplayPort situation, and yes, weβre going to go through every single member together. no skipping, no cap. β¨
π SYNOPSIS π
struct zynqmp_dpsub {
struct device *dev;
struct clk *apb_clk;
struct clk *vid_clk;
bool vid_clk_from_ps;
struct clk *aud_clk;
bool aud_clk_from_ps;
unsigned int connected_ports;
bool dma_enabled;
struct zynqmp_dpsub_drm *drm;
struct drm_bridge *bridge;
struct zynqmp_disp *disp;
struct zynqmp_disp_layer *layers[ZYNQMP_DPSUB_NUM_LAYERS];
struct zynqmp_dp *dp;
unsigned int dma_align;
struct zynqmp_dpsub_audio *audio;
};
π«Ά Members π«Ά
devβ the physical device. literally the device herself.apb_clkβ the APB clock. iconic timing behavior.vid_clkβ the video clock.vid_clk_from_psβtruewhen the video clock comes from PS,falsewhen it comes from PL. the PS/PL split is the whole vibe.aud_clkβ the audio clock.aud_clk_from_psβtruewhen the audio clock comes from PS,falsewhen it comes from PL. same energy, audio edition.connected_portsβ bitmask of connected ports in the device tree. bitmask bestie, not a plain list.dma_enabledβtrueif the DMA interface is enabled,falseif the DPSUB is driven by the live input.drmβ the DRM/KMS device data.bridgeβ the DP encoder bridge.dispβ the display controller.layersβ video and graphics layers. yes, she has layers βZYNQMP_DPSUB_NUM_LAYERSof them, specifically.dpβ the DisplayPort controller.dma_alignβ DMA alignment constraint, and it must be a power of 2. periodt.audioβ DP audio data.
π SEE ALSO π
bestie, go peek at the kernel file ./drivers/gpu/drm/xlnx/zynqmp_dpsub.h β thatβs where the source-side lore lives. π¦
This has been your β¨ struct zynqmp_dpsub(9) β¨ moment from the Kernel API Manual, dated October 2026, source ./drivers/gpu/drm/xlnx. mwah π
π¦ 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