On Wed, Feb 11, 2015 at 08:44:47AM +0100, Daniel Vetter wrote: > Forgotten ever since, but luckily we're at least good at memset. > > Testecase: igt/gem_ctx_create/invalid-pad > Testecase: igt/gem_ctx_bad_destroy/invalid-pad > Signed-off-by: Daniel Vetter <daniel.vetter@xxxxxxxxx> I wonder if we used mbz instead of pad, we would have a slightly more obvious reminder to zero the fields. Looks like pad is only cleared fortuituosly in current userspace though. -Chris -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx