[PATCH 1/3] drm/xe: Fix register definition order in xe_regs.h

Ghimiray, Himal Prasad himal.prasad.ghimiray at intel.com
Thu Jul 4 03:17:21 UTC 2024



On 03-07-2024 00:07, Michal Wajdeczko wrote:
> Swap XEHP_CLOCK_GATE_DIS(0x101014) with GU_DEBUG(x101018).
> 
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko at intel.com>
> ---
>   drivers/gpu/drm/xe/regs/xe_regs.h | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/gpu/drm/xe/regs/xe_regs.h b/drivers/gpu/drm/xe/regs/xe_regs.h
> index 23e33ec84902..23ecba38ed41 100644
> --- a/drivers/gpu/drm/xe/regs/xe_regs.h
> +++ b/drivers/gpu/drm/xe/regs/xe_regs.h
> @@ -24,12 +24,12 @@
>   #define   LMEM_INIT				REG_BIT(7)
>   #define   DRIVERFLR				REG_BIT(31)
>   
> -#define GU_DEBUG				XE_REG(0x101018)
> -#define   DRIVERFLR_STATUS			REG_BIT(31)
> -
>   #define XEHP_CLOCK_GATE_DIS			XE_REG(0x101014)
>   #define   SGSI_SIDECLK_DIS			REG_BIT(17)
>   
> +#define GU_DEBUG				XE_REG(0x101018)
> +#define   DRIVERFLR_STATUS			REG_BIT(31)

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

> +
>   #define XEHP_MTCFG_ADDR				XE_REG(0x101800)
>   #define   TILE_COUNT				REG_GENMASK(15, 8)
>   


More information about the Intel-xe mailing list