diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2023-02-24 16:15:42 -0800 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-12-19 18:29:21 -0500 |
commit | 63955b3bfa0b69fd86b9e827e0f14f3fa4508826 (patch) | |
tree | 0fe09f93495aeb45c345dd2967e39a940a078d5b /drivers/gpu/drm/xe/xe_migrate.c | |
parent | 0992884d09cc1c91e9c3310a9204eb080db37714 (diff) |
drm/xe: Remove dependency on intel_gpu_commands.h
Copy the macros used by xe in intel_gpu_commands.h to
regs/xe_gpu_commands.h. PIPE_CONTROL_3D_ENGINE_FLAGS and
PIPE_CONTROL_3D_ARCH_FLAGS were already defined in
drivers/gpu/drm/xe/xe_ring_ops.c and only used there. So let that define
to be used instead of also adding to the new header.
v2: Let PIPE_CONTROL_3D_ENGINE_FLAGS/PIPE_CONTROL_3D_ARCH_FLAGS in the
only .c that uses it instead of redefining (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_migrate.c')
-rw-r--r-- | drivers/gpu/drm/xe/xe_migrate.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/xe/xe_migrate.c b/drivers/gpu/drm/xe/xe_migrate.c index bbab524dcee6..e2ee51381ac1 100644 --- a/drivers/gpu/drm/xe/xe_migrate.c +++ b/drivers/gpu/drm/xe/xe_migrate.c @@ -11,6 +11,7 @@ #include <drm/ttm/ttm_tt.h> #include <drm/xe_drm.h> +#include "regs/xe_gpu_commands.h" #include "xe_bb.h" #include "xe_bo.h" #include "xe_engine.h" @@ -27,8 +28,6 @@ #include "xe_trace.h" #include "xe_vm.h" -#include "gt/intel_gpu_commands.h" - /** * struct xe_migrate - migrate context. */ |