Re: [PATCH 15/34] drm/i915/gvt: devirtualize ->set_edid and ->set_opregion

Jason Gunthorpe
2022-04-11T16:27:37Z

On Mon, Apr 11, 2022 at 04:13:44PM +0200, Christoph Hellwig wrote:
> Just call the code to setup the opregions and EDID data directly.
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
> drivers/gpu/drm/i915/gvt/gvt.h | 3 +++
> drivers/gpu/drm/i915/gvt/hypercall.h | 3 ---
> drivers/gpu/drm/i915/gvt/kvmgt.c | 6 ++----
> drivers/gpu/drm/i915/gvt/mpt.h | 32 ----------------------------
> drivers/gpu/drm/i915/gvt/vgpu.c | 6 +++---
> 5 files changed, 8 insertions(+), 42 deletions(-)

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

Jason