Re: [Intel-gfx] [PATCH 3/3] drm/i915/pmu: rearrange hrtimer pointer chasing

2023-10-24 Thread Andi Shyti
Hi Jani, On Mon, Oct 23, 2023 at 06:02:56PM +0300, Jani Nikula wrote: > Do the logical step of first getting from struct hrtimer to struct > i915_pmu, and then from struct i915_pmu to struct drm_i915_private, > instead of hrtimer->i915->pmu. > > Signed-off-by: Jani Nikula Reviewed-by: Andi Shyt

[Intel-gfx] [PATCH 3/3] drm/i915/pmu: rearrange hrtimer pointer chasing

2023-10-23 Thread Jani Nikula
Do the logical step of first getting from struct hrtimer to struct i915_pmu, and then from struct i915_pmu to struct drm_i915_private, instead of hrtimer->i915->pmu. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/i915_pmu.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --