[GIT PULL] VC4 3D support
From: Eric Anholt
Date: Fri Dec 11 2015 - 19:43:22 EST
Hi Dave,
Since you asked for early pull requests, here's what I've got queued up.
I may want to add some more after this if I can, but this will let us
ship 3D support on 4.5 kernels. It's also what I'm pushing to the
Raspberry Pi Foundation kernel for their update to 4.2.
The following changes since commit 8005c49d9aea74d382f474ce11afbbc7d7130bec:
Linux 4.4-rc1 (2015-11-15 17:00:27 -0800)
are available in the git repository at:
http://github.com/anholt/linux drm-vc4-next-2015-12-11
for you to fetch changes up to d6f19f9ace07a246389f8e4803daf796aeb1f263:
drm/vc4: Add support for more a few more RGB display plane formats. (2015-12-11 16:27:47 -0800)
----------------------------------------------------------------
This pull request brings in 3D acceleration support for the VC4 GPU.
While there is still performance work to be done (particularly
surrounding RCL generation), the CL submit ABI should be settled and
done now.
----------------------------------------------------------------
Eric Anholt (10):
drm: Create a driver hook for allocating GEM object structs.
drm/vc4: Add a BO cache.
drm/vc4: Add create and map BO ioctls.
drm/vc4: Add an API for creating GPU shaders in GEM BOs.
drm/vc4: Fix a typo in a V3D debug register.
drm/vc4: Bind and initialize the V3D engine.
drm/vc4: Add support for drawing 3D frames.
drm/vc4: Add support for async pageflips.
drm/vc4: Add an interface for capturing the GPU state after a hang.
drm/vc4: Add support for more a few more RGB display plane formats.
drivers/gpu/drm/drm_gem_cma_helper.c | 10 +-
drivers/gpu/drm/vc4/Makefile | 11 +-
drivers/gpu/drm/vc4/vc4_bo.c | 517 ++++++++++++++++-
drivers/gpu/drm/vc4/vc4_crtc.c | 99 +++-
drivers/gpu/drm/vc4/vc4_debugfs.c | 3 +
drivers/gpu/drm/vc4/vc4_drv.c | 36 +-
drivers/gpu/drm/vc4/vc4_drv.h | 318 +++++++++-
drivers/gpu/drm/vc4/vc4_gem.c | 867 +++++++++++++++++++++++++++
drivers/gpu/drm/vc4/vc4_irq.c | 210 +++++++
drivers/gpu/drm/vc4/vc4_kms.c | 149 ++++-
drivers/gpu/drm/vc4/vc4_packet.h | 399 +++++++++++++
drivers/gpu/drm/vc4/vc4_plane.c | 56 ++
drivers/gpu/drm/vc4/vc4_qpu_defines.h | 264 +++++++++
drivers/gpu/drm/vc4/vc4_regs.h | 2 +-
drivers/gpu/drm/vc4/vc4_render_cl.c | 634 ++++++++++++++++++++
drivers/gpu/drm/vc4/vc4_trace.h | 63 ++
drivers/gpu/drm/vc4/vc4_trace_points.c | 14 +
drivers/gpu/drm/vc4/vc4_v3d.c | 262 +++++++++
drivers/gpu/drm/vc4/vc4_validate.c | 900 +++++++++++++++++++++++++++++
drivers/gpu/drm/vc4/vc4_validate_shaders.c | 513 ++++++++++++++++
include/drm/drmP.h | 7 +
include/uapi/drm/Kbuild | 1 +
include/uapi/drm/vc4_drm.h | 279 +++++++++
23 files changed, 5593 insertions(+), 21 deletions(-)
create mode 100644 drivers/gpu/drm/vc4/vc4_gem.c
create mode 100644 drivers/gpu/drm/vc4/vc4_irq.c
create mode 100644 drivers/gpu/drm/vc4/vc4_packet.h
create mode 100644 drivers/gpu/drm/vc4/vc4_qpu_defines.h
create mode 100644 drivers/gpu/drm/vc4/vc4_render_cl.c
create mode 100644 drivers/gpu/drm/vc4/vc4_trace.h
create mode 100644 drivers/gpu/drm/vc4/vc4_trace_points.c
create mode 100644 drivers/gpu/drm/vc4/vc4_v3d.c
create mode 100644 drivers/gpu/drm/vc4/vc4_validate.c
create mode 100644 drivers/gpu/drm/vc4/vc4_validate_shaders.c
create mode 100644 include/uapi/drm/vc4_drm.h
[ signature.asc: application/pgp-signature ]
Attachment:
signature.asc
Description: PGP signature