aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2022-09-23 11:26:40 +0200
committerAlex Williamson <[email protected]>2022-10-04 12:06:58 -0600
commit1aa3834f510c9d9206ce4d40aff4903b0c016761 (patch)
tree8f4f31e88a61e0d35461b61cf275e2b9fa9a07a1 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent98828955971363e838149105c268b1fad905f15b (diff)
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 <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Reviewed-by: Zhenyu Wang <[email protected]> Link: https://lore.kernel.org/r/[email protected] [aw: Fold fix from [email protected]] Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions