drm/xe/pmu: Extract xe_pmu_event_update()
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 24 Jan 2025 05:04:08 +0000 (21:04 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Mon, 27 Jan 2025 16:55:03 +0000 (08:55 -0800)
commitef7ce3938621e47c6aa2d517eab6f1d484ad365b
tree629ea562ad1b07c8e6adbace2b860895ce70deb4
parent257a10c18e18cbcec7b9621820c11a5c9ec613bd
drm/xe/pmu: Extract xe_pmu_event_update()

Like other pmu drivers, keep the update separate from the read so it can
be called from other methods (like stop()) without side effects.

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250124050411.2189060-3-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/xe_pmu.c