[Intel-gfx] [PATCH 2/2] drm/i915: Extend GET_APERTURE ioctl to report size of the stolen region

Chris Wilson chris at chris-wilson.co.uk
Wed Jul 1 02:48:49 PDT 2015


On Wed, Jul 01, 2015 at 02:55:13PM +0530, ankitprasad.r.sharma at intel.com wrote:
> From: Ankitprasad Sharma <ankitprasad.r.sharma at intel.com>
> 
> This patch extends the GET_APERTURE ioctl to add support
> for getting total size and available size of the stolen region
> as well as single largest block available in the stolen region.
> Also adds debugfs support to retieve the size information of the
> stolen area.
> 
> v2: respinned over Rodrigo's patch which extends the GET_APERTURE
> too. Used drm_mm to get the size information of the stolen region
> (Chris)
> Added debugfs support for testing (Ankit)
> 
> v3: Rebased to the latest drm-intel-nightly (Ankit)
> 
> Signed-off-by: Ankitprasad Sharma <ankitprasad.r.sharma at intel.com>

There will be a conflict with Tvrtko's fixes for rotated GGTT entries,
but overall I like this information a lot:

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list