drm/i915/gvt: Remove dangerous unpin of backing storage of bound GPU object
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 19 Oct 2016 10:11:41 +0000 (11:11 +0100)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 20 Oct 2016 09:18:40 +0000 (17:18 +0800)
commiteeacd86efa53e6328c63b79d1999a7d214972278
tree5a45997487ea5556e4bffbf5269bdae7244ba5d3
parentb6d891429d29f4ff7cacbaa5c4bb1511797a4bce
drm/i915/gvt: Remove dangerous unpin of backing storage of bound GPU object

Unpinning the pages prior to the object being release from the GPU may
allow the GPU to read and write into system pages (i.e. use after free
by the hw).

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/execlist.c