diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2023-02-24 16:15:43 -0800 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-12-19 18:29:21 -0500 |
commit | c584148145f73819a5ed968dc64ae10060fcd2c5 (patch) | |
tree | 0988c28fae6ee73e63ee68bb3edf7723f6d60c15 /drivers/gpu/drm/xe/xe_wa.c | |
parent | 63955b3bfa0b69fd86b9e827e0f14f3fa4508826 (diff) | |
download | lwn-c584148145f73819a5ed968dc64ae10060fcd2c5.tar.gz lwn-c584148145f73819a5ed968dc64ae10060fcd2c5.zip |
drm/xe: Remove dependency on i915_reg.h
Copy the macros used by xe in i915_reg.h to regs/xe_regs.h. A minimal
cleanup is done while copying so they adhere minimally to the coding
style. Further reordering and cleaning is left for later.
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_wa.c')
-rw-r--r-- | drivers/gpu/drm/xe/xe_wa.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/xe/xe_wa.c b/drivers/gpu/drm/xe/xe_wa.c index 155cfd1dcc50..df72b15dfeb0 100644 --- a/drivers/gpu/drm/xe/xe_wa.c +++ b/drivers/gpu/drm/xe/xe_wa.c @@ -9,6 +9,7 @@ #include "regs/xe_engine_regs.h" #include "regs/xe_gt_regs.h" +#include "regs/xe_regs.h" #include "xe_device_types.h" #include "xe_force_wake.h" #include "xe_gt.h" @@ -18,8 +19,6 @@ #include "xe_rtp.h" #include "xe_step.h" -#include "i915_reg.h" - /** * DOC: Hardware workarounds * |