summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/display/intel_cursor.h
blob: 7c269d7381ad1bf318a83b80ad1f309ab713d228 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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