diff options
author | Christian König <christian.koenig@amd.com> | 2023-04-17 13:36:02 +0200 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2023-04-24 11:00:05 +0200 |
commit | 539f9ee4b52a8bec95ff064e22dd2fb1e258e818 (patch) | |
tree | 3eecbccf9019b4e489146b3e0a19ddaf6cc7f300 /include/drm | |
parent | drm/tve200: Use devm_platform_ioremap_resource() (diff) | |
download | linux-539f9ee4b52a8bec95ff064e22dd2fb1e258e818.tar.xz linux-539f9ee4b52a8bec95ff064e22dd2fb1e258e818.zip |
drm/scheduler: properly forward fence errors
When a hw fence is signaled with an error properly forward that to the
finished fence.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Luben Tuikov <luben.tuikov@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230420115752.31470-1-christian.koenig@amd.com
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/gpu_scheduler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/gpu_scheduler.h b/include/drm/gpu_scheduler.h index c0ec6719282a..3b4800e0b24b 100644 --- a/include/drm/gpu_scheduler.h +++ b/include/drm/gpu_scheduler.h @@ -598,7 +598,7 @@ void drm_sched_fence_init(struct drm_sched_fence *fence, void drm_sched_fence_free(struct drm_sched_fence *fence); void drm_sched_fence_scheduled(struct drm_sched_fence *fence); -void drm_sched_fence_finished(struct drm_sched_fence *fence); +void drm_sched_fence_finished(struct drm_sched_fence *fence, int result); unsigned long drm_sched_suspend_timeout(struct drm_gpu_scheduler *sched); void drm_sched_resume_timeout(struct drm_gpu_scheduler *sched, |