[PATCH] drm/xe/xe3: Disable null query for anyhit shader
Matt Roper
matthew.d.roper at intel.com
Thu Jun 5 22:59:22 UTC 2025
On Thu, Jun 05, 2025 at 03:38:12PM +0530, Nitin Gote wrote:
> Set DIS_NULL_QUERY bit of RT_CTRL register to disable
> null query for anyhit shader for Xe3 IP.
>
> Reviewed-by: Gustavo Sousa <gustavo.sousa at intel.com>
> Reviewed-by: Tejas Upadhyay <tejas.upadhyay at intel.com>
> Signed-off-by: Nitin Gote <nitin.r.gote at intel.com>
Reviewed-by: Matt Roper <matthew.d.roper at intel.com>
and applied to drm-xe-next. Thanks for the patch.
Matt
> ---
>
> Changes in v2:
> - Use xe3 IP and not ptl in commit title
> as this is not platform specific.(Gustavo Sousa)
> - Update a commit details properly (Matt)
>
> Changes in v3:
> - Use XE_RTP_END_VERSION_UNDEFINED as upper bound. (Matt)
>
> drivers/gpu/drm/xe/xe_tuning.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/drivers/gpu/drm/xe/xe_tuning.c b/drivers/gpu/drm/xe/xe_tuning.c
> index 49ddbda7cdef..828b45b24c23 100644
> --- a/drivers/gpu/drm/xe/xe_tuning.c
> +++ b/drivers/gpu/drm/xe/xe_tuning.c
> @@ -98,6 +98,11 @@ static const struct xe_rtp_entry_sr engine_tunings[] = {
> ENGINE_CLASS(RENDER)),
> 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),
> + FUNC(xe_rtp_match_first_render_or_compute)),
> + XE_RTP_ACTIONS(SET(RT_CTRL, DIS_NULL_QUERY))
> + },
> };
>
> static const struct xe_rtp_entry_sr lrc_tunings[] = {
> --
> 2.25.1
>
--
Matt Roper
Graphics Software Engineer
Linux GPU Platform Enablement
Intel Corporation
More information about the Intel-xe
mailing list