diff options
| author | Michael Chen <[email protected]> | 2024-07-23 21:45:23 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-07-27 21:32:05 +0000 |
| commit | 739d0f3e1f36738d4cd84166784a8f7a58d69612 (patch) | |
| tree | e5b4a897d725a0eb4fbddb666daaaaa299cca3e7 /drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | |
| parent | drm/amd/display: Check stream_status before it is used (diff) | |
| download | kernel-739d0f3e1f36738d4cd84166784a8f7a58d69612.tar.gz kernel-739d0f3e1f36738d4cd84166784a8f7a58d69612.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 <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mes_v11_0.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c b/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c index 8ce51b9236c1..f9343642ae7e 100644 --- a/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c +++ b/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c @@ -1163,6 +1163,8 @@ static int mes_v11_0_sw_init(void *handle) adev->mes.kiq_hw_init = &mes_v11_0_kiq_hw_init; adev->mes.kiq_hw_fini = &mes_v11_0_kiq_hw_fini; + adev->mes.event_log_size = AMDGPU_MES_LOG_BUFFER_SIZE; + r = amdgpu_mes_init(adev); if (r) return r; |
