]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Add GT_VER() to check version specific to gt type
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 17 Oct 2025 02:26:23 +0000 (19:26 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 17 Oct 2025 22:32:37 +0000 (15:32 -0700)
commit4ad05339c5ec3c85d0b1fc124d22791b57d2a517
tree655ad999e91f92d81327dc2808ca503684b86788
parent26f368949e4ec5767ca2479fdba4d0deb5429958
drm/xe: Add GT_VER() to check version specific to gt type

In some situations we will need to check the version of the specific gt
being passed as argument, not if the device has a certain graphics/media
version.

This is extracted from a patch by Balasubramani Vivekanandan that
may need some rework, but this helper is still useful for other enabling
parts of Xe3p.

Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://lore.kernel.org/r/20251016-xe3p-v3-4-3dd173a3097a@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/xe_gt.h