[PATCH] drm/amd/amdgpu: Fix MES init sequence

2025-03-11 Thread Shaoyun Liu
When MES is been used , the set_hw_resource_1 API is required to initialize MES internal context correctly Signed-off-by: Shaoyun Liu --- drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h | 6 +-- drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | 6 +-- drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 52 ++

Re: [PATCH] drm/amd/amdgpu: Fix MES init sequence

2025-03-11 Thread Alex Deucher
On Mon, Mar 10, 2025 at 8:53 PM Shaoyun Liu wrote: > > When MES is been used , the set_hw_resource_1 API is required to > initialize MES internal context correctly > > Signed-off-by: Shaoyun Liu Acked-by: Alex Deucher > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h | 6 +-- > drivers/gpu/dr

[PATCH] drm/amd/amdgpu: Fix MES init sequence

2025-03-10 Thread Shaoyun Liu
When MES is been used , the set_hw_resource_1 API is required to initialize MES internal context correctly Signed-off-by: Shaoyun Liu --- drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h | 6 +-- drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | 9 ++-- drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 59 +

Re: [PATCH] drm/amd/amdgpu: Fix MES init sequence

2025-03-10 Thread Alex Deucher
On Mon, Mar 10, 2025 at 1:58 PM Shaoyun Liu wrote: > > When MES is been used , the set_hw_resource_1 API is required to > initialize MES internal context correctly > > Signed-off-by: Shaoyun Liu > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h | 6 +-- > drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c