]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/pmu: Use event_to_pmu()
authorLucas De Marchi <lucas.demarchi@intel.com>
Mon, 9 Sep 2024 20:43:40 +0000 (13:43 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Wed, 11 Sep 2024 00:45:59 +0000 (17:45 -0700)
commit2c3631fbd8834e64a5e1c903256619886d0b6b35
tree0c9adbd94ac2614241cb141dfbbaf5efc112aaa0
parent10a7210d59fa444aae40b85dda7858fd1f7b9f71
drm/i915/pmu: Use event_to_pmu()

i915 pointer is not needed in this function and all the others simply
calculate the i915_pmu container based on the event->pmu. Follow the
same logic as in other functions.

Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240909204340.3646458-2-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/i915/i915_pmu.c