[Intel-gfx] [PATCH 0/4] drm/i915/perf: Add OA buffer size uAPI parameter
Lionel Landwerlin
lionel.g.landwerlin at intel.com
Wed Oct 10 16:55:29 UTC 2018
Hi all,
This series cleans up a couple of things (Matthew actually reviewed a
couple patches internally) and adds support for a new opening
parameter for the i915 perf stream, allowing the user to specify the
size of the global OA buffer it wants to use.
Initially I wrote a first series that was trying to guess what the
user wanted and selected the smallest buffer size, but in the end an
actual size parameter is better, giving userspace more flexibility and
removing guesses from i915.
Cheers,
Lionel Landwerlin (4):
drm/i915/perf: remove redundant oa buffer initialization
drm/i915/perf: pass stream to vfuncs when possible
drm/i915/perf: do not warn when OA buffer is already allocated
drm/i915/perf: add a parameter to control the size of OA buffer
drivers/gpu/drm/i915/i915_drv.h | 26 +----
drivers/gpu/drm/i915/i915_perf.c | 168 +++++++++++++++++++++----------
drivers/gpu/drm/i915/i915_reg.h | 2 +
include/uapi/drm/i915_drm.h | 8 ++
4 files changed, 129 insertions(+), 75 deletions(-)
--
2.19.1
More information about the Intel-gfx
mailing list