RE: [PATCH 02/10] drm/xe/rtp: Add "always true" match function

Lin, Shuicheng
2026-04-24T17:17:56Z

On Thu, Apr 23, 2026 3:49 PM Matt Roper wrote:
> All RTP table entries are required to have at least one rule. In cases where an
> entry should apply unconditionally across all platforms we've been using a
> graphics version range of 12.00 - forever since this covers all platforms
> supported by the driver. However if the primary GT is disabled via configfs
> (not actually possible today, but probably possible in the future) or if we have
> a future platform that lacks a primary GT and only supports media/display, this
> rule would cause important programming to fail to apply on the media GT.
>
> Add a simple match function that just always returns true unconditionally.
> This solves the worries above while also being more immediately human-
> readable.
>
> Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
> ---
> drivers/gpu/drm/xe/xe_hw_engine.c | 2 +-
> drivers/gpu/drm/xe/xe_rtp.c | 7 +++++++
> drivers/gpu/drm/xe/xe_rtp.h | 12 ++++++++++++
> 3 files changed, 20 insertions(+), 1 deletion(-)

LGTM.
Reviewed-by: Shuicheng Lin <shuicheng.lin@intel.com>