diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-11-09 10:39:05 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-15 02:02:50 (GMT) |
commit | 868a747c77cbf1d5e183dbceb912baa4db2be913 (patch) | |
tree | 4d5b2ad18422e288f46835aadc209951bfffedaf /samples | |
parent | f72b751f434062deaf16a1aca2c5f53ddf71ed8f (diff) | |
download | linux-868a747c77cbf1d5e183dbceb912baa4db2be913.tar.xz |
drm/i915/gvt: Disable access to stolen memory as a guest
commit ddd09373628adcbdc3f7b9098d22328834f8d772 upstream.
Explicitly disable stolen memory when running as a guest in a virtual
machine, since the memory is not mediated between clients and reserved
entirely for the host. The actual size should be reported as zero, but
like every other quirk we want to tell the user what is happening.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99028
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161109103905.17860-1-chris@chris-wilson.co.uk
Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
(cherry picked from commit 04a68a35ce6d7b54749989f943993020f48fed62)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions