lkml.org 
[lkml]   [2022]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 13/34] drm/i915/gvt: devirtualize ->{read,write}_gpa
On Mon, Apr 11, 2022 at 04:13:42PM +0200, Christoph Hellwig wrote:
> Just call the VFIO functions directly instead of through the method
> table.
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
> drivers/gpu/drm/i915/gvt/cmd_parser.c | 4 +--
> drivers/gpu/drm/i915/gvt/execlist.c | 12 ++++-----
> drivers/gpu/drm/i915/gvt/gtt.c | 6 ++---
> drivers/gpu/drm/i915/gvt/gvt.h | 37 +++++++++++++++++++++++++++
> drivers/gpu/drm/i915/gvt/hypercall.h | 4 ---
> drivers/gpu/drm/i915/gvt/kvmgt.c | 23 -----------------
> drivers/gpu/drm/i915/gvt/mmio.c | 4 +--
> drivers/gpu/drm/i915/gvt/mpt.h | 32 -----------------------
> drivers/gpu/drm/i915/gvt/opregion.c | 10 +++-----
> drivers/gpu/drm/i915/gvt/scheduler.c | 37 +++++++++++++--------------
> 10 files changed, 72 insertions(+), 97 deletions(-)

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

Jason

\
 
 \ /
  Last update: 2022-04-11 18:16    [W:0.324 / U:0.708 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site