drm/xe: Mark VF accessible global registers
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Thu, 14 Mar 2024 17:31:28 +0000 (18:31 +0100)
committerMichał Winiarski <michal.winiarski@intel.com>
Fri, 15 Mar 2024 21:20:14 +0000 (22:20 +0100)
Only selected registers are available for Virtual Functions.

Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240314173130.1177-5-michal.wajdeczko@intel.com
Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
drivers/gpu/drm/xe/regs/xe_regs.h

index 2c214bb..722fb6d 100644 (file)
@@ -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)