Skip to content
Commit 1aa3834f authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Alex Williamson
Browse files

drm/i915/gvt: simplify vgpu configuration management



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: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarJason Gunthorpe <jgg@nvidia.com>
Reviewed-by: default avatarZhenyu Wang <zhenyuw@linux.intel.com>
Link: https://lore.kernel.org/r/20220923092652.100656-3-hch@lst.de


[aw: Fold fix from 20220928121110.GA30738@lst.de]
Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
parent 98828955
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment