[Intel-gfx] [PATCH 16/16] drm/i915: Support for capturing MMIO register values
Chris Wilson
chris at chris-wilson.co.uk
Fri Apr 22 22:18:38 UTC 2016
On Fri, Apr 22, 2016 at 05:04:05PM +0530, sourab.gupta at intel.com wrote:
> + if (i915.enable_execlists) {
> + for (i = 0; i < num_mmio; i++) {
> + uint32_t cmd;
> +
> + addr = mmio_addr +
> + i * sizeof(dev_priv->perf.mmio_list[i]);
Coincidence! The sizeof the i915_reg_t offset only happens to be the
same size as the dword write for SRM.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list