Searched refs:drm_dev (Results 1 – 6 of 6) sorted by relevance
| /freebsd/sys/arm/nvidia/drm2/ |
| H A D | tegra_host1x.c | 113 host1x_output_poll_changed(struct drm_device *drm_dev) in host1x_output_poll_changed() argument 117 drm = container_of(drm_dev, struct tegra_drm, drm_dev); in host1x_output_poll_changed() 190 host1x_drm_load(struct drm_device *drm_dev, unsigned long flags) in host1x_drm_load() argument 195 sc = device_get_softc(drm_dev->dev); in host1x_drm_load() 197 drm_mode_config_init(drm_dev); in host1x_drm_load() 198 drm_dev->mode_config.min_width = 32; in host1x_drm_load() 199 drm_dev->mode_config.min_height = 32; in host1x_drm_load() 200 drm_dev->mode_config.max_width = 4096; in host1x_drm_load() 201 drm_dev->mode_config.max_height = 4096; in host1x_drm_load() 202 drm_dev->mode_config.funcs = &mode_config_funcs; in host1x_drm_load() [all …]
|
| H A D | tegra_fb.c | 124 struct drm_device *drm_dev; in tegra_fb_probe() local 133 drm_dev = helper->dev; in tegra_fb_probe() 135 drm = container_of(drm_dev, struct tegra_drm, drm_dev); in tegra_fb_probe() 148 DRM_LOCK(drm_dev); in tegra_fb_probe() 149 rv = tegra_bo_create(drm_dev, size, &bo); in tegra_fb_probe() 150 DRM_UNLOCK(drm_dev); in tegra_fb_probe() 156 device_printf(drm_dev->dev, in tegra_fb_probe() 162 rv = fb_alloc(drm_dev, &mode_cmd, &bo, 1, &fb); in tegra_fb_probe() 164 device_printf(drm_dev->dev, in tegra_fb_probe() 200 tegra_drm_fb_getinfo(struct drm_device *drm_dev) in tegra_drm_fb_getinfo() argument [all …]
|
| H A D | tegra_bo.c | 261 tegra_bo_dumb_create(struct drm_file *file, struct drm_device *drm_dev, in tegra_bo_dumb_create() argument 268 drm = container_of(drm_dev, struct tegra_drm, drm_dev); in tegra_bo_dumb_create() 273 rv = tegra_bo_create_with_handle(file, drm_dev, args->size, in tegra_bo_dumb_create() 281 struct drm_device *drm_dev, uint32_t handle, uint64_t *offset) in tegra_bo_dumb_map_offset() argument 286 DRM_LOCK(drm_dev); in tegra_bo_dumb_map_offset() 287 gem_obj = drm_gem_object_lookup(drm_dev, file_priv, handle); in tegra_bo_dumb_map_offset() 289 device_printf(drm_dev->dev, "Object not found\n"); in tegra_bo_dumb_map_offset() 290 DRM_UNLOCK(drm_dev); in tegra_bo_dumb_map_offset() 301 DRM_UNLOCK(drm_dev); in tegra_bo_dumb_map_offset() 306 DRM_UNLOCK(drm_dev); in tegra_bo_dumb_map_offset() [all …]
|
| H A D | tegra_drm.h | 84 struct drm_device drm_dev; member
|
| H A D | tegra_hdmi.c | 1021 drm_connector_init(&drm->drm_dev, &sc->output.connector, in hdmi_init_client() 1029 drm_encoder_init(&drm->drm_dev, &sc->output.encoder, in hdmi_init_client()
|
| H A D | tegra_dc.c | 1105 rv = drm_plane_init(&drm->drm_dev, &plane->drm_plane, in dc_init_planes() 1199 drm_crtc_init(&drm->drm_dev, &sc->tegra_crtc.drm_crtc, &dc_crtc_funcs); in dc_init_client()
|