Re: [Intel-gfx] [PATCH v3 2/6] drm/i915/opregion: Abstract opregion function

2022-04-01 Thread Anshuman Gupta
On 2022-03-16 at 11:25:33 +0200, Jani Nikula wrote: > On Sun, 20 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. > > > > v2: > > -

Re: [Intel-gfx] [PATCH v3 2/6] drm/i915/opregion: Abstract opregion function

2022-03-16 Thread Jani Nikula
On Sun, 20 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. > > v2: > - Keep only function pointer abstraction stuff. [Jani] > - Add alloc

Re: [Intel-gfx] [PATCH v3 2/6] drm/i915/opregion: Abstract opregion function

2022-03-16 Thread Jani Nikula
On Sun, 20 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. > > v2: > - Keep only function pointer abstraction stuff. [Jani] > - Add alloc

[Intel-gfx] [PATCH v3 2/6] drm/i915/opregion: Abstract opregion function

2022-02-20 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. v2: - Keep only function pointer abstraction stuff. [Jani] - Add alloc_rvda error handling. v3: - Added necessary credit to Ma