drm/i915/dg2: Add new LRI reg offsets
authorAkeem G Abodunrin <akeem.g.abodunrin@intel.com>
Thu, 5 Aug 2021 16:36:45 +0000 (09:36 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 25 Aug 2021 04:35:32 +0000 (21:35 -0700)
commitae4b0eacaffe6b69ace47b224909bf757767d40b
tree07a64da3862ae228612e28b6323288cfef206688
parent5e076529e2652244ec20a86d8f99ba634a16c4f4
drm/i915/dg2: Add new LRI reg offsets

New LRI register offsets were introduced for DG2, this patch adds
those extra registers, and create new register table for setting offsets
to compare with HW generated context image - especially for gt_lrc test.
Also updates general purpose register with scratch offset for DG2, in
order to use it for live_lrc_fixed selftest.

Cc: Chris P Wilson <chris.p.wilson@intel.com>
Cc: Prathap Kumar Valsan <prathap.kumar.valsan@intel.com>
Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Caz Yokoyama <caz.yokoyama@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210805163647.801064-8-matthew.d.roper@intel.com
drivers/gpu/drm/i915/gt/intel_lrc.c