STRUCT ZYNQMP_DPSUB(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 β€” true when the video clock comes from PS, false when it comes from PL. the PS/PL split is the whole vibe.
  • aud_clk β€” the audio clock.
  • aud_clk_from_ps β€” true when the audio clock comes from PS, false when 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 β€” true if the DMA interface is enabled, false if 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_LAYERS of 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