[Intel-gfx] [PATCH 2/7] drm/i915: Only refcount ppgtt if it actually is one

Daniel Vetter daniel.vetter at ffwll.ch
Thu Jul 31 09:39:01 CEST 2014


On Thu, Jul 31, 2014 at 8:52 AM, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> On Wed, Jul 30, 2014 at 09:41:59PM +0200, Daniel Vetter wrote:
>> This essentially unbreaks non-ppgtt operation where we'd scribble over
>> random memory.
>>
>> While at it give the vm_to_ppgtt function a proper prefix and make it
>> a bit more paranoid.
>
> Wrong direction. If you make ggtt/ppgtt more similar we can loose
> having to write fragile code.

So moving the kref into the address space? I guess that would work
too, but I'm off for my extended w/e now ;-)
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list