Re: [RFC 3/3] drm/i915: Add the truncation logic for Stolen objects.

Gupta, Sourab
2014-03-05T12:26:32Z

Hi Chris,

Can you please through some light on the bug here, so that we're able to handle it.
Is it about the handling required for the pread/pwrite ioctls, or is it about the format of mentioning the testcase?

Thanks,
Sourab

-----Original Message-----
From: Chris Wilson [mailto:chris@chris-wilson.co.uk]
Sent: Wednesday, March 05, 2014 5:19 PM
To: Gupta, Sourab
Cc: intel-gfx@lists.freedesktop.org; Vetter, Daniel; Barnes, Jesse; Wilson, Chris; Goel, Akash
Subject: Re: [RFC 3/3] drm/i915: Add the truncation logic for Stolen objects.

On Wed, Mar 05, 2014 at 05:05:40PM +0530, sourab.gupta@intel.com wrote:
> From: Sourab Gupta <sourab.gupta@intel.com>
>
> Adding the truncation logic for buffer objects with backing storage
> from stolen memory. The objects will be truncated when user marks them
> as purgeable and they are part of the inactive list.
>
> Testcase: igt/gem_stolen_mem

This code still has the same obvious bugs.
-Chris

--
Chris Wilson, Intel Open Source Technology Centre