diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2023-02-25 01:15:41 +0100 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-12-20 00:29:21 +0100 |
commit | 0992884d09cc1c91e9c3310a9204eb080db37714 (patch) | |
tree | eaaa6b190c029b7dcb87d34cceb9ac9799893859 /drivers/gpu/drm/xe/xe_lrc.c | |
parent | drm/xe: Remove dependency on intel_gt_regs.h (diff) | |
download | linux-0992884d09cc1c91e9c3310a9204eb080db37714.tar.xz linux-0992884d09cc1c91e9c3310a9204eb080db37714.zip |
drm/xe: Remove dependency on intel_lrc_reg.h
Create regs/xe_lrc_layout.h file with all the offsets used by the xe
driver. Eventually the xe driver may use a different way to define them
since it doesn't supported below gen12.
v2: Rename file to intel_lrc_layout.h since it's not really about
registers (Matt Roper)
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_lrc.c')
-rw-r--r-- | drivers/gpu/drm/xe/xe_lrc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/xe/xe_lrc.c b/drivers/gpu/drm/xe/xe_lrc.c index bf12f71fbe72..5baa3cf53852 100644 --- a/drivers/gpu/drm/xe/xe_lrc.c +++ b/drivers/gpu/drm/xe/xe_lrc.c @@ -7,6 +7,7 @@ #include "regs/xe_engine_regs.h" #include "regs/xe_gt_regs.h" +#include "regs/xe_lrc_layout.h" #include "xe_bo.h" #include "xe_device.h" #include "xe_engine_types.h" @@ -16,7 +17,6 @@ #include "xe_vm.h" #include "gt/intel_gpu_commands.h" -#include "gt/intel_lrc_reg.h" #include "i915_reg.h" #define GEN8_CTX_VALID (1 << 0) |