Re: [PATCH 29/34] drm/i915/gvt: merge gvt.c into kvmgvt.c

From: Jason Gunthorpe
Date: Mon Apr 11 2022 - 14:42:27 EST


On Mon, Apr 11, 2022 at 04:13:58PM +0200, Christoph Hellwig wrote:
> The code in both files is deeply interconnected, so merge it and
> keep a bunch of structures and functions static.
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> ---
> drivers/gpu/drm/i915/gvt/Makefile | 1 -
> drivers/gpu/drm/i915/gvt/gvt.c | 291 ------------------------------
> drivers/gpu/drm/i915/gvt/gvt.h | 6 -
> drivers/gpu/drm/i915/gvt/kvmgt.c | 264 ++++++++++++++++++++++++++-
> 4 files changed, 260 insertions(+), 302 deletions(-)
> delete mode 100644 drivers/gpu/drm/i915/gvt/gvt.c

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

Jason