Quoting Chris Wilson (2019-07-13 11:00:10) > From: Daniele Ceraolo Spurio <daniele.ceraolospurio@xxxxxxxxx> > > The 16-bit guc irq vector is unchanged across gens, the only thing that > moved is its position (from the upper 16 bits of the PM regs to its own > register). Instead of duplicating all defines and functions to handle > the 2 different positions, we can work on the vector and shift it as > appropriate. While at it, update the handler to work on intel_guc. > > Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@xxxxxxxxx> > Cc: Michal Wajdeczko <michal.wajdeczko@xxxxxxxxx> > Reviewed-by: Michal Wajdeczko <michal.wajdeczko@xxxxxxxxx> > --- > drivers/gpu/drm/i915/i915_irq.c | 24 ++++++++------------- > drivers/gpu/drm/i915/i915_reg.h | 10 --------- > drivers/gpu/drm/i915/intel_guc_reg.h | 32 ++++++++++++++-------------- > 3 files changed, 25 insertions(+), 41 deletions(-) Always nice. Reviewed-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> -Chris _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx