On Wed, May 31, 2017 at 01:33:55PM +0100, Lionel Landwerlin wrote: > @@ -2493,6 +2499,44 @@ struct drm_i915_private { > const struct i915_oa_format *oa_formats; > int n_builtin_sets; > } oa; > + > + struct { > + /** > + * Buffer containing change reports of the SSEU > + * configuration. > + */ > + struct i915_vma *vma; > + u8 *vaddr; Make me void *. Kernel uses gcc so arthimetic on void * is valid, and this avoid lots of casts around the place. -Chris -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx