[Intel-gfx] [PATCH 1/1] drm/i915: Save PM interrupt register offsets in device info

Chris Wilson chris at chris-wilson.co.uk
Tue Oct 24 10:16:22 UTC 2017


Quoting Sagar Arun Kamble (2017-10-24 11:10:50)
> PM interrupt register offsets are constant per platforms and saving those
> in device info is more appropriate than getting those through functions.
> This patch removes functions gen6_pm_iir/imr/ier and saves those offsets
> in device info.
> 
> Suggested-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> Signed-off-by: Sagar Arun Kamble <sagar.a.kamble at intel.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

What direction are we taking on INTEL_INFO() vs i915->info?

INTEL_INFO still offers the bait-n-switch promise of single-gen
compilation...
-Chris


More information about the Intel-gfx mailing list