From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Thu, 04 Jan 2024 10:08:02 +0000
Subject: [PATCH] disable FB
---
kernel/drivers/gpu/drm/v3d/v3d_fence.c | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/kernel/drivers/gpu/drm/v3d/v3d_fence.c b/kernel/drivers/gpu/drm/v3d/v3d_fence.c
index 50bfcf9..89840ed 100644
--- a/kernel/drivers/gpu/drm/v3d/v3d_fence.c
+++ b/kernel/drivers/gpu/drm/v3d/v3d_fence.c
@@ -29,10 +29,18 @@
{
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";
+ case V3D_CSD:
+ return "v3d-csd";
+ default:
+ return NULL;
+ }
}
const struct dma_fence_ops v3d_fence_ops = {
--
Gitblit v1.6.2