XenevaOS
Loading...
Searching...
No Matches
drm_lease.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * Copyright © 2017 Keith Packard <keithp@keithp.com>
4 */
5
6#ifndef _DRM_LEASE_H_
7#define _DRM_LEASE_H_
8
9#include <linux/types.h>
10
11struct drm_file;
12struct drm_device;
13struct drm_master;
14
16
17void drm_lease_destroy(struct drm_master *lessee);
18
19bool drm_lease_held(struct drm_file *file_priv, int id);
20
21bool _drm_lease_held(struct drm_file *file_priv, int id);
22
24
26
28 void *data, struct drm_file *file_priv);
29
31 void *data, struct drm_file *file_priv);
32
34 void *data, struct drm_file *file_priv);
35
37 void *data, struct drm_file *file_priv);
38
39#endif /* _DRM_LEASE_H_ */
unsigned int uint32_t
Definition acefiex.h:163
uint32_t drm_lease_filter_crtcs(struct drm_file *file_priv, uint32_t crtcs)
bool drm_lease_held(struct drm_file *file_priv, int id)
struct drm_master * drm_lease_owner(struct drm_master *master)
int drm_mode_get_lease_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv)
int drm_mode_list_lessees_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv)
int drm_mode_create_lease_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv)
void drm_lease_destroy(struct drm_master *lessee)
void drm_lease_revoke(struct drm_master *master)
bool _drm_lease_held(struct drm_file *file_priv, int id)
int drm_mode_revoke_lease_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv)
const struct device * dev
Definition drm_print.h:519
struct i915_engine_class_instance master
Definition i915_drm.h:2
void * data
Definition kthread.h:30
Definition drm_device.h:75
Definition drm_file.h:165
Definition drm_auth.h:47