drm/xe/tuning: Apply "Disable NULL query for Anyhit Shader" to Xe2

Tapani Pälli tapani.palli at intel.com
Tue Aug 19 08:20:29 UTC 2025


I did round of testing on BMG with this change applied on a drm-tip kernel;

Acked-by: Tapani Pälli <tapani.palli at intel.com>

On 19.8.2025 9.11, Nitin Gote wrote:
> Extend the "Disable NULL query for Anyhit Shader" tuning to Xe2
> (graphics version 2000+) platforms, in addition to Xe3.
>
> This sets the DIS_NULL_QUERY bit in RT_CTRL to disable null query
> for Anyhit shaders on both Xe2 and Xe3.
>
> Signed-off-by: Nitin Gote <nitin.r.gote at intel.com>
> ---
>   drivers/gpu/drm/xe/xe_tuning.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_tuning.c b/drivers/gpu/drm/xe/xe_tuning.c
> index 828b45b24c23..a524170a04d0 100644
> --- a/drivers/gpu/drm/xe/xe_tuning.c
> +++ b/drivers/gpu/drm/xe/xe_tuning.c
> @@ -99,7 +99,7 @@ static const struct xe_rtp_entry_sr engine_tunings[] = {
>   	  XE_RTP_ACTIONS(SET(SAMPLER_MODE, INDIRECT_STATE_BASE_ADDR_OVERRIDE))
>   	},
>   	{ XE_RTP_NAME("Tuning: Disable NULL query for Anyhit Shader"),
> -	  XE_RTP_RULES(GRAPHICS_VERSION_RANGE(3000, XE_RTP_END_VERSION_UNDEFINED),
> +	  XE_RTP_RULES(GRAPHICS_VERSION_RANGE(2000, XE_RTP_END_VERSION_UNDEFINED),
>   		       FUNC(xe_rtp_match_first_render_or_compute)),
>   	  XE_RTP_ACTIONS(SET(RT_CTRL, DIS_NULL_QUERY))
>   	},


More information about the Intel-xe mailing list