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/media/platform/qcom/venus/hfi_parser.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/kernel/drivers/media/platform/qcom/venus/hfi_parser.c b/kernel/drivers/media/platform/qcom/venus/hfi_parser.c
index 7f515a4..2dcf7ea 100644
--- a/kernel/drivers/media/platform/qcom/venus/hfi_parser.c
+++ b/kernel/drivers/media/platform/qcom/venus/hfi_parser.c
@@ -239,6 +239,11 @@
parser_init(inst, &codecs, &domain);
+ if (core->res->hfi_version > HFI_VERSION_1XX) {
+ core->codecs_count = 0;
+ memset(core->caps, 0, sizeof(core->caps));
+ }
+
while (words_count) {
data = word + 1;
--
Gitblit v1.6.2