[Intel-gfx] [PATCH 2/3] i915/perf: Move OA formats to single array

2021-02-08 Thread Umesh Nerlige Ramappa
Variations in OA formats in the different gens has led to creation of several sparse arrays to store the formats. Move oa formats into a single array and format_mask to check for platform specific oa formats. Signed-off-by: Umesh Nerlige Ramappa Reviewed-by: Lionel Landwerlin --- drivers/gpu/d

[Intel-gfx] [PATCH 2/3] i915/perf: Move OA formats to single array

2021-02-01 Thread Umesh Nerlige Ramappa
Variations in OA formats in the different gens has led to creation of several sparse arrays to store the formats. Move oa formats into a single array and use format_mask to check for platform specific oa formats. Signed-off-by: Umesh Nerlige Ramappa --- drivers/gpu/drm/i915/i915_perf.c | 19 ++-