]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/kvmgt: Fix compilation error
authorMichał Winiarski <michal.winiarski@intel.com>
Thu, 12 Jul 2018 15:53:30 +0000 (17:53 +0200)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 23 Jul 2018 22:52:02 +0000 (15:52 -0700)
commit4eaf317a60fbea0555b936035002ca9bd9b9105d
tree1a453071824973409c5dab8e4c86031325bdbeef
parentc74a7469f97c0f40b46e82ee979f9fb1bb6e847c
drm/i915/kvmgt: Fix compilation error

gvt_pin_guest_page extracted some of the gvt_dma_map_page functionality:
commit 79e542f5af79 ("drm/i915/kvmgt: Support setting dma map for huge pages")

And yet, part of it was reintroduced in:
commit 39b4cbadb9a9 ("drm/i915/kvmgt: Check the pfn got from vfio_pin_pages")

Causing kvmgt part to no longer build. Let's remove it.

Reported-by: Tomasz Lis <tomasz.lis@intel.com>
Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
Cc: Changbin Du <changbin.du@intel.com>
Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
Acked-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180712155330.32055-1-michal.winiarski@intel.com
drivers/gpu/drm/i915/gvt/kvmgt.c