ACIL FM
Dark
Refresh
Current DIR:
/usr/src/kernels/5.14.0-611.34.1.el9_7.x86_64/include/drm/display
/
usr
src
kernels
5.14.0-611.34.1.el9_7.x86_64
include
drm
display
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
drm_dp.h
75.41 MB
chmod
View
DL
Edit
Rename
Delete
drm_dp_aux_bus.h
2.45 MB
chmod
View
DL
Edit
Rename
Delete
drm_dp_dual_mode_helper.h
4.63 MB
chmod
View
DL
Edit
Rename
Delete
drm_dp_helper.h
30.73 MB
chmod
View
DL
Edit
Rename
Delete
drm_dp_mst_helper.h
33.39 MB
chmod
View
DL
Edit
Rename
Delete
drm_dp_tunnel.h
6.2 MB
chmod
View
DL
Edit
Rename
Delete
drm_dsc.h
15.84 MB
chmod
View
DL
Edit
Rename
Delete
drm_dsc_helper.h
1.23 MB
chmod
View
DL
Edit
Rename
Delete
drm_hdcp.h
8.45 MB
chmod
View
DL
Edit
Rename
Delete
drm_hdcp_helper.h
577 B
chmod
View
DL
Edit
Rename
Delete
drm_hdmi_audio_helper.h
596 B
chmod
View
DL
Edit
Rename
Delete
drm_hdmi_helper.h
840 B
chmod
View
DL
Edit
Rename
Delete
drm_hdmi_state_helper.h
1.22 MB
chmod
View
DL
Edit
Rename
Delete
drm_scdc.h
2.88 MB
chmod
View
DL
Edit
Rename
Delete
drm_scdc_helper.h
2.73 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /usr/src/kernels/5.14.0-611.34.1.el9_7.x86_64/include/drm/display/drm_dp_tunnel.h
/* SPDX-License-Identifier: MIT */ /* * Copyright © 2023 Intel Corporation */ #ifndef __DRM_DP_TUNNEL_H__ #define __DRM_DP_TUNNEL_H__ #include <linux/err.h> #include <linux/errno.h> #include <linux/types.h> struct drm_dp_aux; struct drm_device; struct drm_atomic_state; struct drm_dp_tunnel_mgr; struct drm_dp_tunnel_state; struct ref_tracker; struct drm_dp_tunnel_ref { struct drm_dp_tunnel *tunnel; struct ref_tracker *tracker; }; #ifdef CONFIG_DRM_DISPLAY_DP_TUNNEL struct drm_dp_tunnel * drm_dp_tunnel_get(struct drm_dp_tunnel *tunnel, struct ref_tracker **tracker); void drm_dp_tunnel_put(struct drm_dp_tunnel *tunnel, struct ref_tracker **tracker); static inline void drm_dp_tunnel_ref_get(struct drm_dp_tunnel *tunnel, struct drm_dp_tunnel_ref *tunnel_ref) { tunnel_ref->tunnel = drm_dp_tunnel_get(tunnel, &tunnel_ref->tracker); } static inline void drm_dp_tunnel_ref_put(struct drm_dp_tunnel_ref *tunnel_ref) { drm_dp_tunnel_put(tunnel_ref->tunnel, &tunnel_ref->tracker); tunnel_ref->tunnel = NULL; } struct drm_dp_tunnel * drm_dp_tunnel_detect(struct drm_dp_tunnel_mgr *mgr, struct drm_dp_aux *aux); int drm_dp_tunnel_destroy(struct drm_dp_tunnel *tunnel); int drm_dp_tunnel_enable_bw_alloc(struct drm_dp_tunnel *tunnel); int drm_dp_tunnel_disable_bw_alloc(struct drm_dp_tunnel *tunnel); bool drm_dp_tunnel_bw_alloc_is_enabled(const struct drm_dp_tunnel *tunnel); int drm_dp_tunnel_alloc_bw(struct drm_dp_tunnel *tunnel, int bw); int drm_dp_tunnel_get_allocated_bw(struct drm_dp_tunnel *tunnel); int drm_dp_tunnel_update_state(struct drm_dp_tunnel *tunnel); void drm_dp_tunnel_set_io_error(struct drm_dp_tunnel *tunnel); int drm_dp_tunnel_handle_irq(struct drm_dp_tunnel_mgr *mgr, struct drm_dp_aux *aux); int drm_dp_tunnel_max_dprx_rate(const struct drm_dp_tunnel *tunnel); int drm_dp_tunnel_max_dprx_lane_count(const struct drm_dp_tunnel *tunnel); int drm_dp_tunnel_available_bw(const struct drm_dp_tunnel *tunnel); const char *drm_dp_tunnel_name(const struct drm_dp_tunnel *tunnel); struct drm_dp_tunnel_state * drm_dp_tunnel_atomic_get_state(struct drm_atomic_state *state, struct drm_dp_tunnel *tunnel); struct drm_dp_tunnel_state * drm_dp_tunnel_atomic_get_old_state(struct drm_atomic_state *state, const struct drm_dp_tunnel *tunnel); struct drm_dp_tunnel_state * drm_dp_tunnel_atomic_get_new_state(struct drm_atomic_state *state, const struct drm_dp_tunnel *tunnel); int drm_dp_tunnel_atomic_set_stream_bw(struct drm_atomic_state *state, struct drm_dp_tunnel *tunnel, u8 stream_id, int bw); int drm_dp_tunnel_atomic_get_group_streams_in_state(struct drm_atomic_state *state, const struct drm_dp_tunnel *tunnel, u32 *stream_mask); int drm_dp_tunnel_atomic_check_stream_bws(struct drm_atomic_state *state, u32 *failed_stream_mask); int drm_dp_tunnel_atomic_get_required_bw(const struct drm_dp_tunnel_state *tunnel_state); struct drm_dp_tunnel_mgr * drm_dp_tunnel_mgr_create(struct drm_device *dev, int max_group_count); void drm_dp_tunnel_mgr_destroy(struct drm_dp_tunnel_mgr *mgr); #else static inline struct drm_dp_tunnel * drm_dp_tunnel_get(struct drm_dp_tunnel *tunnel, struct ref_tracker **tracker) { return NULL; } static inline void drm_dp_tunnel_put(struct drm_dp_tunnel *tunnel, struct ref_tracker **tracker) {} static inline void drm_dp_tunnel_ref_get(struct drm_dp_tunnel *tunnel, struct drm_dp_tunnel_ref *tunnel_ref) {} static inline void drm_dp_tunnel_ref_put(struct drm_dp_tunnel_ref *tunnel_ref) {} static inline struct drm_dp_tunnel * drm_dp_tunnel_detect(struct drm_dp_tunnel_mgr *mgr, struct drm_dp_aux *aux) { return ERR_PTR(-EOPNOTSUPP); } static inline int drm_dp_tunnel_destroy(struct drm_dp_tunnel *tunnel) { return 0; } static inline int drm_dp_tunnel_enable_bw_alloc(struct drm_dp_tunnel *tunnel) { return -EOPNOTSUPP; } static inline int drm_dp_tunnel_disable_bw_alloc(struct drm_dp_tunnel *tunnel) { return -EOPNOTSUPP; } static inline bool drm_dp_tunnel_bw_alloc_is_enabled(const struct drm_dp_tunnel *tunnel) { return false; } static inline int drm_dp_tunnel_alloc_bw(struct drm_dp_tunnel *tunnel, int bw) { return -EOPNOTSUPP; } static inline int drm_dp_tunnel_get_allocated_bw(struct drm_dp_tunnel *tunnel) { return -1; } static inline int drm_dp_tunnel_update_state(struct drm_dp_tunnel *tunnel) { return -EOPNOTSUPP; } static inline void drm_dp_tunnel_set_io_error(struct drm_dp_tunnel *tunnel) {} static inline int drm_dp_tunnel_handle_irq(struct drm_dp_tunnel_mgr *mgr, struct drm_dp_aux *aux) { return -EOPNOTSUPP; } static inline int drm_dp_tunnel_max_dprx_rate(const struct drm_dp_tunnel *tunnel) { return 0; } static inline int drm_dp_tunnel_max_dprx_lane_count(const struct drm_dp_tunnel *tunnel) { return 0; } static inline int drm_dp_tunnel_available_bw(const struct drm_dp_tunnel *tunnel) { return -1; } static inline const char * drm_dp_tunnel_name(const struct drm_dp_tunnel *tunnel) { return NULL; } static inline struct drm_dp_tunnel_state * drm_dp_tunnel_atomic_get_state(struct drm_atomic_state *state, struct drm_dp_tunnel *tunnel) { return ERR_PTR(-EOPNOTSUPP); } static inline struct drm_dp_tunnel_state * drm_dp_tunnel_atomic_get_new_state(struct drm_atomic_state *state, const struct drm_dp_tunnel *tunnel) { return ERR_PTR(-EOPNOTSUPP); } static inline int drm_dp_tunnel_atomic_set_stream_bw(struct drm_atomic_state *state, struct drm_dp_tunnel *tunnel, u8 stream_id, int bw) { return -EOPNOTSUPP; } static inline int drm_dp_tunnel_atomic_get_group_streams_in_state(struct drm_atomic_state *state, const struct drm_dp_tunnel *tunnel, u32 *stream_mask) { return -EOPNOTSUPP; } static inline int drm_dp_tunnel_atomic_check_stream_bws(struct drm_atomic_state *state, u32 *failed_stream_mask) { return -EOPNOTSUPP; } static inline int drm_dp_tunnel_atomic_get_required_bw(const struct drm_dp_tunnel_state *tunnel_state) { return 0; } static inline struct drm_dp_tunnel_mgr * drm_dp_tunnel_mgr_create(struct drm_device *dev, int max_group_count) { return ERR_PTR(-EOPNOTSUPP); } static inline void drm_dp_tunnel_mgr_destroy(struct drm_dp_tunnel_mgr *mgr) {} #endif /* CONFIG_DRM_DISPLAY_DP_TUNNEL */ #endif /* __DRM_DP_TUNNEL_H__ */
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply