/drivers/gpu/drm/ |
D | drm_crtc_helper.c | 61 &dev->mode_config.connector_list, head) { in drm_helper_move_panel_connectors_to_head() 67 list_splice(&panel_list, &dev->mode_config.connector_list); in drm_helper_move_panel_connectors_to_head() 144 if (drm_kms_helper_poll != dev->mode_config.poll_running) in drm_helper_probe_single_connector_modes() 147 dev->mode_config.poll_running = drm_kms_helper_poll; in drm_helper_probe_single_connector_modes() 223 list_for_each_entry(connector, &dev->mode_config.connector_list, head) in drm_helper_encoder_in_use() 247 list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) in drm_helper_crtc_in_use() 281 list_for_each_entry(connector, &dev->mode_config.connector_list, head) { in drm_helper_disable_unused_functions() 288 list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) { in drm_helper_disable_unused_functions() 296 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in drm_helper_disable_unused_functions() 328 list_for_each_entry(tmp, &dev->mode_config.crtc_list, head) { in drm_encoder_crtc_ok() [all …]
|
D | drm_crtc.c | 51 mutex_lock(&dev->mode_config.mutex); in drm_modeset_lock_all() 53 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) in drm_modeset_lock_all() 54 mutex_lock_nest_lock(&crtc->mutex, &dev->mode_config.mutex); in drm_modeset_lock_all() 66 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) in drm_modeset_unlock_all() 69 mutex_unlock(&dev->mode_config.mutex); in drm_modeset_unlock_all() 85 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) in drm_warn_on_modeset_not_all_locked() 88 WARN_ON(!mutex_is_locked(&dev->mode_config.mutex)); in drm_warn_on_modeset_not_all_locked() 273 mutex_lock(&dev->mode_config.idr_mutex); in drm_mode_object_get() 274 ret = idr_alloc(&dev->mode_config.crtc_idr, obj, 1, 0, GFP_KERNEL); in drm_mode_object_get() 283 mutex_unlock(&dev->mode_config.idr_mutex); in drm_mode_object_get() [all …]
|
D | drm_fb_helper.c | 91 list_for_each_entry(connector, &dev->mode_config.connector_list, head) { in drm_fb_helper_single_add_all_connectors() 234 list_for_each_entry(c, &dev->mode_config.crtc_list, head) { in drm_mode_config_fb() 349 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in drm_fb_helper_is_bound() 421 dev->mode_config.dpms_property, dpms_mode); in drm_fb_helper_dpms() 509 …fb_helper->connector_info = kcalloc(dev->mode_config.num_connector, sizeof(struct drm_fb_helper_co… in drm_fb_helper_init() 528 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in drm_fb_helper_init() 1337 crtcs = kzalloc(dev->mode_config.num_connector * in drm_pick_crtcs() 1384 dev->mode_config.num_connector * in drm_pick_crtcs() 1405 width = dev->mode_config.max_width; in drm_setup_crtcs() 1406 height = dev->mode_config.max_height; in drm_setup_crtcs() [all …]
|
D | drm_sysfs.c | 165 ret = mutex_lock_interruptible(&connector->dev->mode_config.mutex); in status_show() 170 mutex_unlock(&connector->dev->mode_config.mutex); in status_show() 186 dev->mode_config.dpms_property, in dpms_show() 261 prop = dev->mode_config.dvi_i_subconnector_property; in subconnector_show() 267 prop = dev->mode_config.tv_subconnector_property; in subconnector_show() 302 prop = dev->mode_config.dvi_i_select_subconnector_property; in select_subconnector_show() 308 prop = dev->mode_config.tv_select_subconnector_property; in select_subconnector_show()
|
D | drm_fb_cma_helper.c | 215 ret = mutex_lock_interruptible(&dev->mode_config.mutex); in drm_fb_cma_debugfs_show() 221 mutex_unlock(&dev->mode_config.mutex); in drm_fb_cma_debugfs_show() 225 list_for_each_entry(fb, &dev->mode_config.fb_list, head) in drm_fb_cma_debugfs_show() 229 mutex_unlock(&dev->mode_config.mutex); in drm_fb_cma_debugfs_show() 313 dev->mode_config.fb_base = (resource_size_t)obj->paddr; in drm_fbdev_cma_create()
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_display.c | 234 list_for_each_entry(connector, &dev->mode_config.connector_list, head) { in nouveau_display_init() 254 list_for_each_entry(connector, &dev->mode_config.connector_list, head) { in nouveau_display_fini() 310 dev->mode_config.funcs = &nouveau_mode_config_funcs; in nouveau_display_create() 311 dev->mode_config.fb_base = pci_resource_start(dev->pdev, 1); in nouveau_display_create() 313 dev->mode_config.min_width = 0; in nouveau_display_create() 314 dev->mode_config.min_height = 0; in nouveau_display_create() 316 dev->mode_config.max_width = 2048; in nouveau_display_create() 317 dev->mode_config.max_height = 2048; in nouveau_display_create() 320 dev->mode_config.max_width = 4096; in nouveau_display_create() 321 dev->mode_config.max_height = 4096; in nouveau_display_create() [all …]
|
/drivers/staging/imx-drm/ |
D | imx-fb.c | 35 dev->mode_config.min_width = 64; in imx_drm_mode_config_init() 36 dev->mode_config.min_height = 64; in imx_drm_mode_config_init() 43 dev->mode_config.max_width = 4096; in imx_drm_mode_config_init() 44 dev->mode_config.max_height = 4096; in imx_drm_mode_config_init() 46 dev->mode_config.funcs = &imx_drm_mode_config_funcs; in imx_drm_mode_config_init()
|
/drivers/gpu/drm/nouveau/dispnv04/ |
D | disp.c | 120 &dev->mode_config.connector_list, head) { in nv04_display_create() 128 list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) { in nv04_display_create() 134 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) in nv04_display_create() 137 list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) { in nv04_display_create() 154 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv04_display_destroy() 163 list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) { in nv04_display_destroy() 169 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) in nv04_display_destroy() 192 list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) { in nv04_display_init() 198 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) in nv04_display_init()
|
/drivers/gpu/drm/shmobile/ |
D | shmob_drm_kms.c | 151 sdev->ddev->mode_config.min_width = 0; in shmob_drm_modeset_init() 152 sdev->ddev->mode_config.min_height = 0; in shmob_drm_modeset_init() 153 sdev->ddev->mode_config.max_width = 4095; in shmob_drm_modeset_init() 154 sdev->ddev->mode_config.max_height = 4095; in shmob_drm_modeset_init() 155 sdev->ddev->mode_config.funcs = &shmob_drm_mode_config_funcs; in shmob_drm_modeset_init()
|
/drivers/gpu/drm/radeon/ |
D | radeon_encoders.c | 60 list_for_each_entry(clone_encoder, &dev->mode_config.encoder_list, head) { in radeon_encoder_clones() 80 list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) { in radeon_setup_encoder_clones() 171 list_for_each_entry(connector, &dev->mode_config.connector_list, head) { in radeon_link_encoder_connector() 173 list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) { in radeon_link_encoder_connector() 195 list_for_each_entry(connector, &dev->mode_config.connector_list, head) { in radeon_encoder_set_active_device() 214 list_for_each_entry(connector, &dev->mode_config.connector_list, head) { in radeon_get_connector_for_encoder() 230 list_for_each_entry(connector, &dev->mode_config.connector_list, head) { in radeon_get_connector_for_encoder_init() 248 list_for_each_entry(other_encoder, &dev->mode_config.encoder_list, head) { in radeon_get_external_encoder()
|
D | radeon_irq_kms.c | 73 struct drm_mode_config *mode_config = &dev->mode_config; in radeon_hotplug_work_func() local 76 if (mode_config->num_connector) { in radeon_hotplug_work_func() 77 list_for_each_entry(connector, &mode_config->connector_list, head) in radeon_hotplug_work_func()
|
/drivers/gpu/drm/exynos/ |
D | exynos_drm_encoder.c | 47 list_for_each_entry(connector, &dev->mode_config.connector_list, head) { in exynos_drm_connector_power() 109 list_for_each_entry(connector, &dev->mode_config.connector_list, head) { in exynos_drm_encoder_mode_fixup() 131 list_for_each_entry(plane, &dev->mode_config.plane_list, head) { in disable_plane_to_crtc() 160 list_for_each_entry(connector, &dev->mode_config.connector_list, head) { in exynos_drm_encoder_mode_set() 234 list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) { in exynos_drm_encoder_complete_scanout() 257 list_for_each_entry(plane, &dev->mode_config.plane_list, head) { in exynos_drm_encoder_disable() 299 list_for_each_entry(clone, &dev->mode_config.encoder_list, head) { in exynos_drm_encoder_clones() 320 list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) in exynos_drm_encoder_setup() 376 list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) { in exynos_drm_fn_encoder()
|
D | exynos_drm_fb.c | 326 dev->mode_config.min_width = 0; in exynos_drm_mode_config_init() 327 dev->mode_config.min_height = 0; in exynos_drm_mode_config_init() 334 dev->mode_config.max_width = 4096; in exynos_drm_mode_config_init() 335 dev->mode_config.max_height = 4096; in exynos_drm_mode_config_init() 337 dev->mode_config.funcs = &exynos_drm_mode_config_funcs; in exynos_drm_mode_config_init()
|
D | exynos_drm_fbdev.c | 125 dev->mode_config.fb_base = (resource_size_t)buffer->dma_addr; in exynos_drm_fbdev_update() 243 if (!dev->mode_config.num_crtc || !dev->mode_config.num_connector) in exynos_drm_fbdev_init() 255 num_crtc = dev->mode_config.num_crtc; in exynos_drm_fbdev_init()
|
/drivers/gpu/host1x/drm/ |
D | fb.c | 231 drm->mode_config.fb_base = (resource_size_t)bo->paddr; in tegra_fbdev_probe() 342 drm->mode_config.min_width = 0; in tegra_drm_fb_init() 343 drm->mode_config.min_height = 0; in tegra_drm_fb_init() 345 drm->mode_config.max_width = 4096; in tegra_drm_fb_init() 346 drm->mode_config.max_height = 4096; in tegra_drm_fb_init() 348 drm->mode_config.funcs = &tegra_drm_mode_funcs; in tegra_drm_fb_init() 350 fbdev = tegra_fbdev_create(drm, 32, drm->mode_config.num_crtc, in tegra_drm_fb_init() 351 drm->mode_config.num_connector); in tegra_drm_fb_init()
|
D | drm.c | 260 err = drm_vblank_init(drm, drm->mode_config.num_crtc); in tegra_drm_load() 515 list_for_each_entry(crtc, &drm->mode_config.crtc_list, head) { in tegra_crtc_from_pipe() 559 list_for_each_entry(crtc, &drm->mode_config.crtc_list, head) in tegra_drm_preclose() 575 mutex_lock(&drm->mode_config.fb_lock); in tegra_debugfs_framebuffers() 577 list_for_each_entry(fb, &drm->mode_config.fb_list, head) { in tegra_debugfs_framebuffers() 584 mutex_unlock(&drm->mode_config.fb_lock); in tegra_debugfs_framebuffers()
|
/drivers/gpu/drm/ast/ |
D | ast_main.c | 357 dev->mode_config.funcs = (void *)&ast_mode_funcs; in ast_driver_load() 358 dev->mode_config.min_width = 0; in ast_driver_load() 359 dev->mode_config.min_height = 0; in ast_driver_load() 360 dev->mode_config.preferred_depth = 24; in ast_driver_load() 361 dev->mode_config.prefer_shadow = 1; in ast_driver_load() 367 dev->mode_config.max_width = 1920; in ast_driver_load() 368 dev->mode_config.max_height = 2048; in ast_driver_load() 370 dev->mode_config.max_width = 1600; in ast_driver_load() 371 dev->mode_config.max_height = 1200; in ast_driver_load()
|
/drivers/gpu/drm/udl/ |
D | udl_modeset.c | 418 dev->mode_config.min_width = 640; in udl_modeset_init() 419 dev->mode_config.min_height = 480; in udl_modeset_init() 421 dev->mode_config.max_width = 2048; in udl_modeset_init() 422 dev->mode_config.max_height = 2048; in udl_modeset_init() 424 dev->mode_config.prefer_shadow = 0; in udl_modeset_init() 425 dev->mode_config.preferred_depth = 24; in udl_modeset_init() 427 dev->mode_config.funcs = &udl_mode_funcs; in udl_modeset_init()
|
/drivers/media/i2c/ |
D | adv7343.c | 228 val = state->pdata->mode_config.sleep_mode << 0 | in adv7343_setoutput() 229 state->pdata->mode_config.pll_control << 1 | in adv7343_setoutput() 230 state->pdata->mode_config.dac_3 << 2 | in adv7343_setoutput() 231 state->pdata->mode_config.dac_2 << 3 | in adv7343_setoutput() 232 state->pdata->mode_config.dac_1 << 4 | in adv7343_setoutput() 233 state->pdata->mode_config.dac_6 << 5 | in adv7343_setoutput() 234 state->pdata->mode_config.dac_5 << 6 | in adv7343_setoutput() 235 state->pdata->mode_config.dac_4 << 7; in adv7343_setoutput()
|
/drivers/gpu/drm/omapdrm/ |
D | omap_debugfs.c | 64 mutex_lock(&dev->mode_config.fb_lock); in fb_show() 65 list_for_each_entry(fb, &dev->mode_config.fb_list, head) { in fb_show() 72 mutex_unlock(&dev->mode_config.fb_lock); in fb_show()
|
/drivers/gpu/drm/gma500/ |
D | framebuffer.c | 451 info->fix.smem_start = dev->mode_config.fb_base; in psbfb_create() 466 info->apertures->ranges[0].base = dev->mode_config.fb_base; in psbfb_create() 706 list_for_each_entry(connector, &dev->mode_config.connector_list, in psb_setup_outputs() 761 dev->mode_config.min_width = 0; in psb_modeset_init() 762 dev->mode_config.min_height = 0; in psb_modeset_init() 764 dev->mode_config.funcs = &psb_mode_funcs; in psb_modeset_init() 769 &(dev->mode_config.fb_base)); in psb_modeset_init() 775 dev->mode_config.max_width = 4096; in psb_modeset_init() 776 dev->mode_config.max_height = 4096; in psb_modeset_init()
|
D | oaktrail_lvds.c | 99 struct drm_mode_config *mode_config = &dev->mode_config; in oaktrail_lvds_mode_set() local 126 list_for_each_entry(connector, &mode_config->connector_list, head) { in oaktrail_lvds_mode_set() 138 dev->mode_config.scaling_mode_property, in oaktrail_lvds_mode_set() 367 dev->mode_config.scaling_mode_property, in oaktrail_lvds_init()
|
D | psb_device.c | 198 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in psb_save_display_registers() 203 list_for_each_entry(connector, &dev->mode_config.connector_list, head) in psb_save_display_registers() 238 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) in psb_restore_display_registers() 242 list_for_each_entry(connector, &dev->mode_config.connector_list, head) in psb_restore_display_registers()
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_kms.c | 388 mutex_lock(&dev->mode_config.mutex); in vmw_kms_cursor_post_execbuf() 390 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in vmw_kms_cursor_post_execbuf() 402 mutex_unlock(&dev->mode_config.mutex); in vmw_kms_cursor_post_execbuf() 467 list_for_each_entry(crtc, &dev_priv->dev->mode_config.crtc_list, in do_surface_dirty_sou() 876 list_for_each_entry(crtc, &dev_priv->dev->mode_config.crtc_list, head) { in do_dmabuf_dirty_sou() 1231 list_for_each_entry(crtc, &dev_priv->dev->mode_config.crtc_list, head) { in vmw_kms_present() 1368 list_for_each_entry(crtc, &dev_priv->dev->mode_config.crtc_list, head) { in vmw_kms_readback() 1456 dev->mode_config.funcs = &vmw_kms_funcs; in vmw_kms_init() 1457 dev->mode_config.min_width = 1; in vmw_kms_init() 1458 dev->mode_config.min_height = 1; in vmw_kms_init() [all …]
|
/drivers/gpu/drm/tilcdc/ |
D | tilcdc_drv.c | 84 dev->mode_config.min_width = 0; in modeset_init() 85 dev->mode_config.min_height = 0; in modeset_init() 86 dev->mode_config.max_width = tilcdc_crtc_max_width(priv->crtc); in modeset_init() 87 dev->mode_config.max_height = 2048; in modeset_init() 88 dev->mode_config.funcs = &mode_config_funcs; in modeset_init() 260 dev->mode_config.num_crtc, in tilcdc_load() 261 dev->mode_config.num_connector); in tilcdc_load()
|