Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0-or-later */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3)  * Copyright © 2017 Keith Packard <keithp@keithp.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) #ifndef _DRM_LEASE_H_
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) #define _DRM_LEASE_H_
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) struct drm_file;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) struct drm_device;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) struct drm_master;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) struct drm_master *drm_lease_owner(struct drm_master *master);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) void drm_lease_destroy(struct drm_master *lessee);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) bool drm_lease_held(struct drm_file *file_priv, int id);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) bool _drm_lease_held(struct drm_file *file_priv, int id);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) void drm_lease_revoke(struct drm_master *master);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) uint32_t drm_lease_filter_crtcs(struct drm_file *file_priv, uint32_t crtcs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) int drm_mode_create_lease_ioctl(struct drm_device *dev,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 				void *data, struct drm_file *file_priv);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) int drm_mode_list_lessees_ioctl(struct drm_device *dev,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 				void *data, struct drm_file *file_priv);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) int drm_mode_get_lease_ioctl(struct drm_device *dev,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 			     void *data, struct drm_file *file_priv);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) int drm_mode_revoke_lease_ioctl(struct drm_device *dev,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 				void *data, struct drm_file *file_priv);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) #endif /* _DRM_LEASE_H_ */