]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: switch job hw_fence to amdgpu_fence
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Jun 2025 15:31:52 +0000 (11:31 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Jun 2025 16:19:21 +0000 (12:19 -0400)
commitbf1cd14f9e2e1fdf981eed273ddd595863f5288c
treea990593a9d51ac7491734d8760b8424d93ba99c1
parent9750ad5aee4cf24b03dbd3baf475a0840bc0bcea
drm/amdgpu: switch job hw_fence to amdgpu_fence

Use the amdgpu fence container so we can store additional
data in the fence.  This also fixes the start_time handling
for MCBP since we were casting the fence to an amdgpu_fence
and it wasn't.

Fixes: 3f4c175d62d8 ("drm/amdgpu: MCBP based on DRM scheduler (v9)")
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
drivers/gpu/drm/amd/amdgpu/amdgpu_job.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h