On Thu, Mar 16, 2017 at 11:50:11AM +0530, sourab.gu...@intel.com wrote:
> +static int copy_mmio_list(struct drm_i915_private *dev_priv,
> + void __user *mmio)
> +{
> + void __user *mmio_list = ((u8 __user *)mmio + 4);
> + u32 num_mmio;
> + int ret;
> +
> +
From: Sourab Gupta
This patch adds support for capturing MMIO register values through
i915 perf interface.
The userspace can request upto 8 MMIO register values to be dumped.
The addresses of these registers can be passed through the corresponding
property 'value' field while opening the stream.