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/amd/amdgpu/amdgpu_uvd.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/kernel/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.h b/kernel/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.h
index a3ab1a4..edbb819 100644
--- a/kernel/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.h
+++ b/kernel/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.h
@@ -65,6 +65,9 @@
 	struct drm_sched_entity entity;
 	struct delayed_work	idle_work;
 	unsigned		harvest_config;
+	/* store image width to adjust nb memory state */
+	unsigned		decode_image_width;
+	uint32_t                keyselect;
 };
 
 int amdgpu_uvd_sw_init(struct amdgpu_device *adev);

--
Gitblit v1.6.2