]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: devirtualize ->set_edid and ->set_opregion
authorChristoph Hellwig <hch@lst.de>
Mon, 11 Apr 2022 14:13:44 +0000 (16:13 +0200)
committerZhi Wang <zhi.a.wang@intel.com>
Thu, 21 Apr 2022 11:36:56 +0000 (07:36 -0400)
commita79ca05defaba4ed779a4d6b2db4d1b2ae0c89a6
treea2e28353f61421024df114b9baa27a5c8b23311c
parentb2bb93c29d6207efa7f9447eedf0bd14ad3b5eda
drm/i915/gvt: devirtualize ->set_edid and ->set_opregion

Just call the code to setup the opregions and EDID data directly.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Zhi Wang <zhi.a.wang@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20220411141403.86980-16-hch@lst.de
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Zhi Wang <zhi.a.wang@intel.com>
drivers/gpu/drm/i915/gvt/gvt.h
drivers/gpu/drm/i915/gvt/hypercall.h
drivers/gpu/drm/i915/gvt/kvmgt.c
drivers/gpu/drm/i915/gvt/mpt.h
drivers/gpu/drm/i915/gvt/vgpu.c