summaryrefslogtreecommitdiff
path: root/lib/igt_panfrost.h
AgeCommit message (Collapse)Author
2021-06-28lib/panfrost: Add a helper to create dummy write value jobsBoris Brezillon
v3: * New patch Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com>
2021-06-28lib/panfrost: Get rid of igt_panfrost_trivial_job()Boris Brezillon
We no longer use fragment jobs to test job submission, let's get rid of igt_panfrost_trivial_job(). If we ever need to issue fragment jobs again, we'll probably have to pull the pan_pack() infra from mesa and make the helper deal with Bifrost specificities. v3: * Remove igt_panfrost_trivial_job() prototype v2: * Add R-b Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com>
2021-06-28lib/panfrost: Add a helper to create a NULL jobBoris Brezillon
Useful when we just want to make sure the scheduler has executed a job (way simpler than creating actual jobs). v2: * No changes Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com>
2021-06-28lib/panfrost: Add a helper to create a job loopBoris Brezillon
Useful to trigger job timeouts and test the kernel driver timeout handling logic. v2: * Add comments explaining how the job loop is formed * Add a helper to retrieve job headers Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com>
2019-06-12lib/panfrost: Add support for SFBD to igt_panfrost_trivial_jobTomeu Vizoso
T720 GPUs and older don't have support for MFBD, so use the SFBD structs instead. We don't know yet how to hang the GPU with SFBD descriptors, so for now skip that test. Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
2019-05-13lib/panfrost: Add panfrost helpersTomeu Vizoso
I also needed to copy two headers from Mesa so we have the struct definitions involved in a trivial clear job. These headers were unchanged. Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Acked-by: Petri Latvala <petri.latvala@intel.com>