]> git.baikalelectronics.ru Git - kernel.git/commit
drm/v3d: Refactor job management.
authorEric Anholt <eric@anholt.net>
Tue, 16 Apr 2019 22:58:53 +0000 (15:58 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 18 Apr 2019 16:54:07 +0000 (09:54 -0700)
commite8151f179810085211ef28e8c4899b8d363e6bde
tree692ca712a70ec213aaf6e0cd91d19942270e698d
parent21fa6cbbcdedf993c6e6e1b58bf3633f92ec2411
drm/v3d: Refactor job management.

The CL submission had two jobs embedded in an exec struct.  When I
added TFU support, I had to replicate some of the exec stuff and some
of the job stuff.  As I went to add CSD, it became clear that actually
what was in exec should just be in the two CL jobs, and it would let
us share a lot more code between the 4 queues.

v2: Fix missing error path in TFU ioctl's bo[] allocation.

Signed-off-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20190416225856.20264-3-eric@anholt.net
Acked-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/v3d/v3d_drv.h
drivers/gpu/drm/v3d/v3d_gem.c
drivers/gpu/drm/v3d/v3d_irq.c
drivers/gpu/drm/v3d/v3d_sched.c