STRUCT VOP2_OPS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

struct vop2_ops β€” helper operations for vop2 hardware ✨

okay so bestie, this is struct vop2_ops(9) from the Kernel API Manual β€” the manual page for vop2 helper operations, and it's giving very demure, very mindful struct energy. πŸŽ€

🌸 SYNOPSIS 🌸

       struct vop2_ops {
           unsigned long (*setup_intf_mux)(struct vop2_video_port *vp, int
       ep_id, u32 polflags);
           void (*setup_bg_dly)(struct vop2_video_port *vp);
           void (*setup_overlay)(struct vop2_video_port *vp);
        };

πŸ‘― Members

The member hooks are the three function pointers in the synopsis above: setup_intf_mux, setup_bg_dly, and setup_overlay. No cap, that's the whole cast. 🫢

πŸ’¬ Description

The common part of the vop2 driver uses these hooks to implement the proper behaviour of different variants. That's the lore: shared driver code, variant-specific slay. πŸ”₯

πŸ‘€ SEE ALSO πŸ‘€

  • Kernel file ./drivers/gpu/drm/rockchip/rockchip_drm_vop2.h β€” that's the one to peek at if you want the full tea. 🍡

Mwah πŸ’‹ β€” this page comes from the source/version line ./drivers/gpu/drm/rockchip, dated October 2026. Bye bestie, go slay some vop2 ops. πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from