[Intel-gfx] [PATCH 01/11] drm/i915: Add support for mapping an object page by page

Chris Wilson chris at chris-wilson.co.uk
Thu Jun 2 22:28:39 UTC 2016


On Tue, May 31, 2016 at 11:49:14AM +0530, ankitprasad.r.sharma at intel.com wrote:
> From: Chris Wilson <chris at chris-wilson.co.uk>
> 
> Introduced a new vm specfic callback insert_page() to program a single pte in
> ggtt or ppgtt. This allows us to map a single page in to the mappable aperture
> space. This can be iterated over to access the whole object by using space as
> meagre as page size.
> 
> v2: Added low level rpm assertions to insert_page routines (Chris)
> 
> v3: Added POSTING_READ post register write (Tvrtko)
> 
> v4: Rebase (Ankit)
> 
> v5: Removed wmb() and FLUSH_CTL from insert_page, caller to take care
> of it (Chris)
> 
> v6: insert_page not working correctly without FLSH_CNTL write, added the
> write again.

Confirmed. Sorry, it took me a bit to get a test box ready for a bit of
digging.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list