Commit 5013ad8d authored by Michal Wajdeczko's avatar Michal Wajdeczko Committed by Rodrigo Vivi

drm/xe: Move Media GuC register definition to regs/

This GuC register can be moved together with the rest of the
GuC register definitions and be named in a similar way.

v2: fix placement

Bspec: 63363
Signed-off-by: default avatarMichal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Matt Atwood <matthew.s.atwood@intel.com> #v1
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
parent 328f3414
...@@ -119,6 +119,8 @@ struct guc_doorbell_info { ...@@ -119,6 +119,8 @@ struct guc_doorbell_info {
#define VF_SW_FLAG(n) XE_REG(0x190240 + (n) * 4) #define VF_SW_FLAG(n) XE_REG(0x190240 + (n) * 4)
#define VF_SW_FLAG_COUNT 4 #define VF_SW_FLAG_COUNT 4
#define MED_GUC_HOST_INTERRUPT XE_REG(0x190304)
#define MED_VF_SW_FLAG(n) XE_REG(0x190310 + (n) * 4) #define MED_VF_SW_FLAG(n) XE_REG(0x190310 + (n) * 4)
#define MED_VF_SW_FLAG_COUNT 4 #define MED_VF_SW_FLAG_COUNT 4
......
...@@ -22,8 +22,6 @@ ...@@ -22,8 +22,6 @@
#include "xe_uc_fw.h" #include "xe_uc_fw.h"
#include "xe_wopcm.h" #include "xe_wopcm.h"
#define MEDIA_GUC_HOST_INTERRUPT XE_REG(0x190304)
static struct xe_gt * static struct xe_gt *
guc_to_gt(struct xe_guc *guc) guc_to_gt(struct xe_guc *guc)
{ {
...@@ -268,7 +266,7 @@ int xe_guc_init(struct xe_guc *guc) ...@@ -268,7 +266,7 @@ int xe_guc_init(struct xe_guc *guc)
guc_init_params(guc); guc_init_params(guc);
if (xe_gt_is_media_type(gt)) if (xe_gt_is_media_type(gt))
guc->notify_reg = MEDIA_GUC_HOST_INTERRUPT; guc->notify_reg = MED_GUC_HOST_INTERRUPT;
else else
guc->notify_reg = GUC_HOST_INTERRUPT; guc->notify_reg = GUC_HOST_INTERRUPT;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment