Re: [Intel-gfx] [PATCH] drm/i915/gvt: Fix relocation of shadow bb

2017-01-08 Thread Zhenyu Wang
On 2017.01.06 19:58:16 +, Chris Wilson wrote: > 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 str

[Intel-gfx] [PATCH] drm/i915/gvt: Fix relocation of shadow bb

2017-01-06 Thread Chris Wilson
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: vG