]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/perf: introduce a versioning of the i915-perf uapi
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 14 Oct 2019 20:14:01 +0000 (21:14 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 14 Oct 2019 20:30:25 +0000 (21:30 +0100)
commit6a8fa628ce387e17690dec4c28feb7e9a73497a0
treecd532622647b62670e01caf216f3fecb84304ae8
parent4adbb896b7f333fd10f266da48adbc12b03e4a20
drm/i915/perf: introduce a versioning of the i915-perf uapi

Reporting this version will help application figure out what level of
the support the running kernel provides.

v2: Add i915_perf_ioctl_version() (Chris)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20191014201404.22468-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_getparam.c
drivers/gpu/drm/i915/i915_perf.c
drivers/gpu/drm/i915/i915_perf.h
include/uapi/drm/i915_drm.h