[PATCH 42/43] drm/amd/display: Add TB_BORROWED_MAX definition
Wayne Lin
Wayne.Lin at amd.com
Tue Mar 12 09:20:35 UTC 2024
From: Chaitanya Dhere <chaitanya.dhere at amd.com>
[Why & How]
For DML2 to decouple it from other DML versions.
Reviewed-by: Dillon Varone <dillon.varone at amd.com>
Acked-by: Wayne Lin <wayne.lin at amd.com>
Signed-off-by: Chaitanya Dhere <chaitanya.dhere at amd.com>
---
drivers/gpu/drm/amd/display/dc/dml2/display_mode_core.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/amd/display/dc/dml2/display_mode_core.c b/drivers/gpu/drm/amd/display/dc/dml2/display_mode_core.c
index 9be5ebf3a8c0..9184772d2e38 100644
--- a/drivers/gpu/drm/amd/display/dc/dml2/display_mode_core.c
+++ b/drivers/gpu/drm/amd/display/dc/dml2/display_mode_core.c
@@ -31,6 +31,8 @@
#include "dml_assert.h"
#define DML2_MAX_FMT_420_BUFFER_WIDTH 4096
+#define TB_BORROWED_MAX 400
+
// ---------------------------
// Declaration Begins
// ---------------------------
--
2.37.3
More information about the amd-gfx
mailing list