[PATCH v2 4/5] drm/xe: Fix alignment in GuC exec queue state defines

Ghimiray, Himal Prasad himal.prasad.ghimiray at intel.com
Thu Apr 25 07:07:08 UTC 2024



> -----Original Message-----
> From: Intel-xe <intel-xe-bounces at lists.freedesktop.org> On Behalf Of
> Matthew Brost
> Sent: 25 April 2024 11:25
> To: intel-xe at lists.freedesktop.org
> Cc: Brost, Matthew <matthew.brost at intel.com>
> Subject: [PATCH v2 4/5] drm/xe: Fix alignment in GuC exec queue state
> defines
> 
> Normalize the aligment for readability.

Typo 
s/alignment/alignment

Can be fixed for EXEC_QUEUE_STATE_WEDGED too.

With above addressed.
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray at intel.com>

> 
> Signed-off-by: Matthew Brost <matthew.brost at intel.com>
> ---
>  drivers/gpu/drm/xe/xe_guc_submit.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c
> b/drivers/gpu/drm/xe/xe_guc_submit.c
> index 19f92a107342..28c1b9b46251 100644
> --- a/drivers/gpu/drm/xe/xe_guc_submit.c
> +++ b/drivers/gpu/drm/xe/xe_guc_submit.c
> @@ -53,11 +53,11 @@ exec_queue_to_guc(struct xe_exec_queue *q)
>   */
>  #define EXEC_QUEUE_STATE_REGISTERED		(1 << 0)
>  #define EXEC_QUEUE_STATE_ENABLED		(1 << 1)
> -#define EXEC_QUEUE_STATE_PENDING_ENABLE	(1 << 2)
> +#define EXEC_QUEUE_STATE_PENDING_ENABLE		(1 << 2)
>  #define EXEC_QUEUE_STATE_PENDING_DISABLE	(1 << 3)
>  #define EXEC_QUEUE_STATE_DESTROYED		(1 << 4)
>  #define EXEC_QUEUE_STATE_SUSPENDED		(1 << 5)
> -#define EXEC_QUEUE_STATE_RESET		(1 << 6)
> +#define EXEC_QUEUE_STATE_RESET			(1 << 6)
>  #define EXEC_QUEUE_STATE_KILLED			(1 << 7)
> 
>  static bool exec_queue_registered(struct xe_exec_queue *q)
> --
> 2.34.1



More information about the Intel-xe mailing list