[PATCH 26/34] drm/i915/gvt: pass a struct intel_vgpu to the vfio read/write helpers

Jason Gunthorpe jgg at nvidia.com
Mon Apr 11 18:38:33 UTC 2022


On Mon, Apr 11, 2022 at 04:13:55PM +0200, Christoph Hellwig wrote:
> Pass the structure we actually care about instead of deriving it from
> the mdev_device in the lower level code.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> ---
>  drivers/gpu/drm/i915/gvt/kvmgt.c | 28 ++++++++++++++--------------
>  1 file changed, 14 insertions(+), 14 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg at nvidia.com>

Jason


More information about the dri-devel mailing list