[PATCH 0/4] drm/i915/perf: Add OA buffer size uAPI parameter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux