Quoting Lionel Landwerlin (2018-10-23 13:07:07)
> The way our hardware is designed doesn't seem to let us use the
> MI_RECORD_PERF_COUNT command without setting up a circular buffer.
> 
> In the case where the user didn't request OA reports to be available
> through the i915 perf stream, we can set the OA buffer to the minimum
> size to avoid consuming memory which won't be used by the driver.
> 
> v2: Simplify oa buffer size exponent selection (Chris)
>     Reuse vma size field (Lionel)
> 
> v3: Restrict size opening parameter to values supported by HW (Chris)
> 
> v4: Drop out of date comment (Matt)
>     Add debug message when buffer size is rejected (Matt)
> 
> Signed-off-by: Lionel Landwerlin <[email protected]>
> Reviewed-by: Matthew Auld <[email protected]>

For anything that alters the uAPI, please provide a link to the
userspace counterpart.

Regards, Joonas
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to