[Intel-gfx] [PATCH v3 9/9] drm/i915/perf: bump i915-perf revision

Lionel Landwerlin lionel.g.landwerlin at intel.com
Tue Feb 26 14:29:11 UTC 2019


This makes the following opening parameters available to
applications :
   - DRM_I915_PERF_PROP_POLL_OA_DELAY
   - DRM_I915_PERF_PROP_OA_ENABLE_INTERRUPT

As well as this new ioctl on the i915-perf file descriptor :
   - I915_PERF_IOCTL_FLUSH_DATA

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
---
 drivers/gpu/drm/i915/i915_drv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index 1ce58036dbb3..654a6c9c2e56 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -448,7 +448,7 @@ static int i915_getparam_ioctl(struct drm_device *dev, void *data,
 		value = INTEL_INFO(dev_priv)->has_coherent_ggtt;
 		break;
 	case I915_PARAM_PERF_REVISION:
-		value = 1;
+		value = 2;
 		break;
 	default:
 		DRM_DEBUG("Unknown parameter %d\n", param->param);
-- 
2.20.1



More information about the Intel-gfx mailing list