diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2023-02-25 03:15:39 +0300 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-12-20 02:29:20 +0300 |
commit | b79e8fd954c48fba74b2c3807f6093ce40e9ab7f (patch) | |
tree | e6ab24314be585d2b0f0a1087ea06ef92d900e05 /drivers/gpu/drm/xe/xe_reg_sr.c | |
parent | ea9f879d037ff4d7851f35ba91dc774dd9033308 (diff) | |
download | linux-b79e8fd954c48fba74b2c3807f6093ce40e9ab7f.tar.xz |
drm/xe: Remove dependency on intel_engine_regs.h
Create regs/xe_engine_regs.h file with all the registers and bit
definitions used by the xe driver. Eventually the registers may be
defined in a different way and since xe doesn't supported below gen12,
the number of registers touched is much smaller, so create a new header.
The definitions themselves are direct copy from the
gt/intel_engine_regs.h file, just sorting the registers by address.
Cleaning those up and adhering to a common coding style 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_reg_sr.c')
-rw-r--r-- | drivers/gpu/drm/xe/xe_reg_sr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/xe/xe_reg_sr.c b/drivers/gpu/drm/xe/xe_reg_sr.c index 4d12f8a3043f..359de4724bb5 100644 --- a/drivers/gpu/drm/xe/xe_reg_sr.c +++ b/drivers/gpu/drm/xe/xe_reg_sr.c @@ -12,6 +12,7 @@ #include <drm/drm_managed.h> #include <drm/drm_print.h> +#include "regs/xe_engine_regs.h" #include "xe_device_types.h" #include "xe_force_wake.h" #include "xe_gt.h" @@ -20,7 +21,6 @@ #include "xe_mmio.h" #include "xe_rtp_types.h" -#include "gt/intel_engine_regs.h" #include "gt/intel_gt_regs.h" #define XE_REG_SR_GROW_STEP_DEFAULT 16 |