On Fri, Apr 22, 2016 at 05:04:05PM +0530, sourab.gupta@xxxxxxxxx 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 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx