]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe/pmu: Assert max gt
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 24 Jan 2025 05:04:07 +0000 (21:04 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Mon, 27 Jan 2025 16:55:03 +0000 (08:55 -0800)
commit257a10c18e18cbcec7b9621820c11a5c9ec613bd
treea328cfe5667ec22ea9af98f1b3e2deeba4624458
parent011c1e246a1d01c9d4b3b183e469bdb87b1f7bb8
drm/xe/pmu: Assert max gt

XE_PMU_MAX_GT needs to be used due to a circular dependency, but we
should make sure it doesn't go out of sync with XE_PMU_MAX_GT. Add a
compile check for that.

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