[Intel-gfx] [PATCH v15 14/14] drm/i915/perf: notify sseu configuration changes
Chris Wilson
chris at chris-wilson.co.uk
Thu Jun 1 11:50:02 UTC 2017
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
More information about the Intel-gfx
mailing list