STRUCT DPU_HW_VBIF_OPS(9)
π struct dpu_hw_vbif_ops β Kernel API Manual π
okay so bestie, welcome to the glow-up era of struct dpu_hw_vbif_ops, your fave little interface to the VBIF hardware driver functions β¨ And before you do literally anything, the vibe check rule: these functions are assumed to be called after clocks are enabled. That's the whole prerequisite. Don't come for her before the clocks are on, fr fr π
β¨ SYNOPSIS β¨
struct dpu_hw_vbif_ops {
void (*set_limit_conf)(struct dpu_hw_vbif *vbif, u32 xin_id, bool rd, u32 limit);
u32 (*get_limit_conf)(struct dpu_hw_vbif *vbif, u32 xin_id, bool rd);
void (*set_halt_ctrl)(struct dpu_hw_vbif *vbif, u32 xin_id, bool enable);
bool (*get_halt_ctrl)(struct dpu_hw_vbif *vbif, u32 xin_id);
void (*set_qos_remap)(struct dpu_hw_vbif *vbif, u32 xin_id, u32 level, u32 remap_level);
void (*set_mem_type)(struct dpu_hw_vbif *vbif, u32 xin_id, u32 value);
void (*clear_errors)(struct dpu_hw_vbif *vbif, u32 *pnd_errors, u32 *src_errors);
void (*set_write_gather_en)(struct dpu_hw_vbif *vbif, u32 xin_id);
};
π― MEMBERS π―
π set_limit_conf
set transaction limit config π
vbifβ vbif context driverxin_idβ client interface identifierrdβtruefor read limit;falsefor write limitlimitβ outstanding transaction limit
πΈ get_limit_conf
get transaction limit config, she's giving read-only main character energy π
vbifβ vbif context driverxin_idβ client interface identifierrdβtruefor read limit;falsefor write limit- return: outstanding transaction limit
π¦ set_halt_ctrl
set halt control β
vbifβ vbif context driverxin_idβ client interface identifierenableβ halt control enable
π get_halt_ctrl
get halt control (the little peek π)
vbifβ vbif context driverxin_idβ client interface identifier- return: halt control enable
π set_qos_remap
set QoS priority remap, priorities getting a whole makeover π
vbifβ vbif context driverxin_idβ client interface identifierlevelβ priority levelremap_levelβ remapped level
π set_mem_type
set memory type, iconic behaviour honestly
vbifβ vbif context driverxin_idβ client interface identifiervalueβ memory type value
π₯ clear_errors
clear any vbif errors π§Ήβ¨ This function clears any detected pending/source errors on the VBIF interface, and optionally returns the detected error mask(s).
vbifβ vbif context driverpnd_errorsβ pointer to pending error reporting variablesrc_errorsβ pointer to source error reporting variable
lowkey important: those two are pointers, so the errors get reported back out through them β optionally, no cap π«Ά
π§ set_write_gather_en
set write_gather enable π«
vbifβ vbif context driverxin_idβ client interface identifier
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/msm/disp/dpu1/dpu_hw_vbif.h
that's the whole page bestie, go slay π
sign-off time: this lil masterpiece lives in ./drivers/gpu/drm/msm/disp/dpu1, dated October 2026, and it's page struct dpu_hw_vbif_ops(9) of the Kernel API Manual π¦ mwah, periodt β¨π
π¦ 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