diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2023-02-25 03:15:41 +0300 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-12-20 02:29:21 +0300 |
commit | 0992884d09cc1c91e9c3310a9204eb080db37714 (patch) | |
tree | eaaa6b190c029b7dcb87d34cceb9ac9799893859 /drivers/gpu/drm/xe/xe_ring_ops.c | |
parent | 226bfec858c93797dbd3d47d1418ed68684fa752 (diff) | |
download | linux-0992884d09cc1c91e9c3310a9204eb080db37714.tar.xz |
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_ring_ops.c')
-rw-r--r-- | drivers/gpu/drm/xe/xe_ring_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/xe/xe_ring_ops.c b/drivers/gpu/drm/xe/xe_ring_ops.c index 1b633222fda6..6275f8c34878 100644 --- a/drivers/gpu/drm/xe/xe_ring_ops.c +++ b/drivers/gpu/drm/xe/xe_ring_ops.c @@ -6,6 +6,7 @@ #include "xe_ring_ops.h" #include "regs/xe_gt_regs.h" +#include "regs/xe_lrc_layout.h" #include "xe_engine_types.h" #include "xe_gt.h" #include "xe_lrc.h" @@ -14,7 +15,6 @@ #include "xe_vm_types.h" #include "gt/intel_gpu_commands.h" -#include "gt/intel_lrc_reg.h" #include "i915_reg.h" static u32 preparser_disable(bool state) |