Re: [Intel-gfx] [PATCH 1/4] drm/i915: Clearing buffer objects via blitter engine

2015-07-07 Thread Ankitprasad Sharma
On Thu, 2015-07-02 at 10:50 +0100, Chris Wilson wrote: On Thu, Jul 02, 2015 at 10:30:43AM +0100, Tvrtko Ursulin wrote: Well.. I the meantime why duplicate it when i915_gem_validate_context does i915_gem_context_get and deferred create if needed. I don't see the downside. Snippet from above

Re: [Intel-gfx] [PATCH 1/4] drm/i915: Clearing buffer objects via blitter engine

2015-07-07 Thread Chris Wilson
On Tue, Jul 07, 2015 at 01:12:11PM +0530, Ankitprasad Sharma wrote: On Thu, 2015-07-02 at 10:50 +0100, Chris Wilson wrote: On Thu, Jul 02, 2015 at 10:30:43AM +0100, Tvrtko Ursulin wrote: Well.. I the meantime why duplicate it when i915_gem_validate_context does i915_gem_context_get and

Re: [Intel-gfx] [PATCH 1/4] drm/i915: Clearing buffer objects via blitter engine

2015-07-07 Thread Ankitprasad Sharma
On Tue, 2015-07-07 at 09:46 +0100, Chris Wilson wrote: On Tue, Jul 07, 2015 at 01:12:11PM +0530, Ankitprasad Sharma wrote: On Thu, 2015-07-02 at 10:50 +0100, Chris Wilson wrote: On Thu, Jul 02, 2015 at 10:30:43AM +0100, Tvrtko Ursulin wrote: Well.. I the meantime why duplicate it when

Re: [Intel-gfx] [PATCH 1/4] drm/i915: Clearing buffer objects via blitter engine

2015-07-02 Thread Tvrtko Ursulin
On 07/01/2015 05:30 PM, Chris Wilson wrote: On Wed, Jul 01, 2015 at 03:54:55PM +0100, Tvrtko Ursulin wrote: +static int i915_gem_exec_flush_object(struct drm_i915_gem_object *obj, + struct intel_engine_cs *ring, + struct

Re: [Intel-gfx] [PATCH 1/4] drm/i915: Clearing buffer objects via blitter engine

2015-07-02 Thread Chris Wilson
On Thu, Jul 02, 2015 at 10:30:43AM +0100, Tvrtko Ursulin wrote: Well.. I the meantime why duplicate it when i915_gem_validate_context does i915_gem_context_get and deferred create if needed. I don't see the downside. Snippet from above becomes: ring = dev_priv-ring[HAS_BLT(dev) ? BCS :

[Intel-gfx] [PATCH 1/4] drm/i915: Clearing buffer objects via blitter engine

2015-07-01 Thread ankitprasad . r . sharma
From: Ankitprasad Sharma ankitprasad.r.sha...@intel.com This patch adds support for clearing buffer objects via blitter engines. This is particularly useful for clearing out the memory from stolen region. v2: Add support for using execlists PPGTT v3: Fix issues in legacy ringbuffer submission

Re: [Intel-gfx] [PATCH 1/4] drm/i915: Clearing buffer objects via blitter engine

2015-07-01 Thread Tvrtko Ursulin
Hi, On 07/01/2015 10:25 AM, ankitprasad.r.sha...@intel.com wrote: From: Ankitprasad Sharma ankitprasad.r.sha...@intel.com This patch adds support for clearing buffer objects via blitter engines. This is particularly useful for clearing out the memory from stolen region. Because CPU cannot

Re: [Intel-gfx] [PATCH 1/4] drm/i915: Clearing buffer objects via blitter engine

2015-07-01 Thread Chris Wilson
On Wed, Jul 01, 2015 at 03:54:55PM +0100, Tvrtko Ursulin wrote: Hi, On 07/01/2015 10:25 AM, ankitprasad.r.sha...@intel.com wrote: From: Ankitprasad Sharma ankitprasad.r.sha...@intel.com This patch adds support for clearing buffer objects via blitter engines. This is particularly useful

[Intel-gfx] [PATCH 1/4] drm/i915: Clearing buffer objects via blitter engine

2015-05-06 Thread ankitprasad . r . sharma
From: Ankitprasad Sharma ankitprasad.r.sha...@intel.com This patch adds support for clearing buffer objects via blitter engines. This is particularly useful for clearing out the memory from stolen region. v2: Add support for using execlists PPGTT v3: Fix issues in legacy ringbuffer submission

[Intel-gfx] [PATCH 1/4] drm/i915: Clearing buffer objects via blitter engine

2014-06-20 Thread sourab . gupta
From: Chris Wilson ch...@chris-wilson.co.uk This patch adds support for clearing buffer objects via blitter engines. This is particularly useful for clearing out the memory from stolen region. testcase: igt/gem_create2 Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk ---