1
0
Fork 0
alistair23-linux/drivers/gpu/drm/v3d
Eric Anholt 1584f16ca9 drm/v3d: Add support for submitting jobs to the TFU.
The TFU can copy from raster, UIF, and SAND input images to UIF output
images, with optional mipmap generation.  This will certainly be
useful for media EGL image input, but is also useful immediately for
mipmap generation without bogging the V3D core down.

For now we only run the queue 1 job deep, and don't have any hang
recovery (though I don't think we should need it, with TFU).  Queuing
multiple jobs in the HW will require synchronizing the YUV coefficient
regs updates since they don't get FIFOed with the job.

v2: Change the ioctl to IOW instead of IOWR, always set COEF0, explain
    why TFU is AUTH, clarify the syncing docs, drop the unused TFU
    interrupt regs (you're expected to use the hub's), don't take
    &bo->base for NULL bos.
v3: Fix a little whitespace alignment (noticed by checkpatch), rebase
    on drm_sched_job_cleanup() changes.

Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Dave Emett <david.emett@broadcom.com> (v2)
Link: https://patchwork.freedesktop.org/patch/264607/
2018-11-30 13:03:32 -08:00
..
Kconfig drm/v3d: add CONFIG_MMU dependency 2018-05-30 12:15:18 -07:00
Makefile
v3d_bo.c drm/v3d: use new return type vm_fault_t in v3d_gem_fault 2018-07-05 11:42:40 -07:00
v3d_debugfs.c drm/v3d: Skip debugfs dumping GCA on platforms without GCA. 2018-10-15 13:10:54 -07:00
v3d_drv.c drm/v3d: Add support for submitting jobs to the TFU. 2018-11-30 13:03:32 -08:00
v3d_drv.h drm/v3d: Add support for submitting jobs to the TFU. 2018-11-30 13:03:32 -08:00
v3d_fence.c drm/v3d: Remove unnecessary dma_fence_ops. 2018-07-05 11:42:50 -07:00
v3d_gem.c drm/v3d: Add support for submitting jobs to the TFU. 2018-11-30 13:03:32 -08:00
v3d_irq.c drm/v3d: Add support for submitting jobs to the TFU. 2018-11-30 13:03:32 -08:00
v3d_mmu.c
v3d_regs.h drm/v3d: Add support for submitting jobs to the TFU. 2018-11-30 13:03:32 -08:00
v3d_sched.c drm/v3d: Add support for submitting jobs to the TFU. 2018-11-30 13:03:32 -08:00
v3d_trace.h drm/v3d: Add support for submitting jobs to the TFU. 2018-11-30 13:03:32 -08:00
v3d_trace_points.c