summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/display/xe_display_wa.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/xe/display/xe_display_wa.c')
-rw-r--r--drivers/gpu/drm/xe/display/xe_display_wa.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/drivers/gpu/drm/xe/display/xe_display_wa.c b/drivers/gpu/drm/xe/display/xe_display_wa.c
new file mode 100644
index 000000000000..2aa1b8c03411
--- /dev/null
+++ b/drivers/gpu/drm/xe/display/xe_display_wa.c
@@ -0,0 +1,19 @@
+// SPDX-License-Identifier: MIT
+/*
+ * Copyright © 2024 Intel Corporation
+ */
+
+#include "intel_display_core.h"
+#include "intel_display_wa.h"
+#include "xe_device.h"
+#include "xe_wa.h"
+
+#include <generated/xe_wa_oob.h>
+
+bool intel_display_needs_wa_16023588340(struct intel_display *display)
+{
+ struct xe_device *xe = to_xe_device(display->drm);
+ struct xe_gt *wa_gt = xe_root_mmio_gt(xe);
+
+ return wa_gt && XE_GT_WA(wa_gt, 16023588340);
+}