/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/ |
D | drm_mode_config.c | 126 card_res->max_height = dev->mode_config.max_height; in drm_mode_getresources() 127 card_res->min_height = dev->mode_config.min_height; in drm_mode_getresources() 128 card_res->max_width = dev->mode_config.max_width; in drm_mode_getresources() 129 card_res->min_width = dev->mode_config.min_width; in drm_mode_getresources() 231 dev->mode_config.plane_type_property = prop; in drm_mode_create_standard_properties() 237 dev->mode_config.prop_src_x = prop; in drm_mode_create_standard_properties() 243 dev->mode_config.prop_src_y = prop; in drm_mode_create_standard_properties() 249 dev->mode_config.prop_src_w = prop; in drm_mode_create_standard_properties() 255 dev->mode_config.prop_src_h = prop; in drm_mode_create_standard_properties() 261 dev->mode_config.prop_crtc_x = prop; in drm_mode_create_standard_properties() [all …]
|
D | drm_lease.c | 51 lockdep_assert_held(&master->dev->mode_config.idr_mutex); in _drm_find_lessee() 68 lockdep_assert_held(&master->dev->mode_config.idr_mutex); in _drm_lease_held_master() 90 lockdep_assert_held(&master->dev->mode_config.idr_mutex); in _drm_has_leased() 136 mutex_lock(&master->dev->mode_config.idr_mutex); in drm_lease_held() 138 mutex_unlock(&master->dev->mode_config.idr_mutex); in drm_lease_held() 166 mutex_lock(&master->dev->mode_config.idr_mutex); in drm_lease_filter_crtcs() 167 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) in drm_lease_filter_crtcs() 181 mutex_unlock(&master->dev->mode_config.idr_mutex); in drm_lease_filter_crtcs() 217 mutex_lock(&dev->mode_config.idr_mutex); in drm_lease_create() 222 if (!idr_find(&dev->mode_config.object_idr, object)) { in drm_lease_create() [all …]
|
D | drm_ioctl.c | 272 req->value = dev->mode_config.preferred_depth; in drm_getcap() 275 req->value = dev->mode_config.prefer_shadow; in drm_getcap() 278 req->value = dev->mode_config.async_page_flip; in drm_getcap() 290 if (dev->mode_config.cursor_width) { in drm_getcap() 291 req->value = dev->mode_config.cursor_width; in drm_getcap() 297 if (dev->mode_config.cursor_height) { in drm_getcap() 298 req->value = dev->mode_config.cursor_height; in drm_getcap() 304 req->value = dev->mode_config.allow_fb_modifiers; in drm_getcap()
|
D | drm_fourcc.c | 115 if (dev->mode_config.quirk_addfb_prefer_host_byte_order) { in drm_driver_legacy_fb_format() 130 if (dev->mode_config.quirk_addfb_prefer_xbgr_30bpp && fmt == DRM_FORMAT_XRGB2101010) { in drm_driver_legacy_fb_format() 785 if (dev->mode_config.funcs->get_format_info) { in drm_get_format_info() 786 info = dev->mode_config.funcs->get_format_info(mode_cmd); in drm_get_format_info()
|
D | drm_atomic_uapi.c | 394 struct drm_mode_config *config = &dev->mode_config; in drm_atomic_crtc_set_property() 456 struct drm_mode_config *config = &dev->mode_config; in drm_atomic_crtc_get_property() 489 struct drm_mode_config *config = &dev->mode_config; in drm_atomic_plane_set_property() 572 struct drm_mode_config *config = &dev->mode_config; in drm_atomic_plane_get_property() 641 struct drm_mode_config *config = &dev->mode_config; in drm_atomic_connector_set_property() 748 struct drm_mode_config *config = &dev->mode_config; in drm_atomic_connector_get_property() 823 WARN_ON(!drm_modeset_is_locked(&dev->mode_config.connection_mutex)); in drm_atomic_get_property() 879 ret = drm_modeset_lock(&state->dev->mode_config.connection_mutex, state->acquire_ctx); in drm_atomic_connector_commit_dpms()
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_fb.c | 231 if (fb_helper && dev->mode_config.poll_enabled && !private->loader_protect) { in rockchip_drm_output_poll_changed() 258 dev->mode_config.min_width = 0; in rockchip_drm_mode_config_init() 259 dev->mode_config.min_height = 0; in rockchip_drm_mode_config_init() 266 dev->mode_config.max_width = 0x4000; in rockchip_drm_mode_config_init() 267 dev->mode_config.max_height = 0x4000; in rockchip_drm_mode_config_init() 268 dev->mode_config.async_page_flip = true; in rockchip_drm_mode_config_init() 270 dev->mode_config.funcs = &rockchip_drm_mode_config_funcs; in rockchip_drm_mode_config_init() 271 dev->mode_config.helper_private = &rockchip_mode_config_helpers; in rockchip_drm_mode_config_init()
|
D | rockchip_drm_logo.c | 477 WARN_ON(!mutex_is_locked(&dev->mode_config.mutex)); in rockchip_drm_fill_connector_modes() 516 dev->mode_config.delayed_event = true; in rockchip_drm_fill_connector_modes() 517 if (dev->mode_config.poll_enabled) { in rockchip_drm_fill_connector_modes() 518 schedule_delayed_work(&dev->mode_config.output_poll_work, 0); in rockchip_drm_fill_connector_modes() 524 if (!dev->mode_config.poll_running) { in rockchip_drm_fill_connector_modes() 528 dev->mode_config.poll_running = true; in rockchip_drm_fill_connector_modes() 862 struct drm_mode_config *mode_config = &drm_dev->mode_config; in rockchip_drm_show_logo() local 893 state->acquire_ctx = mode_config->acquire_ctx; in rockchip_drm_show_logo() 967 old_state = drm_atomic_helper_duplicate_state(drm_dev, mode_config->acquire_ctx); in rockchip_drm_show_logo() 974 state = drm_atomic_helper_duplicate_state(drm_dev, mode_config->acquire_ctx); in rockchip_drm_show_logo() [all …]
|
D | rockchip_drm_fbdev.c | 87 dev->mode_config.fb_base = 0; in rockchip_drm_fbdev_create() 112 if (!dev->mode_config.num_crtc || !dev->mode_config.num_connector) { in rockchip_drm_fbdev_init()
|
D | rockchip_drm_drv.c | 1114 struct drm_mode_config *conf = &drm->mode_config; in rockchip_attach_connector_property() 1117 mutex_lock(&drm->mode_config.mutex); in rockchip_attach_connector_property() 1132 mutex_unlock(&drm->mode_config.mutex); in rockchip_attach_connector_property() 1138 struct drm_mode_config *conf = &drm->mode_config; in rockchip_drm_set_property_default() 1291 ret = drm_vblank_init(drm_dev, drm_dev->mode_config.num_crtc); in rockchip_drm_bind() 1321 drm_dev->mode_config.allow_fb_modifiers = true; in rockchip_drm_bind() 1388 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) in rockchip_drm_postclose()
|
D | rockchip_drm_vop.c | 3908 struct drm_mode_config *mode_config = &drm_dev->mode_config; in vop_crtc_atomic_get_property() local 3912 if (property == mode_config->tv_left_margin_property) { in vop_crtc_atomic_get_property() 3917 if (property == mode_config->tv_right_margin_property) { in vop_crtc_atomic_get_property() 3922 if (property == mode_config->tv_top_margin_property) { in vop_crtc_atomic_get_property() 3927 if (property == mode_config->tv_bottom_margin_property) { in vop_crtc_atomic_get_property() 3957 struct drm_mode_config *mode_config = &drm_dev->mode_config; in vop_crtc_atomic_set_property() local 3961 if (property == mode_config->tv_left_margin_property) { in vop_crtc_atomic_set_property() 3966 if (property == mode_config->tv_right_margin_property) { in vop_crtc_atomic_set_property() 3971 if (property == mode_config->tv_top_margin_property) { in vop_crtc_atomic_set_property() 3976 if (property == mode_config->tv_bottom_margin_property) { in vop_crtc_atomic_set_property() [all …]
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/drm/ |
D | sunxi_drm_sysfs.c | 112 mutex_lock(&dev->mode_config.fb_lock); 120 mutex_unlock(&dev->mode_config.fb_lock); 209 mutex_lock(&dev->mode_config.fb_lock); 210 n += sprintf(buf + n, "fb num:%d\n", dev->mode_config.num_fb); 213 mutex_unlock(&dev->mode_config.fb_lock);
|
D | sunxi_drm_drv.c | 231 mutex_lock(&dev->mode_config.mutex); in sunxi_drm_force_set_plane() 245 mutex_unlock(&dev->mode_config.mutex); in sunxi_drm_force_set_plane() 705 dev->mode_config.min_width = 0; in sunxi_drm_mode_config_init() 706 dev->mode_config.min_height = 0; in sunxi_drm_mode_config_init() 709 dev->mode_config.max_width = 8192; in sunxi_drm_mode_config_init() 710 dev->mode_config.max_height = 8192; in sunxi_drm_mode_config_init() 712 dev->mode_config.funcs = &sunxi_drm_mode_config_funcs; in sunxi_drm_mode_config_init() 757 ret = drm_vblank_init(dev, dev->mode_config.num_crtc); in sunxi_drm_load() 1038 list_for_each_entry(conct, &device->mode_config.connector_list, head) in sunxi_drm_suspend() 1058 list_for_each_entry(conct, &device->mode_config.connector_list, head) in sunxi_drm_resume()
|
D | sunxi_drm_encoder.c | 43 list_for_each_entry(connector, &dev->mode_config.connector_list, head) { in sunxi_drm_encoder_in_use() 56 list_for_each_entry(connector, &dev->mode_config.connector_list, head) { in sunxi_drm_encoder_get_attached_connector_id() 328 &dev->mode_config.crtc_list, head) { in sunxi_drm_encoder_init()
|
D | sunxi_drm_fbdev.c | 224 dev->mode_config.fb_base = (resource_size_t)obj->dma_addr; in sunxi_drm_fbdev_create_with_funcs() 558 num_crtc = dev->mode_config.num_crtc; in sunxi_drm_fbdev_init() 559 num_connector = dev->mode_config.num_connector; in sunxi_drm_fbdev_init()
|
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_logo.c | 448 WARN_ON(!mutex_is_locked(&dev->mode_config.mutex)); in rockchip_drm_fill_connector_modes() 489 dev->mode_config.delayed_event = true; in rockchip_drm_fill_connector_modes() 490 if (dev->mode_config.poll_enabled) in rockchip_drm_fill_connector_modes() 491 schedule_delayed_work(&dev->mode_config.output_poll_work, in rockchip_drm_fill_connector_modes() 497 if (!dev->mode_config.poll_running) in rockchip_drm_fill_connector_modes() 500 dev->mode_config.poll_running = true; in rockchip_drm_fill_connector_modes() 823 struct drm_mode_config *mode_config = &drm_dev->mode_config; in rockchip_drm_show_logo() local 854 state->acquire_ctx = mode_config->acquire_ctx; in rockchip_drm_show_logo() 925 mode_config->acquire_ctx); in rockchip_drm_show_logo() 933 mode_config->acquire_ctx); in rockchip_drm_show_logo() [all …]
|
/device/board/isoftstone/yangfan/kernel/src/driv/gpu/rockchip/ |
D | rockchip_drm_logo.c | 494 WARN_ON(!mutex_is_locked(&dev->mode_config.mutex)); in rockchip_drm_fill_connector_modes() 537 dev->mode_config.delayed_event = true; in rockchip_drm_fill_connector_modes() 538 if (dev->mode_config.poll_enabled) in rockchip_drm_fill_connector_modes() 539 schedule_delayed_work(&dev->mode_config.output_poll_work, in rockchip_drm_fill_connector_modes() 545 if (!dev->mode_config.poll_running) in rockchip_drm_fill_connector_modes() 548 dev->mode_config.poll_running = true; in rockchip_drm_fill_connector_modes() 874 struct drm_mode_config *mode_config = &drm_dev->mode_config; in rockchip_drm_show_logo() local 905 state->acquire_ctx = mode_config->acquire_ctx; in rockchip_drm_show_logo() 976 mode_config->acquire_ctx); in rockchip_drm_show_logo() 984 mode_config->acquire_ctx); in rockchip_drm_show_logo() [all …]
|
D | rockchip_drm_direct_show.c | 252 struct drm_mode_config *conf = &drm->mode_config; in rockchip_drm_direct_show_commit() 296 struct drm_mode_config *conf = &drm->mode_config; in rockchip_drm_direct_show_disable_plane()
|
D | rockchip_drm_backlight.c | 305 mutex_lock(&drm_dev->mode_config.mutex); in rockchip_drm_backlight_bind() 319 mutex_unlock(&drm_dev->mode_config.mutex); in rockchip_drm_backlight_bind()
|
/device/soc/rockchip/rk3588/kernel/drivers/soc/rockchip/ |
D | rockchip_pm_config.c | 162 u32 mode_config = 0; in pm_config_probe() local 188 &mode_config, 1)) in pm_config_probe() 191 sip_smc_set_suspend_mode(SUSPEND_MODE_CONFIG, mode_config, 0); in pm_config_probe()
|
/device/board/isoftstone/yangfan/kernel/src/driv/soc/ |
D | rockchip_pm_config.c | 161 u32 mode_config = 0; in pm_config_probe() local 187 &mode_config, 1)) in pm_config_probe() 190 sip_smc_set_suspend_mode(SUSPEND_MODE_CONFIG, mode_config, 0); in pm_config_probe()
|
/device/soc/asrmicro/asr582x/liteos_m/sdk/drivers/driver/src/ |
D | duet_psram.c | 49 int mode_config = -1; variable 278 if (mode_config != mode) { in psram_config() 289 mode_config = mode; in psram_config()
|
/device/soc/rockchip/common/sdk_linux/include/drm/ |
D | drm_drv.h | 696 (dev->mode_config.funcs && dev->mode_config.funcs->atomic_commit != NULL); in drm_drv_uses_atomic_modeset()
|
D | drm_crtc.h | 1247 #define drm_for_each_crtc(crtc, dev) list_for_each_entry(crtc, &(dev)->mode_config.crtc_list, head)
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/nouveau/ |
D | nouveau_drm.c | 551 if (dev->mode_config.num_crtc) { in nouveau_drm_device_init() 610 if (dev->mode_config.num_crtc) { in nouveau_drm_device_fini() 798 if (dev->mode_config.num_crtc) { in nouveau_do_suspend() 848 if (dev->mode_config.num_crtc) { in nouveau_do_suspend() 874 if (dev->mode_config.num_crtc) { in nouveau_do_resume()
|
/device/soc/rockchip/rk3588/kernel/include/uapi/gpu/arm/bifrost/ |
D | mali_kbase_hwcnt_reader.h | 254 } mode_config; member
|