Linux anchor 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
Apache/2.4.18 (Ubuntu)
Server IP : 10.10.100.4 & Your IP : 216.73.217.150
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
src /
linux-headers-4.4.0-210 /
include /
drm /
Delete
Unzip
Name
Size
Permission
Date
Action
bridge
[ DIR ]
drwxr-xr-x
2021-04-21 07:33
i2c
[ DIR ]
drwxr-xr-x
2021-04-21 07:33
ttm
[ DIR ]
drwxr-xr-x
2021-04-21 07:33
ati_pcigart.h
692
B
-rw-r--r--
2016-01-11 00:01
drmP.h
36.96
KB
-rw-r--r--
2021-04-16 11:57
drm_agpsupport.h
3.76
KB
-rw-r--r--
2016-01-11 00:01
drm_atomic.h
6.25
KB
-rw-r--r--
2021-04-16 11:57
drm_atomic_helper.h
8.63
KB
-rw-r--r--
2021-04-16 11:57
drm_cache.h
1.72
KB
-rw-r--r--
2021-04-16 11:57
drm_core.h
1.43
KB
-rw-r--r--
2016-01-11 00:01
drm_crtc.h
59.35
KB
-rw-r--r--
2021-04-16 11:57
drm_crtc_helper.h
9.62
KB
-rw-r--r--
2021-04-16 11:57
drm_displayid.h
2.47
KB
-rw-r--r--
2016-01-11 00:01
drm_dp_aux_dev.h
1.78
KB
-rw-r--r--
2021-04-16 11:57
drm_dp_dual_mode_helper.h
4.38
KB
-rw-r--r--
2021-04-16 11:57
drm_dp_helper.h
27.02
KB
-rw-r--r--
2021-04-16 11:57
drm_dp_mst_helper.h
14.16
KB
-rw-r--r--
2021-04-16 11:57
drm_edid.h
12.3
KB
-rw-r--r--
2016-01-11 00:01
drm_encoder_slave.h
6.42
KB
-rw-r--r--
2016-01-11 00:01
drm_fb_cma_helper.h
874
B
-rw-r--r--
2016-01-11 00:01
drm_fb_helper.h
11.95
KB
-rw-r--r--
2021-04-16 11:57
drm_fixed.h
4.71
KB
-rw-r--r--
2021-04-16 11:57
drm_flip_work.h
3
KB
-rw-r--r--
2016-01-11 00:01
drm_gem.h
5.99
KB
-rw-r--r--
2016-01-11 00:01
drm_gem_cma_helper.h
2.23
KB
-rw-r--r--
2016-01-11 00:01
drm_global.h
1.96
KB
-rw-r--r--
2016-01-11 00:01
drm_hashtab.h
3.07
KB
-rw-r--r--
2016-01-11 00:01
drm_legacy.h
6.65
KB
-rw-r--r--
2016-01-11 00:01
drm_mem_util.h
2.41
KB
-rw-r--r--
2021-04-16 11:57
drm_mipi_dsi.h
8.85
KB
-rw-r--r--
2021-04-16 11:57
drm_mm.h
10.19
KB
-rw-r--r--
2016-01-11 00:01
drm_modes.h
9.19
KB
-rw-r--r--
2016-01-11 00:01
drm_modeset_lock.h
4.34
KB
-rw-r--r--
2021-04-16 11:57
drm_of.h
749
B
-rw-r--r--
2016-01-11 00:01
drm_os_linux.h
2.18
KB
-rw-r--r--
2016-01-11 00:01
drm_panel.h
4.96
KB
-rw-r--r--
2016-01-11 00:01
drm_pciids.h
66.44
KB
-rw-r--r--
2016-01-11 00:01
drm_plane_helper.h
4.11
KB
-rw-r--r--
2016-01-11 00:01
drm_rect.h
4.98
KB
-rw-r--r--
2021-04-16 11:57
drm_sysfs.h
300
B
-rw-r--r--
2016-01-11 00:01
drm_vma_manager.h
8.03
KB
-rw-r--r--
2016-01-11 00:01
exynos_drm.h
2.56
KB
-rw-r--r--
2016-01-11 00:01
gma_drm.h
1.01
KB
-rw-r--r--
2016-01-11 00:01
i915_component.h
3.43
KB
-rw-r--r--
2021-04-16 11:57
i915_drm.h
3.41
KB
-rw-r--r--
2016-01-11 00:01
i915_drm_bpo.h
1.5
KB
-rw-r--r--
2021-04-16 11:57
i915_pciids.h
12.48
KB
-rw-r--r--
2021-04-16 11:57
intel-gtt.h
847
B
-rw-r--r--
2016-01-11 00:01
Save
Rename
/* * Copyright (C) 2014 Red Hat * Copyright (C) 2014 Intel Corp. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR * OTHER DEALINGS IN THE SOFTWARE. * * Authors: * Rob Clark <robdclark@gmail.com> * Daniel Vetter <daniel.vetter@ffwll.ch> */ #ifndef DRM_ATOMIC_HELPER_H_ #define DRM_ATOMIC_HELPER_H_ #include <drm/drm_crtc.h> struct drm_atomic_state; int drm_atomic_helper_check_modeset(struct drm_device *dev, struct drm_atomic_state *state); int drm_atomic_helper_check_planes(struct drm_device *dev, struct drm_atomic_state *state); int drm_atomic_helper_check(struct drm_device *dev, struct drm_atomic_state *state); int drm_atomic_helper_commit(struct drm_device *dev, struct drm_atomic_state *state, bool async); bool drm_atomic_helper_framebuffer_changed(struct drm_device *dev, struct drm_atomic_state *old_state, struct drm_crtc *crtc); void drm_atomic_helper_wait_for_vblanks(struct drm_device *dev, struct drm_atomic_state *old_state); void drm_atomic_helper_update_legacy_modeset_state(struct drm_device *dev, struct drm_atomic_state *old_state); void drm_atomic_helper_commit_modeset_disables(struct drm_device *dev, struct drm_atomic_state *state); void drm_atomic_helper_commit_modeset_enables(struct drm_device *dev, struct drm_atomic_state *old_state); int drm_atomic_helper_prepare_planes(struct drm_device *dev, struct drm_atomic_state *state); void drm_atomic_helper_commit_planes(struct drm_device *dev, struct drm_atomic_state *state, bool active_only); void drm_atomic_helper_cleanup_planes(struct drm_device *dev, struct drm_atomic_state *old_state); void drm_atomic_helper_commit_planes_on_crtc(struct drm_crtc_state *old_crtc_state); void drm_atomic_helper_swap_state(struct drm_device *dev, struct drm_atomic_state *state); /* implementations for legacy interfaces */ int drm_atomic_helper_update_plane(struct drm_plane *plane, struct drm_crtc *crtc, struct drm_framebuffer *fb, int crtc_x, int crtc_y, unsigned int crtc_w, unsigned int crtc_h, uint32_t src_x, uint32_t src_y, uint32_t src_w, uint32_t src_h); int drm_atomic_helper_disable_plane(struct drm_plane *plane); int __drm_atomic_helper_disable_plane(struct drm_plane *plane, struct drm_plane_state *plane_state); int drm_atomic_helper_set_config(struct drm_mode_set *set); int __drm_atomic_helper_set_config(struct drm_mode_set *set, struct drm_atomic_state *state); int drm_atomic_helper_disable_all(struct drm_device *dev, struct drm_modeset_acquire_ctx *ctx); struct drm_atomic_state *drm_atomic_helper_suspend(struct drm_device *dev); int drm_atomic_helper_resume(struct drm_device *dev, struct drm_atomic_state *state); int drm_atomic_helper_crtc_set_property(struct drm_crtc *crtc, struct drm_property *property, uint64_t val); int drm_atomic_helper_plane_set_property(struct drm_plane *plane, struct drm_property *property, uint64_t val); int drm_atomic_helper_connector_set_property(struct drm_connector *connector, struct drm_property *property, uint64_t val); int drm_atomic_helper_page_flip(struct drm_crtc *crtc, struct drm_framebuffer *fb, struct drm_pending_vblank_event *event, uint32_t flags); int drm_atomic_helper_connector_dpms(struct drm_connector *connector, int mode); /* default implementations for state handling */ void drm_atomic_helper_crtc_reset(struct drm_crtc *crtc); void __drm_atomic_helper_crtc_duplicate_state(struct drm_crtc *crtc, struct drm_crtc_state *state); struct drm_crtc_state * drm_atomic_helper_crtc_duplicate_state(struct drm_crtc *crtc); void __drm_atomic_helper_crtc_destroy_state(struct drm_crtc *crtc, struct drm_crtc_state *state); void drm_atomic_helper_crtc_destroy_state(struct drm_crtc *crtc, struct drm_crtc_state *state); void drm_atomic_helper_plane_reset(struct drm_plane *plane); void __drm_atomic_helper_plane_duplicate_state(struct drm_plane *plane, struct drm_plane_state *state); struct drm_plane_state * drm_atomic_helper_plane_duplicate_state(struct drm_plane *plane); void __drm_atomic_helper_plane_destroy_state(struct drm_plane *plane, struct drm_plane_state *state); void drm_atomic_helper_plane_destroy_state(struct drm_plane *plane, struct drm_plane_state *state); void __drm_atomic_helper_connector_reset(struct drm_connector *connector, struct drm_connector_state *conn_state); void drm_atomic_helper_connector_reset(struct drm_connector *connector); void __drm_atomic_helper_connector_duplicate_state(struct drm_connector *connector, struct drm_connector_state *state); struct drm_connector_state * drm_atomic_helper_connector_duplicate_state(struct drm_connector *connector); struct drm_atomic_state * drm_atomic_helper_duplicate_state(struct drm_device *dev, struct drm_modeset_acquire_ctx *ctx); void __drm_atomic_helper_connector_destroy_state(struct drm_connector *connector, struct drm_connector_state *state); void drm_atomic_helper_connector_destroy_state(struct drm_connector *connector, struct drm_connector_state *state); void drm_atomic_helper_legacy_gamma_set(struct drm_crtc *crtc, u16 *red, u16 *green, u16 *blue, uint32_t start, uint32_t size); /** * drm_atomic_crtc_for_each_plane - iterate over planes currently attached to CRTC * @plane: the loop cursor * @crtc: the crtc whose planes are iterated * * This iterates over the current state, useful (for example) when applying * atomic state after it has been checked and swapped. To iterate over the * planes which *will* be attached (for ->atomic_check()) see * drm_crtc_for_each_pending_plane() */ #define drm_atomic_crtc_for_each_plane(plane, crtc) \ drm_for_each_plane_mask(plane, (crtc)->dev, (crtc)->state->plane_mask) /** * drm_crtc_atomic_state_for_each_plane - iterate over attached planes in new state * @plane: the loop cursor * @crtc_state: the incoming crtc-state * * Similar to drm_crtc_for_each_plane(), but iterates the planes that will be * attached if the specified state is applied. Useful during (for example) * ->atomic_check() operations, to validate the incoming state */ #define drm_atomic_crtc_state_for_each_plane(plane, crtc_state) \ drm_for_each_plane_mask(plane, (crtc_state)->state->dev, (crtc_state)->plane_mask) /* * drm_atomic_plane_disabling - check whether a plane is being disabled * @plane: plane object * @old_state: previous atomic state * * Checks the atomic state of a plane to determine whether it's being disabled * or not. This also WARNs if it detects an invalid state (both CRTC and FB * need to either both be NULL or both be non-NULL). * * RETURNS: * True if the plane is being disabled, false otherwise. */ static inline bool drm_atomic_plane_disabling(struct drm_plane *plane, struct drm_plane_state *old_state) { /* * When disabling a plane, CRTC and FB should always be NULL together. * Anything else should be considered a bug in the atomic core, so we * gently warn about it. */ WARN_ON((plane->state->crtc == NULL && plane->state->fb != NULL) || (plane->state->crtc != NULL && plane->state->fb == NULL)); /* * When using the transitional helpers, old_state may be NULL. If so, * we know nothing about the current state and have to assume that it * might be enabled. * * When using the atomic helpers, old_state won't be NULL. Therefore * this check assumes that either the driver will have reconstructed * the correct state in ->reset() or that the driver will have taken * appropriate measures to disable all planes. */ return (!old_state || old_state->crtc) && !plane->state->crtc; } #endif /* DRM_ATOMIC_HELPER_H_ */