Chris Wilson 97ea656521 drm/i915/gvt: Parse default state to update reg whitelist
Rather than break existing context objects by incorrectly forcing them
to rogue cache coherency and trying to assert a new mapping, read the
reg whitelist from the default context image.

And use gvt->gt, never &dev_priv->gt.

Fixes: 493f30cd086e ("drm/i915/gvt: parse init context to update cmd accessible reg whitelist")
Acked-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Kevin Tian <kevin.tian@intel.com>
Cc: Wang Zhi <zhi.a.wang@intel.com>
Cc: Yan Zhao <yan.y.zhao@intel.com>
Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
Cc: Zhi Wang <zhi.a.wang@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20210129004933.29755-1-chris@chris-wilson.co.uk
2021-02-22 16:13:19 +08:00
..
2021-01-07 10:46:32 +01:00
2020-12-14 11:07:56 -08:00
2020-08-06 14:27:31 -07:00
2020-12-18 12:38:28 -08:00
2020-12-15 10:21:48 +01:00
2021-02-05 09:25:26 +10:00
2021-01-07 14:11:28 +01:00
2021-01-25 14:35:44 +10:00
2020-12-15 15:46:03 +02:00
2021-01-25 14:35:44 +10:00
2021-01-25 14:35:44 +10:00
2021-01-25 14:35:44 +10:00
2021-01-04 12:59:33 +01:00
2020-09-21 10:45:08 +02:00
2020-08-11 11:58:31 +10:00
2021-01-07 13:40:20 +01:00
2020-08-11 11:58:31 +10:00
2021-01-25 14:35:44 +10:00
2021-01-20 10:28:39 +01:00
2021-01-14 15:47:45 +01:00