[Intel-gfx] [PATCH] drm/i915: Do not invalidate obj->pages under mempressure

Daniel Vetter daniel at ffwll.ch
Wed Feb 11 05:02:10 PST 2015


On Wed, Feb 11, 2015 at 1:55 AM, Sean V Kelley <seanvk at posteo.de> wrote:
> No corruption seen.  I will add reloc domains to my growing audit list.

One more for the libva audit list:

If you do any ioctl directly, please make sure that you clear the
ioctl structure with memset(&arg, 0, sizeof(arg)); or similar.
Otherwise when we extended them in upstream (which we're just doing,
the kernel 0-fills the new fields automatically) it'll break because
after a recompile there's now garbage in the new fields.

I just spent a while fixing up libdrm ;-)
-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