[PATCH 1/5] drm/sched: Create wrapper to add a syncobj dependency to job

Luben Tuikov luben.tuikov at amd.com
Wed Feb 8 22:20:43 UTC 2023


On 2023-02-08 14:54, Christian König wrote:
> Am 08.02.23 um 20:48 schrieb Maíra Canal:
>> In order to add a syncobj's fence as a dependency to a job, it is
>> necessary to call drm_syncobj_find_fence() to find the fence and then
>> add the dependency with drm_sched_job_add_dependency(). So, wrap these
>> steps in one single function, drm_sched_job_add_syncobj_dependency().
>>
>> Signed-off-by: Maíra Canal <mcanal at igalia.com>
> Just one nit pick below, with that fixed Reviewed-by: Christian König 
> <christian.koenig at amd.com>
>
> I'm pretty sure we have the exact same function now in amdgpu cause I 
> cleaned that up just a few weeks ago to look the same as the other drivers.
>
> Would be nice to have that new function applied there as well.

Hi Christian,

Is that R-B for the series or just this patch?
-- 
Regards,
Luben


More information about the dri-devel mailing list