diff options
author | 2024-03-08 10:12:30 -0500 | |
---|---|---|
committer | 2024-03-22 15:50:57 -0400 | |
commit | aae9734b5eb7c4cce9020ecb58bb24db63014a5a (patch) | |
tree | 53eda6a8a9ab2c9d0393d179f9a1a29d5c319834 | |
parent | drm/amd/display: fix a bug to dereference already freed old current state memory (diff) | |
download | wireguard-linux-aae9734b5eb7c4cce9020ecb58bb24db63014a5a.tar.xz wireguard-linux-aae9734b5eb7c4cce9020ecb58bb24db63014a5a.zip |
drm/amd/display: Add TB_BORROWED_MAX definition
[Why & How]
For DML2 to decouple it from other DML versions.
Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Chaitanya Dhere <chaitanya.dhere@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dml2/display_mode_core.c | 2 |
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 // --------------------------- |