[Intel-gfx] [PATCH 01/10] drm/i915: Add support for mapping an object page by page
chris at chris-wilson.co.uk
Tue Jan 26 02:55:35 PST 2016
On Tue, Jan 26, 2016 at 01:13:27AM +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.
You need to add the lowlevel rpm assertions to the insert-page routines.
This is important as the next phase of rpm should replace those
assertions with actual getters (once rpm stops requiring struct-mutex).
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx