drm/i915/gvt: Use the returned VMA to provide the virtual address
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 19 Oct 2016 10:11:40 +0000 (11:11 +0100)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 20 Oct 2016 09:18:40 +0000 (17:18 +0800)
commitb6d891429d29f4ff7cacbaa5c4bb1511797a4bce
treeb082d771d7c64d77e60bffc0e6bb319f9c093491
parent894cf7d156346986946cc573dc8c251804dc8321
drm/i915/gvt: Use the returned VMA to provide the virtual address

The purpose of returning the just-pinned VMA is so that we can use the
information within, like its address. Also it should be tracked and used
as the cookie to unpin...

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