[PATCH 4/6] drm/xe: Mark VF accessible global registers

Matt Roper matthew.d.roper at intel.com
Wed Jan 17 23:28:57 UTC 2024


On Tue, Jan 16, 2024 at 03:56:15PM +0100, Michal Wajdeczko wrote:
> Only selected registers are available for Virtual Functions.
> 
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko at intel.com>

Reviewed-by: Matt Roper <matthew.d.roper at intel.com>

> ---
>  drivers/gpu/drm/xe/regs/xe_regs.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/xe/regs/xe_regs.h b/drivers/gpu/drm/xe/regs/xe_regs.h
> index 2c214bb9b671..722fb6dbb72e 100644
> --- a/drivers/gpu/drm/xe/regs/xe_regs.h
> +++ b/drivers/gpu/drm/xe/regs/xe_regs.h
> @@ -57,7 +57,7 @@
>  #define   DG1_MSTR_IRQ				REG_BIT(31)
>  #define   DG1_MSTR_TILE(t)			REG_BIT(t)
>  
> -#define GFX_MSTR_IRQ				XE_REG(0x190010)
> +#define GFX_MSTR_IRQ				XE_REG(0x190010, XE_REG_OPTION_VF)
>  #define   MASTER_IRQ				REG_BIT(31)
>  #define   GU_MISC_IRQ				REG_BIT(29)
>  #define   DISPLAY_IRQ				REG_BIT(16)
> -- 
> 2.25.1
> 

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


More information about the Intel-xe mailing list