mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-18 00:24:58 +08:00
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>
This commit is contained in:
parent
86bbd89d5d
commit
db176f6ba1
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user