[Intel-xe] [PATCH 2/3] fixup! drm/xe/rtp: Improve magic macros for RTP tables

Matt Roper matthew.d.roper at intel.com
Thu May 18 22:39:37 UTC 2023


On Thu, May 18, 2023 at 02:24:45PM -0700, Lucas De Marchi wrote:
> Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
> ---
>  drivers/gpu/drm/xe/xe_rtp.h | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/drivers/gpu/drm/xe/xe_rtp.h b/drivers/gpu/drm/xe/xe_rtp.h
> index 8bc946694bfc..29fb4eaaba44 100644
> --- a/drivers/gpu/drm/xe/xe_rtp.h
> +++ b/drivers/gpu/drm/xe/xe_rtp.h
> @@ -262,7 +262,6 @@ struct xe_reg_sr;
>  
>  /**
>   * XE_RTP_ENTRY_FLAG - Helper to add multiple flags to a struct xe_rtp_entry
> - * @f1_: Last part of a ``XE_RTP_ENTRY_FLAG_*``
>   * @...: Additional flags, defined like @f1_

"...defined like @f1_" no longer makes sense either.  Same for the other
two below.


Matt

>   *
>   * Helper to automatically add a ``XE_RTP_ENTRY_FLAG_`` prefix to @f1_ so it can
> @@ -285,7 +284,6 @@ struct xe_reg_sr;
>  
>  /**
>   * XE_RTP_ACTION_FLAG - Helper to add multiple flags to a struct xe_rtp_action
> - * @f1_: Last part of a ``XE_RTP_ENTRY_*``
>   * @...: Additional flags, defined like @f1_
>   *
>   * Helper to automatically add a ``XE_RTP_ACTION_FLAG_`` prefix to @f1_ so it
> @@ -308,7 +306,6 @@ struct xe_reg_sr;
>  
>  /**
>   * XE_RTP_RULES - Helper to set multiple rules to a struct xe_rtp_entry entry
> - * @r1: Last part of XE_RTP_MATCH_*
>   * @...: Additional rules, defined like @r1
>   *
>   * At least one rule is needed and up to 4 are supported. Multiple rules are
> -- 
> 2.40.1
> 

-- 
Matt Roper
Graphics Software Engineer
Linux GPU Platform Enablement
Intel Corporation


More information about the Intel-xe mailing list