[Intel-gfx] [PATCH v6] drm/i915/dsb: Pre allocate and late cleanup of cmd buffer

2020-05-14 Thread Animesh Manna
Pre-allocate command buffer in atomic_commit using intel_dsb_prepare function which also includes pinning and map in cpu domain. No functional change is dsb write/commit functions. Now dsb get/put function is removed and ref-count mechanism is not needed. Below dsb api added to do respective job

Re: [Intel-gfx] [PATCH v6] drm/i915/dsb: Pre allocate and late cleanup of cmd buffer

2020-05-14 Thread Jani Nikula
On Thu, 14 May 2020, Animesh Manna wrote: > Pre-allocate command buffer in atomic_commit using intel_dsb_prepare > function which also includes pinning and map in cpu domain. > > No functional change is dsb write/commit functions. > > Now dsb get/put function is removed and ref-count mechanism is

Re: [Intel-gfx] [PATCH v6] drm/i915/dsb: Pre allocate and late cleanup of cmd buffer

2020-05-14 Thread Manna, Animesh
Thanks Jani for review, added the changes in next version. Regards, Animesh On 14-05-2020 14:51, Jani Nikula wrote: On Thu, 14 May 2020, Animesh Manna wrote: Pre-allocate command buffer in atomic_commit using intel_dsb_prepare function which also includes pinning and map in cpu domain. No f