[RFC PATCH] drm/panfrost: Add initial panfrost driver
Dave Airlie
airlied at gmail.com
Fri Mar 8 00:51:06 UTC 2019
+struct drm_panfrost_submit {
> +
> + /** Address to GPU mapping of job descriptor */
> + __u64 jc;
> +
> + /** An optional sync object to wait on before starting this job. */
> + __u32 in_sync;
> +
> + /** An optional sync object to place the completion fence in. */
> + __u32 out_sync;
> +
> + /** Pointer to a u32 array of the BOs that are referenced by the job. */
> + __u64 bo_handles;
> +
> + /** Number of BO handles passed in (size is that times 4). */
> + __u32 bo_handle_count;
> +
> + /** A combination of PANFROST_JD_REQ_* */
> + __u32 requirements;
> +};
> +
I really think to write a decent vulkan driver, you need to take
arrays of in sync,
Look at the amdgpu chunk API.
Dave.
More information about the dri-devel
mailing list