/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
A D | amdgpu_dm_debugfs.c | 841 drm_modeset_lock(&dev->mode_config.connection_mutex, NULL); in output_bpc_show() 886 drm_modeset_unlock(&dev->mode_config.connection_mutex); in output_bpc_show() 1427 drm_modeset_lock(&dev->mode_config.connection_mutex, NULL); in dp_dsc_clock_en_write() 1456 drm_modeset_unlock(&dev->mode_config.connection_mutex); in dp_dsc_clock_en_write() 1612 drm_modeset_lock(&dev->mode_config.connection_mutex, NULL); in dp_dsc_slice_width_write() 1641 drm_modeset_unlock(&dev->mode_config.connection_mutex); in dp_dsc_slice_width_write() 1797 drm_modeset_lock(&dev->mode_config.connection_mutex, NULL); in dp_dsc_slice_height_write() 1826 drm_modeset_unlock(&dev->mode_config.connection_mutex); in dp_dsc_slice_height_write() 1999 drm_modeset_unlock(&dev->mode_config.connection_mutex); in dp_dsc_bits_per_pixel_write() 2335 drm_modeset_unlock(&dev->mode_config.connection_mutex); in dp_max_bpc_read() [all …]
|
A D | amdgpu_dm_hdcp.c | 301 drm_modeset_lock(&dev->mode_config.connection_mutex, NULL); in event_property_update() 327 drm_modeset_unlock(&dev->mode_config.connection_mutex); in event_property_update()
|
/linux/drivers/gpu/drm/vboxvideo/ |
A D | vbox_irq.c | 128 drm_modeset_lock(&dev->mode_config.connection_mutex, NULL); in vbox_update_mode_hints() 160 drm_modeset_unlock(&dev->mode_config.connection_mutex); in vbox_update_mode_hints()
|
/linux/drivers/gpu/drm/ |
A D | drm_encoder.c | 292 drm_modeset_lock(&dev->mode_config.connection_mutex, NULL); in drm_mode_getencoder() 298 drm_modeset_unlock(&dev->mode_config.connection_mutex); in drm_mode_getencoder()
|
A D | drm_modeset_lock.c | 224 WARN_ON(!drm_modeset_is_locked(&dev->mode_config.connection_mutex)); in drm_warn_on_modeset_not_all_locked() 448 ret = drm_modeset_lock(&dev->mode_config.connection_mutex, ctx); in drm_modeset_lock_all_ctx()
|
A D | drm_probe_helper.c | 290 ret = drm_modeset_lock(&connector->dev->mode_config.connection_mutex, &ctx); in drm_helper_probe_detect_ctx() 339 ret = drm_modeset_lock(&dev->mode_config.connection_mutex, ctx); in drm_helper_probe_detect() 437 ret = drm_modeset_lock(&dev->mode_config.connection_mutex, &ctx); in drm_helper_probe_single_connector_modes()
|
A D | drm_mode_config.c | 402 drm_modeset_lock_init(&dev->mode_config.connection_mutex); in drmm_mode_config_init() 440 ret = drm_modeset_lock(&dev->mode_config.connection_mutex, in drmm_mode_config_init() 550 drm_modeset_lock_fini(&dev->mode_config.connection_mutex); in drm_mode_config_cleanup()
|
A D | drm_atomic.c | 994 ret = drm_modeset_lock(&config->connection_mutex, state->acquire_ctx); in drm_atomic_get_connector_state() 1212 ret = drm_modeset_lock(&config->connection_mutex, state->acquire_ctx); in drm_atomic_add_affected_connectors() 1479 ret = drm_modeset_lock(&dev->mode_config.connection_mutex, in update_output_state() 1683 drm_modeset_lock(&dev->mode_config.connection_mutex, NULL); in __drm_state_dump() 1687 drm_modeset_unlock(&dev->mode_config.connection_mutex); in __drm_state_dump()
|
A D | drm_plane_helper.c | 85 WARN_ON(!drm_modeset_is_locked(&dev->mode_config.connection_mutex)); in get_connectors_for_crtc()
|
A D | drm_connector.c | 2157 drm_modeset_lock(&dev->mode_config.connection_mutex, NULL); in drm_connector_set_link_status_property() 2159 drm_modeset_unlock(&dev->mode_config.connection_mutex); in drm_connector_set_link_status_property() 2566 drm_modeset_lock(&dev->mode_config.connection_mutex, NULL); in drm_mode_getconnector() 2580 drm_modeset_unlock(&dev->mode_config.connection_mutex); in drm_mode_getconnector()
|
A D | drm_hdcp.c | 415 WARN_ON(!drm_modeset_is_locked(&dev->mode_config.connection_mutex)); in drm_hdcp_update_content_protection()
|
A D | drm_atomic_uapi.c | 897 WARN_ON(!drm_modeset_is_locked(&dev->mode_config.connection_mutex)); in drm_atomic_get_property() 958 ret = drm_modeset_lock(&state->dev->mode_config.connection_mutex, in drm_atomic_connector_commit_dpms()
|
A D | drm_crtc_helper.c | 109 WARN_ON(!drm_modeset_is_locked(&dev->mode_config.connection_mutex)); in drm_helper_encoder_in_use()
|
A D | drm_atomic_helper.c | 669 WARN_ON(!drm_modeset_is_locked(&dev->mode_config.connection_mutex)); in drm_atomic_helper_check_modeset()
|
/linux/drivers/gpu/drm/nouveau/ |
A D | nouveau_backlight.c | 162 ret = drm_modeset_lock(&dev->mode_config.connection_mutex, &ctx); in nv50_edp_get_brightness() 205 ret = drm_modeset_lock(&dev->mode_config.connection_mutex, &ctx); in nv50_edp_set_brightness()
|
/linux/include/drm/ |
A D | drm_mode_config.h | 384 struct drm_modeset_lock connection_mutex; member
|
/linux/drivers/gpu/drm/i915/display/ |
A D | intel_connector.c | 169 !drm_modeset_is_locked(&dev->mode_config.connection_mutex)); in intel_connector_get_pipe()
|
A D | intel_opregion.c | 442 drm_modeset_lock(&dev->mode_config.connection_mutex, NULL); in asle_set_backlight() 456 drm_modeset_unlock(&dev->mode_config.connection_mutex); in asle_set_backlight()
|
A D | intel_display_debugfs.c | 2197 ret = drm_modeset_lock_single_interruptible(&i915->drm.mode_config.connection_mutex); in i915_hdcp_sink_capability_show() 2211 drm_modeset_unlock(&i915->drm.mode_config.connection_mutex); in i915_hdcp_sink_capability_show() 2282 ret = drm_modeset_lock(&dev->mode_config.connection_mutex, in i915_dsc_fec_support_show() 2384 ret = drm_modeset_lock_single_interruptible(&dev->mode_config.connection_mutex); in i915_dsc_bpp_show() 2397 out: drm_modeset_unlock(&dev->mode_config.connection_mutex); in i915_dsc_bpp_show()
|
A D | intel_backlight.c | 877 drm_modeset_lock(&dev->mode_config.connection_mutex, NULL); in intel_backlight_device_update_status() 899 drm_modeset_unlock(&dev->mode_config.connection_mutex); in intel_backlight_device_update_status() 914 drm_modeset_lock(&dev->mode_config.connection_mutex, NULL); in intel_backlight_device_get_brightness() 920 drm_modeset_unlock(&dev->mode_config.connection_mutex); in intel_backlight_device_get_brightness()
|
A D | intel_overlay.c | 797 !drm_modeset_is_locked(&dev_priv->drm.mode_config.connection_mutex)); in intel_overlay_do_put_image() 902 !drm_modeset_is_locked(&dev_priv->drm.mode_config.connection_mutex)); in intel_overlay_switch_off()
|
A D | intel_hdcp.c | 1092 drm_modeset_lock(&dev_priv->drm.mode_config.connection_mutex, NULL); in intel_hdcp_prop_work() 1105 drm_modeset_unlock(&dev_priv->drm.mode_config.connection_mutex); in intel_hdcp_prop_work()
|
A D | intel_dp.c | 3772 ret = drm_modeset_lock(&dev_priv->drm.mode_config.connection_mutex, in intel_dp_retrain_link() 3887 ret = drm_modeset_lock(&dev_priv->drm.mode_config.connection_mutex, in intel_dp_do_phy_test() 4320 !drm_modeset_is_locked(&dev_priv->drm.mode_config.connection_mutex)); in intel_dp_detect()
|
/linux/drivers/gpu/drm/bridge/cadence/ |
A D | cdns-mhdp8546-hdcp.c | 492 drm_modeset_lock(&dev->mode_config.connection_mutex, NULL); in cdns_mhdp_hdcp_prop_work() 499 drm_modeset_unlock(&dev->mode_config.connection_mutex); in cdns_mhdp_hdcp_prop_work()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_drv.c | 2381 drm_modeset_lock(&drm_dev->mode_config.connection_mutex, NULL); in amdgpu_pmops_runtime_idle() 2393 drm_modeset_unlock(&drm_dev->mode_config.connection_mutex); in amdgpu_pmops_runtime_idle()
|