diff options
author | Christoph Hellwig <hch@lst.de> | 2022-09-23 11:26:40 +0200 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2022-10-04 12:06:58 -0600 |
commit | 1aa3834f510c9d9206ce4d40aff4903b0c016761 (patch) | |
tree | 8f4f31e88a61e0d35461b61cf275e2b9fa9a07a1 /samples | |
parent | 98828955971363e838149105c268b1fad905f15b (diff) | |
download | linux-1aa3834f510c9d9206ce4d40aff4903b0c016761.tar.gz |
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: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Zhenyu 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: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions