diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2019-08-09 19:50:30 +0200 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2019-08-27 11:10:01 +0200 |
commit | 2340c646e6a5da658e114be2f721ff90853588d4 (patch) | |
tree | df9744d2344e71e8c5d1b75c3e1528bc474313fe /target/linux/brcm2708/patches-4.19/950-0566-drm-v3d-Add-missing-fence-timeline-name-for-TFU.patch | |
parent | 81d0da118694feb874f992093063a2852285d194 (diff) | |
download | upstream-2340c646e6a5da658e114be2f721ff90853588d4.tar.gz upstream-2340c646e6a5da658e114be2f721ff90853588d4.tar.bz2 upstream-2340c646e6a5da658e114be2f721ff90853588d4.zip |
brcm2708: update to latest patches from RPi foundation
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/brcm2708/patches-4.19/950-0566-drm-v3d-Add-missing-fence-timeline-name-for-TFU.patch')
-rw-r--r-- | target/linux/brcm2708/patches-4.19/950-0566-drm-v3d-Add-missing-fence-timeline-name-for-TFU.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/target/linux/brcm2708/patches-4.19/950-0566-drm-v3d-Add-missing-fence-timeline-name-for-TFU.patch b/target/linux/brcm2708/patches-4.19/950-0566-drm-v3d-Add-missing-fence-timeline-name-for-TFU.patch new file mode 100644 index 0000000000..0ab6214a49 --- /dev/null +++ b/target/linux/brcm2708/patches-4.19/950-0566-drm-v3d-Add-missing-fence-timeline-name-for-TFU.patch @@ -0,0 +1,37 @@ +From dc3e81ebd4f232646e10e63e25b048edb4ebc007 Mon Sep 17 00:00:00 2001 +From: Eric Anholt <eric@anholt.net> +Date: Fri, 30 Nov 2018 16:57:59 -0800 +Subject: [PATCH 566/773] drm/v3d: Add missing fence timeline name for TFU. + +We shouldn't be returning v3d-render for our new queue. + +Signed-off-by: Eric Anholt <eric@anholt.net> +Fixes: 83d5139982db ("drm/v3d: Add support for submitting jobs to the TFU.") +Link: https://patchwork.freedesktop.org/patch/msgid/20181201005759.28093-6-eric@anholt.net +Reviewed-by: Dave Emett <david.emett@broadcom.com> +(cherry picked from commit db176f6ba1da39ad0016c77b9775a6bb3d0ce88a) +--- + drivers/gpu/drm/v3d/v3d_fence.c | 10 ++++++++-- + 1 file changed, 8 insertions(+), 2 deletions(-) + +--- a/drivers/gpu/drm/v3d/v3d_fence.c ++++ b/drivers/gpu/drm/v3d/v3d_fence.c +@@ -29,10 +29,16 @@ static const char *v3d_fence_get_timelin + { + struct v3d_fence *f = to_v3d_fence(fence); + +- if (f->queue == V3D_BIN) ++ switch (f->queue) { ++ case V3D_BIN: + return "v3d-bin"; +- else ++ case V3D_RENDER: + return "v3d-render"; ++ case V3D_TFU: ++ return "v3d-tfu"; ++ default: ++ return NULL; ++ } + } + + const struct dma_fence_ops v3d_fence_ops = { |