Sync to v6.10-rc3.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
u64 xe_device_canonicalize_addr(struct xe_device *xe, u64 address);
u64 xe_device_uncanonicalize_addr(struct xe_device *xe, u64 address);
+void xe_device_td_flush(struct xe_device *xe);
+
+ static inline bool xe_device_wedged(struct xe_device *xe)
+ {
+ return atomic_read(&xe->wedged.flag);
+ }
+
+ void xe_device_declare_wedged(struct xe_device *xe);
+
#endif
#include <linux/io-64-nonatomic-lo-hi.h>
#include <linux/sizes.h>
+ #include <drm/drm_drv.h>
#include <drm/drm_managed.h>
-#include <drm/i915_drm.h>
+#include <drm/intel/i915_drm.h>
#include "regs/xe_gt_regs.h"
#include "regs/xe_gtt_defs.h"
static const struct xe_device_desc bmg_desc __maybe_unused = {
DGFX_FEATURES,
- PLATFORM(XE_BATTLEMAGE),
+ PLATFORM(BATTLEMAGE),
+ .has_display = true,
.require_force_probe = true,
};