diff options
author | Michael Chen <michael.chen@amd.com> | 2024-07-23 17:45:23 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-07-27 18:10:12 -0400 |
commit | 9038e25c80558d48ce33d6d8c168666164dc72e9 (patch) | |
tree | 089c1fa63be41314435d66eab4d9ad06f69478c4 /drivers/gpu/drm/amd/include/mes_v11_api_def.h | |
parent | f3572db3c049b4d32bb5ba77ad5305616c44c7c1 (diff) | |
download | linux-9038e25c80558d48ce33d6d8c168666164dc72e9.tar.gz linux-9038e25c80558d48ce33d6d8c168666164dc72e9.tar.bz2 linux-9038e25c80558d48ce33d6d8c168666164dc72e9.zip |
drm/amdgpu: increase mes log buffer size for gfx12
MES firmware requires larger log buffer for gfx12. Allocate
proper buffer respectively for gfx11 and gfx12.
Signed-off-by: Michael Chen <michael.chen@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 739d0f3e1f36738d4cd84166784a8f7a58d69612)
Diffstat (limited to 'drivers/gpu/drm/amd/include/mes_v11_api_def.h')
-rw-r--r-- | drivers/gpu/drm/amd/include/mes_v11_api_def.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/include/mes_v11_api_def.h b/drivers/gpu/drm/amd/include/mes_v11_api_def.h index b72d5d362251..21ceafce1f9b 100644 --- a/drivers/gpu/drm/amd/include/mes_v11_api_def.h +++ b/drivers/gpu/drm/amd/include/mes_v11_api_def.h @@ -28,6 +28,9 @@ #define MES_API_VERSION 1 +/* Maximum log buffer size for MES. Needs to be updated if MES expands MES_EVT_INTR_HIST_LOG */ +#define AMDGPU_MES_LOG_BUFFER_SIZE 0x4000 + /* Driver submits one API(cmd) as a single Frame and this command size is same * for all API to ease the debugging and parsing of ring buffer. */ |