Skip to content

Commit

Permalink
drm/xe: Don't rely on xe_assert.h to be included elsewhere
Browse files Browse the repository at this point in the history
While xe_assert.h is now included and used by the xe_force_wake.h,
we want to stop include xe_force_wake.h from xe_device.h as it's
not needed there.  Explicitly include xe_assert.h where needed.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240507110959.2747-2-michal.wajdeczko@intel.com
  • Loading branch information
Michal Wajdeczko committed May 7, 2024
1 parent c18a5e3 commit 7348a9a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/xe/xe_bb.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

#include "instructions/xe_mi_commands.h"
#include "regs/xe_gpu_commands.h"
#include "xe_assert.h"
#include "xe_device.h"
#include "xe_exec_queue_types.h"
#include "xe_gt.h"
Expand Down
1 change: 1 addition & 0 deletions drivers/gpu/drm/xe/xe_gsc_submit.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include <linux/poison.h>

#include "abi/gsc_command_header_abi.h"
#include "xe_assert.h"
#include "xe_bb.h"
#include "xe_exec_queue.h"
#include "xe_gt_printk.h"
Expand Down
1 change: 1 addition & 0 deletions drivers/gpu/drm/xe/xe_gt_clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

#include "regs/xe_gt_regs.h"
#include "regs/xe_regs.h"
#include "xe_assert.h"
#include "xe_device.h"
#include "xe_gt.h"
#include "xe_macros.h"
Expand Down
1 change: 1 addition & 0 deletions drivers/gpu/drm/xe/xe_uc.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#include "xe_uc.h"

#include "xe_assert.h"
#include "xe_device.h"
#include "xe_gsc.h"
#include "xe_gsc_proxy.h"
Expand Down
1 change: 1 addition & 0 deletions drivers/gpu/drm/xe/xe_vm.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#ifndef _XE_VM_H_
#define _XE_VM_H_

#include "xe_assert.h"
#include "xe_bo_types.h"
#include "xe_macros.h"
#include "xe_map.h"
Expand Down

0 comments on commit 7348a9a

Please sign in to comment.