summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/display/intel_cursor.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_cursor.h')
-rw-r--r--drivers/gpu/drm/i915/display/intel_cursor.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_cursor.h b/drivers/gpu/drm/i915/display/intel_cursor.h
new file mode 100644
index 000000000000..7c269d7381ad
--- /dev/null
+++ b/drivers/gpu/drm/i915/display/intel_cursor.h
@@ -0,0 +1,22 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2020 Intel Corporation
+ */
+
+#ifndef _INTEL_CURSOR_H_
+#define _INTEL_CURSOR_H_
+
+enum pipe;
+struct intel_display;
+struct intel_plane;
+struct kthread_work;
+
+struct intel_plane *
+intel_cursor_plane_create(struct intel_display *display,
+ enum pipe pipe);
+
+void intel_cursor_unpin_work(struct kthread_work *base);
+
+void intel_cursor_mode_config_init(struct intel_display *display);
+
+#endif