Re: [PATCH 16/16] drm/i915: Support for capturing MMIO register values

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux