]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: add new type to RTP context
authorMatt Atwood <matthew.s.atwood@intel.com>
Wed, 9 Jul 2025 22:16:02 +0000 (15:16 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 10 Jul 2025 22:36:30 +0000 (15:36 -0700)
commite7201d98ca196b72901686d47003a4bde3865364
tree180aadfbe8d5878e3c7342d15b5650dadb028b05
parentf037e0b78e6da6c0f0243b57bb433929a37e6a8f
drm/xe: add new type to RTP context

Prepare the RTP context to be used before GT init. Add the xe device as
a type, put WARN_ONs to protect existing RTP_MATCHes.

v5: split out into separate patch, change definition order
v6: catch missing cases for checking gt init

Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Matt Atwood <matthew.s.atwood@intel.com>
Link: https://lore.kernel.org/r/20250709221605.172516-4-matthew.s.atwood@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/xe_rtp.c
drivers/gpu/drm/xe/xe_rtp.h
drivers/gpu/drm/xe/xe_rtp_types.h