Re: [PATCH] drm/amdgpu: fix amdgpu_job_free_resources

2023-01-12 Thread Christian König
Sorry for that I've only quickly hacked that together without testing. Good to know that it solves the issue. Thanks, Christian. Am 12.01.23 um 15:37 schrieb Thong Thai: The patch solves the UVD issue. By the way, I had to change one of the "->"'s to a "." to compile: drivers/gpu/drm/amd/am

Re: [PATCH] drm/amdgpu: fix amdgpu_job_free_resources

2023-01-12 Thread Thong Thai
The patch solves the UVD issue. By the way, I had to change one of the "->"'s to a "." to compile: drivers/gpu/drm/amd/amdgpu/amdgpu_job.c: In function ‘amdgpu_job_free_resources’: drivers/gpu/drm/amd/amdgpu/amdgpu_job.c:159:61: error: invalid type argument of ‘->’ (have ‘struct dma_fence’)

Re: [PATCH] drm/amdgpu: fix amdgpu_job_free_resources

2023-01-12 Thread Alex Deucher
On Thu, Jan 12, 2023 at 8:48 AM Christian König wrote: > > It can be that neither fence were initialized when we run out of UVD > streams for example. > > Signed-off-by: Christian König Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/2324 Reviewed-by: Alex Deucher > --- > drivers/gpu/d

[PATCH] drm/amdgpu: fix amdgpu_job_free_resources

2023-01-12 Thread Christian König
It can be that neither fence were initialized when we run out of UVD streams for example. Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_job.c b/drivers/g