RE: [PATCH 02/15] drm/i915/gvt: simplify vgpu configuration management

Tian, Kevin
2022-07-07T02:18:55Z

> From: Christoph Hellwig
> Sent: Wednesday, July 6, 2022 3:42 PM
>
> Instead of copying the information from the vgpu_types arrays into each
> intel_vgpu_type structure, just reference this constant information
> with a pointer to the already existing data structure, and pass it into
> the low-level VGPU creation helpers intead of copying the data into yet
> anothe params data structure.
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
> Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>