Home
last modified time | relevance | path

Searched full:modeset (Results 1 – 25 of 79) sorted by relevance

1234

/linux/include/drm/
H A Ddrm_modeset_lock.h78 * struct drm_modeset_lock - used for locking modeset resources.
83 * Used for locking CRTCs and other modeset resources.
87 * modeset lock
152 * DRM_MODESET_LOCK_ALL_BEGIN - Helper to acquire modeset locks
154 * @ctx: local modeset acquire context, will be dereferenced
158 * Use these macros to simplify grabbing all modeset locks using a local
162 * Any code run between BEGIN and END will be holding the modeset locks.
167 * Drivers can acquire additional modeset locks. If any lock acquisition
185 * DRM_MODESET_LOCK_ALL_END - Helper to release and cleanup modeset locks
187 * @ctx: local modeset acquire context, will be dereferenced
H A Ddrm_module.h62 drm_pci_register_driver_if_modeset(struct pci_driver *pci_drv, int modeset) in drm_pci_register_driver_if_modeset() argument
64 if (drm_firmware_drivers_only() && modeset == -1) in drm_pci_register_driver_if_modeset()
66 if (modeset == 0) in drm_pci_register_driver_if_modeset()
73 drm_pci_unregister_driver_if_modeset(struct pci_driver *pci_drv, int modeset) in drm_pci_unregister_driver_if_modeset() argument
H A Ddrm_property.h55 * struct drm_property - modeset object property
57 * This structure represent a modeset object property. It combines both the name
65 * symbolic property will have the same modeset object ID on all modeset
76 * IOCTL. Everything that was set directly in structures in the legacy modeset
125 * Object properties are used to link modeset objects. This is used
155 * Set for properties which encode atomic modeset state. Such
H A Ddrm_mode_config.h115 * This is the only hook to validate an atomic modeset update. This
116 * function must reject any modeset and state changes which the hardware
149 * updates which require a full modeset (i.e. blanking the screen, or
162 * an atomic modeset update is described.
192 * This is the only hook to commit an atomic modeset update. The core
198 * an atomic modeset update is described.
212 * modeset this must be guaranteed.
266 * additional modeset locks).
364 * This is the big scary modeset BKL which protects everything that
497 * the display hardware or modeset software state, which the panic
H A Ddrm_ioctl.h92 * This must be set for any ioctl which can change the modeset or
96 * Note that read-only modeset ioctl can also be called by
/linux/drivers/gpu/drm/
H A Ddrm_modeset_helper.c38 * anywhere else in the DRM modeset helper library.
104 * This is the minimal list of formats that seem to be safe for modeset use
180 * drm_mode_config_helper_suspend - Modeset suspend helper
183 * This helper function takes care of suspending the modeset side. It disables
227 * drm_mode_config_helper_resume - Modeset resume helper
230 * This helper function takes care of resuming the modeset side. It calls
H A Ddrm_encoder.c49 * Otherwise encoders aren't used in the uapi at all (any modeset request from
51 * free to use them however they wish. Modeset helper libraries make strong use
312 * protected by modeset locks, so check those first. */ in drm_encoder_get_crtc()
H A Ddrm_lease.c491 /* Can't lease without MODESET */ in drm_mode_create_lease_ioctl()
602 /* Can't lease without MODESET */ in drm_mode_list_lessees_ioctl()
653 /* Can't lease without MODESET */ in drm_mode_get_lease_ioctl()
705 /* Can't lease without MODESET */ in drm_mode_revoke_lease_ioctl()
H A DKconfig156 Enable debug tracing of failures to gracefully handle drm modeset lock
157 contention. A history of each drm modeset lock path hitting -EDEADLK
/linux/drivers/gpu/drm/loongson/
H A Dloongson_module.c13 MODULE_PARM_DESC(modeset, "Disable/Enable modesetting");
14 module_param_named(modeset, loongson_modeset, int, 0400);
/linux/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_mixer.c87 * without requiring a full modeset if we had already in mdp5_mixer_assign()
91 * result in the CRTC requiring a full modeset, even in mdp5_mixer_assign()
95 * a full modeset. in mdp5_mixer_assign()
H A Dmdp5_encoder.c146 * the settings changes for the new modeset (like new in mdp5_vid_encoder_disable()
231 * modeset case, this is done from crtc->atomic_flush(), but that in mdp5_encoder_atomic_check()
232 * is too early in the case of full modeset, in which case we in mdp5_encoder_atomic_check()
/linux/drivers/gpu/drm/nouveau/dispnv50/
H A Dwndw.c275 nv50_wndw_atomic_check_acquire(struct nv50_wndw *wndw, bool modeset, in nv50_wndw_atomic_check_acquire() argument
288 if (fb != armw->state.fb || !armw->visible || modeset) { in nv50_wndw_atomic_check_acquire()
389 * that do a modeset before providing a gamma table. in nv50_wndw_atomic_check_lut()
453 bool modeset = false; in nv50_wndw_atomic_check() local
465 modeset = drm_atomic_crtc_needs_modeset(&asyh->state); in nv50_wndw_atomic_check()
491 ret = nv50_wndw_atomic_check_acquire(wndw, modeset, in nv50_wndw_atomic_check()
507 * when performing certain modeset operations. in nv50_wndw_atomic_check()
509 if (!asyw->visible || modeset) { in nv50_wndw_atomic_check()
/linux/drivers/gpu/drm/vboxvideo/
H A Dvbox_drv.c30 MODULE_PARM_DESC(modeset, "Disable/Enable modesetting");
31 module_param_named(modeset, vbox_modeset, int, 0400);
H A Dvbox_drv.h66 struct mutex hw_mutex; /* protects modeset and accel/vbva accesses */
106 * This means that sometimes we must do a modeset on other crtc-s then
/linux/drivers/gpu/drm/nouveau/dispnv04/
H A Ddisp.c107 /* meh.. modeset apparently doesn't setup all the regs and depends in nv04_display_init()
109 * nouveau was loaded, and then do a modeset. in nv04_display_init()
155 /* Force CLUT to get re-loaded during modeset. */ in nv04_display_init()
/linux/drivers/gpu/drm/virtio/
H A Dvirtgpu_drv.c51 MODULE_PARM_DESC(modeset, "Disable/Enable modesetting");
52 module_param_named(modeset, virtio_gpu_modeset, int, 0400);
/linux/drivers/gpu/drm/gma500/
H A Dframebuffer.c213 dev_priv->modeset = true; in psb_modeset_init()
219 if (dev_priv->modeset) { in psb_modeset_cleanup()
/linux/rust/kernel/drm/
H A Dioctl.rs46 /// This must be set for any ioctl which can change the modeset or display state. Userspace must
49 /// Note that read-only modeset ioctl can also be called by unauthenticated clients, or when a
/linux/drivers/gpu/drm/qxl/
H A Dqxl_drv.c63 MODULE_PARM_DESC(modeset, "Disable/Enable modesetting");
64 module_param_named(modeset, qxl_modeset, int, 0400);
/linux/drivers/gpu/drm/udl/
H A Dudl_proto.h49 #define UDL_BLANKMODE_POWERDOWN 0x07 /* powered off; requires modeset */
/linux/Documentation/devicetree/bindings/mfd/
H A Dx-powers,axp152.yaml147 Set this when the PMIC is wired for self-working mode through the MODESET
153 Set this when the PMIC is wired for master mode through the MODESET pin.
/linux/Documentation/process/
H A Dbotching-up-ioctls.rst186 are truly device-unique. One counterexample in the drm modeset interfaces is
187 that the per-device modeset objects like connectors share a namespace with
/linux/drivers/gpu/drm/i915/
H A Di915_params.h49 param(int, modeset, -1, 0400) \
/linux/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_crtc.c352 * the crtc->commit is not for disable, but a modeset operation when in komeda_crtc_atomic_disable()
360 * That's also the reason why skip modeset commit in in komeda_crtc_atomic_disable()
393 /* commit with modeset will be handled in enable/disable */ in komeda_crtc_atomic_flush()

1234