All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
To: intel-gfx@lists.freedesktop.org
Subject: [PATCH v3 9/9] drm/i915/perf: bump i915-perf revision
Date: Tue, 26 Feb 2019 14:29:11 +0000	[thread overview]
Message-ID: <20190226142911.9789-10-lionel.g.landwerlin@intel.com> (raw)
In-Reply-To: <20190226142911.9789-1-lionel.g.landwerlin@intel.com>

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@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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  parent reply	other threads:[~2019-02-26 14:29 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-26 14:29 [PATCH v3 0/9] drm/i915/perf: add OA interrupt support Lionel Landwerlin
2019-02-26 14:29 ` [PATCH v3 1/9] drm/i915/perf: rework aging tail workaround Lionel Landwerlin
2019-02-26 14:29 ` [PATCH v3 2/9] drm/i915/perf: move pollin setup to non hw specific code Lionel Landwerlin
2019-02-26 14:29 ` [PATCH v3 3/9] drm/i915/perf: only append status when data is available Lionel Landwerlin
2019-02-26 14:29 ` [PATCH v3 4/9] drm/i915/perf: introduce a versioning of the i915-perf uapi Lionel Landwerlin
2019-02-26 14:29 ` [PATCH v3 5/9] drm/i915/perf: add new open param to configure polling of OA buffer Lionel Landwerlin
2019-02-26 14:29 ` [PATCH v3 6/9] drm/i915: handle interrupts from the OA unit Lionel Landwerlin
2019-02-26 14:29 ` [PATCH v3 7/9] drm/i915/perf: add interrupt enabling parameter Lionel Landwerlin
2019-02-26 14:29 ` [PATCH v3 8/9] drm/i915/perf: add flushing ioctl Lionel Landwerlin
2019-02-26 14:29 ` Lionel Landwerlin [this message]
2019-02-26 14:55 ` ✗ Fi.CI.CHECKPATCH: warning for drm/i915/perf: add OA interrupt support (rev4) Patchwork
2019-02-26 14:59 ` ✗ Fi.CI.SPARSE: " Patchwork
2019-02-26 15:20 ` ✓ Fi.CI.BAT: success " Patchwork
2019-02-26 18:04 ` ✓ Fi.CI.IGT: " Patchwork
2019-03-25 10:34 ` [PATCH v3 0/9] drm/i915/perf: add OA interrupt support Lionel Landwerlin
2019-04-02 11:49   ` Joonas Lahtinen
2019-04-02 16:36     ` Lionel Landwerlin
2019-04-26  8:20       ` Lionel Landwerlin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190226142911.9789-10-lionel.g.landwerlin@intel.com \
    --to=lionel.g.landwerlin@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.