]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit92382a275ed7a459a35f1b671b4c193357e74e5f
treeb082d771d7c64d77e60bffc0e6bb319f9c093491
parent61fd94c700848e8e38d9539d3ca997040cef3ce1
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