Home
last modified time | relevance | path

Searched refs:ctl_blks (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_rm.c71 for (i = 0; i < ARRAY_SIZE(rm->ctl_blks); i++) { in dpu_rm_destroy()
74 if (rm->ctl_blks[i]) { in dpu_rm_destroy()
75 hw = to_dpu_hw_ctl(rm->ctl_blks[i]); in dpu_rm_destroy()
225 rm->ctl_blks[ctl->id - CTL_0] = &hw->base; in dpu_rm_init()
451 for (j = 0; j < ARRAY_SIZE(rm->ctl_blks); j++) { in _dpu_rm_reserve_ctls()
456 if (!rm->ctl_blks[j]) in _dpu_rm_reserve_ctls()
461 ctl = to_dpu_hw_ctl(rm->ctl_blks[j]); in _dpu_rm_reserve_ctls()
634 hw_blks = rm->ctl_blks; in dpu_rm_get_assigned_resources()
636 max_blks = ARRAY_SIZE(rm->ctl_blks); in dpu_rm_get_assigned_resources()
Ddpu_rm.h28 struct dpu_hw_blk *ctl_blks[CTL_MAX - CTL_0]; member