drm/i915/gvt: Update save/restore list to compatible KBL platform.
authorXu Han <xu.han@intel.com>
Wed, 29 Mar 2017 02:13:58 +0000 (10:13 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Wed, 29 Mar 2017 07:28:51 +0000 (15:28 +0800)
Add some KBL specially registers to save/restore list.

Signed-off-by: Xu Han <xu.han@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/render.c

index 95ee091ce085de3bb2b2b034367213f9eeac6f2c..f0b3de352aae3f13f91222942a4d535f657549ed 100644 (file)
@@ -126,6 +126,18 @@ static struct render_mmio gen9_render_mmio_list[] = {
        {VCS2, _MMIO(0x1c028), 0xffff, false},
 
        {VECS, _MMIO(0x1a028), 0xffff, false},
+
+       {RCS, _MMIO(0x7304), 0xffff, true},
+       {RCS, _MMIO(0x2248), 0x0, false},
+       {RCS, _MMIO(0x940c), 0x0, false},
+       {RCS, _MMIO(0x4ab8), 0x0, false},
+
+       {RCS, _MMIO(0x4ab0), 0x0, false},
+       {RCS, _MMIO(0x20d4), 0x0, false},
+
+       {RCS, _MMIO(0xb004), 0x0, false},
+       {RCS, _MMIO(0x20a0), 0x0, false},
+       {RCS, _MMIO(0x20e4), 0xffff, false},
 };
 
 static u32 gen9_render_mocs[I915_NUM_ENGINES][64];