Chris Wilson 62f0a11e23 drm/i915/gvt: Fix relocation of shadow bb
set_gma_to_bb_cmd() is completely bogus - it is (incorrectly) applying
the rules to read a GTT offset from a command as opposed to writing the
GTT offset. And to cap it all set_gma_to_bb_cmd() is called within a list
iterator of the most strange construction.

Fixes: be1da7070aea ("drm/i915/gvt: vGPU command scanner")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
Cc: Zhi Wang <zhi.a.wang@intel.com>
Cc: Yulei Zhang <yulei.zhang@intel.com>
Cc: <drm-intel-fixes@lists.freedesktop.org> # v4.10-rc1+
Tested-by: Tina Zhang <tina.zhang@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2017-01-17 16:54:23 +08:00
..
2016-12-25 17:21:22 +01:00
2016-12-05 17:11:48 +10:00
2016-12-08 10:25:37 +10:00
2016-12-25 17:21:22 +01:00
2016-12-25 17:21:22 +01:00
2016-12-02 17:15:20 +01:00
2016-11-17 11:58:09 +01:00
2016-11-15 23:33:48 +01:00
2016-12-08 10:00:15 +01:00
2016-11-15 23:33:48 +01:00