]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: combine access to consecutive guest context pages
authorYan Zhao <yan.y.zhao@intel.com>
Wed, 15 Apr 2020 03:58:27 +0000 (23:58 -0400)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Wed, 15 Apr 2020 06:02:55 +0000 (14:02 +0800)
commit41187160c0a810bd53c724e256fac747edab3a37
tree40b2d8b4f0cbb6d0a8f3ea0d388ad53665e3b30a
parentdff29158abbf986c0d05746fa5f84914485e5761
drm/i915/gvt: combine access to consecutive guest context pages

IOVA(GPA)s of context pages are checked and if they are consecutive,
read/write them together in one intel_gvt_hypervisor_read_gpa() /
intel_gvt_hypervisor_write_gpa().

Signed-off-by: Yan Zhao <yan.y.zhao@intel.com>
Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20200415035827.26476-1-yan.y.zhao@intel.com
drivers/gpu/drm/i915/gvt/scheduler.c