Re: [Intel-gfx] [PATCH 1/4] drm/i915/opregion: Abstract opregion function

2022-02-07 Thread Jani Nikula
On Sun, 06 Feb 2022, Anshuman Gupta wrote: > Abstract opregion operations like get opregion base, get rvda and > opregion cleanup in form of i915_opregion_ops. > This will be required to converge igfx and dgfx opregion. > This keeps intel_opregion_setup() as static function, and adds > a new funct

[Intel-gfx] [PATCH 1/4] drm/i915/opregion: Abstract opregion function

2022-02-06 Thread Anshuman Gupta
Abstract opregion operations like get opregion base, get rvda and opregion cleanup in form of i915_opregion_ops. This will be required to converge igfx and dgfx opregion. This keeps intel_opregion_setup() as static function, and adds a new function intel_opregion_init(). Cc: Jani Nikula Cc: Rodri