Re: [PATCH 1/2] dma-buf/dma-fence: Add dma_fence_init_noref()

2023-03-13 Thread Christian König
Am 13.03.23 um 08:13 schrieb Christian König: Am 11.03.23 um 18:35 schrieb Rob Clark: From: Rob Clark Add a way to initialize a fence without touching the refcount. This is useful, for example, if the fence is embedded in a drm_sched_job.  In this case the refcount will be initialized before

Re: [PATCH 1/2] dma-buf/dma-fence: Add dma_fence_init_noref()

2023-03-13 Thread Christian König
Am 11.03.23 um 18:35 schrieb Rob Clark: From: Rob Clark Add a way to initialize a fence without touching the refcount. This is useful, for example, if the fence is embedded in a drm_sched_job. In this case the refcount will be initialized before the job is queued. But the seqno of the

[PATCH 1/2] dma-buf/dma-fence: Add dma_fence_init_noref()

2023-03-11 Thread Rob Clark
From: Rob Clark Add a way to initialize a fence without touching the refcount. This is useful, for example, if the fence is embedded in a drm_sched_job. In this case the refcount will be initialized before the job is queued. But the seqno of the hw_fence is not known until job_run().