Re: [PATCH 17/29] drm/i915/gvt: devirtualize ->inject_msi

From: Jason Gunthorpe
Date: Tue Nov 02 2021 - 12:52:40 EST


On Tue, Nov 02, 2021 at 08:05:49AM +0100, Christoph Hellwig wrote:
> Just open code the MSI injection in a single place instead of going
> through the method table.
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> ---
> drivers/gpu/drm/i915/gvt/hypercall.h | 1 -
> drivers/gpu/drm/i915/gvt/interrupt.c | 38 +++++++++++++++++++++++++++-
> drivers/gpu/drm/i915/gvt/kvmgt.c | 24 ------------------
> drivers/gpu/drm/i915/gvt/mpt.h | 37 ---------------------------
> 4 files changed, 37 insertions(+), 63 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

Jason