• Home
  • Raw
  • Download

Lines Matching +full:has +full:- +full:legacy +full:- +full:mode

3  * Copyright © 2007-2008 Dave Airlie
4 * Copyright © 2007-2008 Intel Corporation
33 #include <linux/media-bus-format.h>
80 * struct drm_crtc_state - mutable CRTC state
91 * describing what has changed in a commit. See also:
132 * @mode_changed: @mode or @enable has been changed. Used by the atomic
138 * @mode change can be done without a full modeset by only changing
144 * @active_changed: @active has been toggled. Used by the atomic
156 * Drivers are supposed to set this as-needed from their own atomic
191 * oneshot mode. In this case the fake VBLANK event is only generated
203 * writeback connector attached to the CRTC has a new job queued. In
231 * differences between the mode requested by userspace in @mode and what
243 * @mode:
253 * built-in panel), this mode here should match the physical mode on the
257 struct drm_display_mode mode; member
260 * @mode_blob: &drm_property_blob for @mode, for exposing the mode to
302 * This is set when DRM_MODE_PAGE_FLIP_ASYNC is set in the legacy
312 * hardware capabiltiy - lacking support is not treated as failure.
334 * - The event is for a CRTC which is being disabled through this
336 * after the hardware has stopped scanning out the current
340 * somewhen after drm_crtc_vblank_off() has been called.
342 * - For a CRTC which is enabled at the end of the commit (even when it
346 * hardware has stopped scanning out the old buffers.
348 * - Events for disabled CRTCs are not allowed, and drivers can ignore
376 * If the device can't notify of flip completion in a race-free way
398 * struct drm_crtc_funcs - control CRTCs for a given device
428 * Note that contrary to all other KMS functions the legacy cursor entry
496 * drm_crtc_enable_color_mgmt(), which then supports the legacy gamma
516 * This is the main legacy entry point to change the modeset state on a
518 * &struct drm_mode_set - see there for details.
533 * Legacy entry point to schedule a flip to the given framebuffer.
541 * configured mode and then calls this hook with a pointer to the new
547 * shared dma-buf.
549 * An application can request to be notified when the page flip has
569 * flip operation has completed and the old framebuffer is no longer
570 * visible. This requirement has been lifted, and userspace is instead
572 * buffers until such has been received.
578 * -EBUSY. Pageflips on a disabled CRTC (either by setting a NULL mode
580 * "ACTIVE" state) should result in an -EINVAL error code. Note that
598 * any non-0 error code. It's the driver's responsibility to call
611 * This is the legacy entry point to update a property attached to the
614 * This callback is optional if the driver does not support any legacy
615 * driver-private properties. For atomic drivers it is not used because
639 * state structure to extend it with driver-private state should use
643 * It is an error to call this hook before &drm_crtc.state has been
672 * Decode a driver-private property value and store the decoded value
673 * into the passed-in state structure. Since the atomic core decodes all
678 * Such driver-private properties should really only be implemented for
687 * driver-private atomic properties.
704 * 0 if the property has been found, -EINVAL if the property isn't
718 * Reads out the decoded driver-private property. This is used to
725 * driver-private atomic properties.
729 * 0 on success, -EINVAL if the property isn't implemented by the
816 * callback does the verification on each crc-source before passing it
919 * need to apply some workarounds for gpu-specific vblank irq quirks
934 * struct drm_crtc - central CRTC control structure
959 * This provides a read lock for the overall CRTC state (mode, dpms
974 * relevant for legacy IOCTL, it specifies the plane implicitly used by
983 * legacy IOCTL, it specifies the plane implicitly used by the SETCURSOR
1015 * Is this CRTC enabled? Should only be used by legacy drivers, atomic
1023 * @mode:
1025 * Current mode timings. Should only be used by legacy drivers, atomic
1026 * drivers should instead consult &drm_crtc_state.mode. Atomic drivers
1030 struct drm_display_mode mode; member
1035 * Programmed mode in hw, after adjustments for encoders, crtc, panel
1036 * scaling etc. Should only be used by legacy drivers, for high
1041 * &drm_crtc_state.adjusted_mode. And for high-precision timestamps
1050 * x position on screen. Should only be used by legacy drivers, atomic
1058 * y position on screen. Should only be used by legacy drivers, atomic
1069 * @gamma_size: Size of legacy gamma ramp reported to userspace. Set up
1075 * @gamma_store: Gamma ramp values used by the legacy SETGAMMA and
1080 /** @helper_private: mid-layer private data */
1112 * any locking or list-walking. @commit_list should only be used to
1178 * struct drm_mode_set - new values for a CRTC config change
1181 * @mode: mode timings to use
1187 * This represents a modeset configuration for the legacy SETCRTC ioctl and is
1193 struct drm_display_mode *mode; member
1214 * drm_crtc_index - find the index of a registered CRTC
1222 return crtc->index; in drm_crtc_index()
1226 * drm_crtc_mask - find the mask of a registered CRTC
1241 * drm_crtc_find - look up a CRTC object from its ID
1247 * drivers for legacy IOCTLs and interface, nowadays extensions to the KMS
1260 * drm_for_each_crtc - iterate over all CRTCs
1267 list_for_each_entry(crtc, &(dev)->mode_config.crtc_list, head)