Re: [Intel-gfx] [PATCH] drm/i915/guc: Defer LRC context unpin or release

2015-11-06 Thread Yu Dai
On 11/06/2015 02:09 PM, Chris Wilson wrote: On Fri, Nov 06, 2015 at 01:56:59PM -0800, yu@intel.com wrote: > From: Alex Dai > > Can't immediately free LRC context (neither unpin it) even all > its referenced requests are completed, because HW still need a > short period of time to save data

Re: [Intel-gfx] [PATCH] drm/i915/guc: Defer LRC context unpin or release

2015-11-06 Thread kbuild test robot
Hi Alex, [auto build test WARNING on drm-intel/for-linux-next] [also build test WARNING on next-20151106] [cannot apply to v4.3] url: https://github.com/0day-ci/linux/commits/yu-dai-intel-com/drm-i915-guc-Defer-LRC-context-unpin-or-release/20151107-060016 base: git://anongit.freedesktop.org

Re: [Intel-gfx] [PATCH] drm/i915/guc: Defer LRC context unpin or release

2015-11-06 Thread Chris Wilson
On Fri, Nov 06, 2015 at 01:56:59PM -0800, yu@intel.com wrote: > From: Alex Dai > > Can't immediately free LRC context (neither unpin it) even all > its referenced requests are completed, because HW still need a > short period of time to save data to LRC status page. It is safe > to free LRC w

Re: [Intel-gfx] [PATCH] drm/i915/guc: Defer LRC context unpin or release

2015-11-06 Thread Yu Dai
Sorry for wrong patch. Please forget about his one. Another one will be submitted. Alex On 11/06/2015 01:56 PM, yu@intel.com wrote: From: Alex Dai Can't immediately free LRC context (neither unpin it) even all its referenced requests are completed, because HW still need a short period of

[Intel-gfx] [PATCH] drm/i915/guc: Defer LRC context unpin or release

2015-11-06 Thread yu . dai
From: Alex Dai Can't immediately free LRC context (neither unpin it) even all its referenced requests are completed, because HW still need a short period of time to save data to LRC status page. It is safe to free LRC when HW completes a request from a different LRC. Move LRC to ring->last_unpin