OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86bbd89
)
drm/v3d: Add missing fence timeline name for TFU.
author
Eric Anholt
<eric@anholt.net>
Sat, 1 Dec 2018 00:57:59 +0000
(16:57 -0800)
committer
Eric Anholt
<eric@anholt.net>
Mon, 3 Dec 2018 19:24:58 +0000
(11:24 -0800)
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>
drivers/gpu/drm/v3d/v3d_fence.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/v3d/v3d_fence.c
b/drivers/gpu/drm/v3d/v3d_fence.c
index
50bfcf9
..
b0a2a1a
100644
(file)
--- 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_timeline_name(struct dma_fence *fence)
{
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 = {