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

Jason Gunthorpe
2021-11-02T16:18:32Z

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@lst.de>
> ---
> 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@nvidia.com>

Jason