xref: /linux/drivers/gpu/drm/i915/display/intel_cursor.h (revision 6dfafbd0299a60bfb5d5e277fdf100037c7ded07)
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2020 Intel Corporation
4  */
5 
6 #ifndef _INTEL_CURSOR_H_
7 #define _INTEL_CURSOR_H_
8 
9 enum pipe;
10 struct intel_display;
11 struct intel_plane;
12 struct kthread_work;
13 
14 struct intel_plane *
15 intel_cursor_plane_create(struct intel_display *display,
16 			  enum pipe pipe);
17 
18 void intel_cursor_unpin_work(struct kthread_work *base);
19 
20 void intel_cursor_mode_config_init(struct intel_display *display);
21 
22 #endif
23