[v4,08/13] drm/msm/dpu: add support for virtual planes
Sui Jingfeng
sui.jingfeng at linux.dev
Thu Mar 14 08:04:33 UTC 2024
Hi,
On 2024/3/14 08:02, Dmitry Baryshkov wrote:
[...]
>
> +/**
> + * dpu_rm_reserve_sspp - Reserve the required SSPP for the provided CRTC
> + * @rm: DPU Resource Manager handle
> + * @global_state: private global state
> + * @crtc: DRM CRTC handle
> + * @reqs: SSPP required features
> + */
> +struct dpu_hw_sspp *dpu_rm_reserve_sspp(struct dpu_rm *rm,
> + struct dpu_global_state *global_state,
> + struct drm_crtc *crtc,
> + struct dpu_rm_sspp_requirements *reqs);
> +
> +/**
> + * dpu_rm_release_all_sspp - Given the CRTC, release all SSPP
> + * blocks previously reserved for that use case.
> + * @rm: DPU Resource Manager handle
> + * @crtc: DRM CRTC handle
> + * @Return: 0 on Success otherwise -ERROR
> + */
But this function do not return any value, right?
> +void dpu_rm_release_all_sspp(struct dpu_global_state *global_state,
> + struct drm_crtc *crtc);
> +
> /**
> * Get hw resources of the given type that are assigned to this encoder.
> */
--
Best regards,
Sui
More information about the dri-devel
mailing list