drm/xe/rtp: Add match for render reset domain
authorLucas De Marchi <lucas.demarchi@intel.com>
Wed, 1 Mar 2023 09:31:07 +0000 (01:31 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 19 Dec 2023 23:29:46 +0000 (18:29 -0500)
commit043790f3edb554f8db3e841fd17a33b622bc2b31
tree3e542f26c1aeafc693d7add3877cde3b54733961
parent4c128558fe16b77013a251bcc3af8caa77fb7732
drm/xe/rtp: Add match for render reset domain

This allows to create WA/tuning rules that match the first engine that
is either of compute or render class. This matters for platforms that
don't have a render engine and that may have arbitrary compute engines
fused off: some register programming need to be added to one of those
engines.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_hw_engine_types.h
drivers/gpu/drm/xe/xe_rtp.c
drivers/gpu/drm/xe/xe_rtp.h