Re: [PATCH 23/29] drm/i915/gvt: remove struct intel_gvt_mpt

From: Jason Gunthorpe
Date: Tue Nov 02 2021 - 12:54:17 EST


On Tue, Nov 02, 2021 at 08:05:55AM +0100, Christoph Hellwig wrote:
> Just call the initializion and exit functions directly and remove
> this abstraction entirely.
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> ---
> drivers/gpu/drm/i915/gvt/gvt.c | 11 ++++-
> drivers/gpu/drm/i915/gvt/gvt.h | 12 ++---
> drivers/gpu/drm/i915/gvt/hypercall.h | 50 -------------------
> drivers/gpu/drm/i915/gvt/kvmgt.c | 39 ++-------------
> drivers/gpu/drm/i915/gvt/mpt.h | 74 ----------------------------
> 5 files changed, 17 insertions(+), 169 deletions(-)
> delete mode 100644 drivers/gpu/drm/i915/gvt/hypercall.h
> delete mode 100644 drivers/gpu/drm/i915/gvt/mpt.h

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

Jason