drm/i915: rework some irq functions to take intel_gt as argument
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 29 Oct 2021 03:28:08 +0000 (20:28 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Thu, 11 Nov 2021 05:07:03 +0000 (21:07 -0800)
commitfd4d7904f5e38e4ff8e1267a53476cfa4a225708
treec25463751a342c253dea3472a1cb1775363796bd
parent9030e39cd115db3a93a6a5eebd70f5f9c462e4eb
drm/i915: rework some irq functions to take intel_gt as argument

We'll be adding multi-tile support soon; on multi-tile platforms
interrupts are per-tile and every tile has the full set of
interrupt registers.

In this commit we start passing intel_gt instead of dev_priv for the
functions that are related to Xe_HP irq handling. Right now we're still
passing tile 0 everywhere, but in later patches we'll start actually
passing the correct tile.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Co-authored-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211029032817.3747750-2-matthew.d.roper@intel.com
drivers/gpu/drm/i915/i915_irq.c