Commit 1cb4ca59 authored by Frank Min's avatar Frank Min Committed by Alex Deucher

drm/amdgpu: correct vce fw data and stack size

this fix the VCE world switch hang issue
Signed-off-by: default avatarFrank Min <Frank.Min@amd.com>
Acked-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent f4534f06
......@@ -423,7 +423,7 @@ static int vce_v4_0_sw_init(void *handle)
if (r)
return r;
size = (VCE_V4_0_STACK_SIZE + VCE_V4_0_DATA_SIZE) * 2;
size = VCE_V4_0_STACK_SIZE + VCE_V4_0_DATA_SIZE;
if (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP)
size += VCE_V4_0_FW_SIZE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment