drm/i915/gvt: Use common mapping routines for indirect_ctx object
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 19 Oct 2016 10:11:45 +0000 (11:11 +0100)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 20 Oct 2016 09:31:34 +0000 (17:31 +0800)
commitbcd0aeded478f1ed6dfbbeafc3e2581c4021a99c
tree2afdf2594931fc087f4af36a16663e516cdd11f2
parent66bbc3b2b16b4d15de0bd737147538bcf4d355b6
drm/i915/gvt: Use common mapping routines for indirect_ctx object

We have the ability to map an object, so use it rather than opencode it
badly.

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