[Intel-gfx] [PATCH] drm/i915: Revert "drm/i915: Reject the pin ioctl on gen6+"
Chris Wilson
chris at chris-wilson.co.uk
Thu Jul 3 09:35:26 CEST 2014
On Thu, Jul 03, 2014 at 08:12:35AM +0100, Damien Lespiau wrote:
> This reverts commit 02f6bcccf7c324115747aae2f0addd6af5d321cd.
>
> The OA buffer can contain global data (in particular, not linked to a
> context or a single batch execution) about GPU events (eg. hw context
> switches, rc6 transitions, frequency changes, ...) and needs to be
> mapped to GGTT. The pin ioctl provided a way to do that.
>
> Admittedly, this change broke what seems to be a valid use case of
> pinning a buffer in GGTT, even when PPGTT is used (which is the reason
> invoked in the commit message).
>
> Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
> Cc: Tomasz Madajczak <tomasz.madajczak at intel.com>
> Cc: Adam Rutkowski <adam.j.rutkowski at intel.com>
>
> Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
Acked-by: Chris Wilson <chris at chris-wilson.co.uk> # who didn't like his tools
being confiscated
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list