diff options
author | Michal Wajdeczko <michal.wajdeczko@intel.com> | 2023-05-19 11:19:02 +0200 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-12-19 18:33:53 -0500 |
commit | 915757a6cbf1d77877374627a284cafe9c0de7cd (patch) | |
tree | b47e92c14e28cfde3782494a1d89c8b9069e6388 /drivers | |
parent | 5013ad8dd75fdc035ff068980c91cf2ea821d142 (diff) |
drm/xe: Change GuC interrupt data
Both GUC_HOST_INTERRUPT and MED_GUC_HOST_INTERRUPT can pass
additional payload data to the GuC but this capability is not
used by the firmware yet.
Stop using value mandated by legacy GuC interrupt register and
use default notify value (zero) instead.
Bspec: 49813, 63363
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/xe/xe_guc.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/gpu/drm/xe/xe_guc.c b/drivers/gpu/drm/xe/xe_guc.c index 92d732690252..71f18b32d09b 100644 --- a/drivers/gpu/drm/xe/xe_guc.c +++ b/drivers/gpu/drm/xe/xe_guc.c @@ -598,8 +598,14 @@ int xe_guc_suspend(struct xe_guc *guc) void xe_guc_notify(struct xe_guc *guc) { struct xe_gt *gt = guc_to_gt(guc); + const u32 default_notify_data = 0; - xe_mmio_write32(gt, guc->notify_reg, GUC_SEND_TRIGGER); + /* + * Both GUC_HOST_INTERRUPT and MED_GUC_HOST_INTERRUPT can pass + * additional payload data to the GuC but this capability is not + * used by the firmware yet. Use default value in the meantime. + */ + xe_mmio_write32(gt, guc->notify_reg, default_notify_data); } int xe_guc_auth_huc(struct xe_guc *guc, u32 rsa_addr) |