aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChaitanya Dhere <[email protected]>2024-03-08 10:12:30 -0500
committerAlex Deucher <[email protected]>2024-03-22 15:50:57 -0400
commitaae9734b5eb7c4cce9020ecb58bb24db63014a5a (patch)
tree53eda6a8a9ab2c9d0393d179f9a1a29d5c319834
parent621cf07a3f25337b17becd4c9486308c0988ea49 (diff)
drm/amd/display: Add TB_BORROWED_MAX definition
[Why & How] For DML2 to decouple it from other DML versions. Reviewed-by: Dillon Varone <[email protected]> Acked-by: Wayne Lin <[email protected]> Signed-off-by: Chaitanya Dhere <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r--drivers/gpu/drm/amd/display/dc/dml2/display_mode_core.c2
1 files changed, 2 insertions, 0 deletions
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
// ---------------------------