/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_drm.c | 218 nouveau_cli_init(struct nouveau_drm *drm, const char *sname, in nouveau_cli_init() 312 nouveau_accel_ce_fini(struct nouveau_drm *drm) in nouveau_accel_ce_fini() 320 nouveau_accel_ce_init(struct nouveau_drm *drm) in nouveau_accel_ce_init() 341 nouveau_accel_gr_fini(struct nouveau_drm *drm) in nouveau_accel_gr_fini() 350 nouveau_accel_gr_init(struct nouveau_drm *drm) in nouveau_accel_gr_init() 436 nouveau_accel_fini(struct nouveau_drm *drm) in nouveau_accel_fini() 446 nouveau_accel_init(struct nouveau_drm *drm) in nouveau_accel_init() 526 struct nouveau_drm *drm = container_of(object->parent, typeof(*drm), parent); in nouveau_drm_errorf() local 540 struct nouveau_drm *drm = container_of(object->parent, typeof(*drm), parent); in nouveau_drm_debugf() local 558 nouveau_drm_device_fini(struct nouveau_drm *drm) in nouveau_drm_device_fini() [all …]
|
H A D | nouveau_hwmon.c | 54 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_temp1_auto_point1_temp() local 66 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_set_temp1_auto_point1_temp() local 87 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_temp1_auto_point1_temp_hyst() local 99 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_set_temp1_auto_point1_temp_hyst() local 120 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_get_pwm1_max() local 136 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_get_pwm1_min() local 152 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_set_pwm1_min() local 175 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_set_pwm1_max() local 249 struct nouveau_drm *drm = nouveau_drm((struct drm_device *)data); in nouveau_power_is_visible() local 274 struct nouveau_drm *drm = nouveau_drm((struct drm_device *)data); in nouveau_temp_is_visible() local [all …]
|
H A D | nouveau_bo.c | 59 struct nouveau_drm *drm = nouveau_drm(dev); in nv10_bo_update_tile_region() local 78 struct nouveau_drm *drm = nouveau_drm(dev); in nv10_bo_get_tile_region() local 97 struct nouveau_drm *drm = nouveau_drm(dev); in nv10_bo_put_tile_region() local 111 struct nouveau_drm *drm = nouveau_drm(dev); in nv10_bo_set_tiling() local 139 struct nouveau_drm *drm = nouveau_bdev(bo->bdev); in nouveau_bo_del_ttm() local 177 struct nouveau_drm *drm = nouveau_bdev(nvbo->bo.bdev); in nouveau_bo_fixup_align() local 211 struct nouveau_drm *drm = cli->drm; in nouveau_bo_alloc() local 404 struct nouveau_drm *drm = nouveau_bdev(nvbo->bo.bdev); in set_placement_range() local 466 struct nouveau_drm *drm = nouveau_bdev(nvbo->bo.bdev); in nouveau_bo_pin_locked() local 539 struct nouveau_drm *drm = nouveau_bdev(nvbo->bo.bdev); in nouveau_bo_unpin_locked() local [all …]
|
H A D | nouveau_bios.c | 94 struct nouveau_drm *drm = nouveau_drm(dev); in run_digital_op_script() local 107 struct nouveau_drm *drm = nouveau_drm(dev); in call_lvds_manufacturer_script() local 147 struct nouveau_drm *drm = nouveau_drm(dev); in run_lvds_table() local 216 struct nouveau_drm *drm = nouveau_drm(dev); in call_lvds_script() local 270 struct nouveau_drm *drm = nouveau_drm(dev); in parse_lvds_manufacturer_table_header() local 320 struct nouveau_drm *drm = nouveau_drm(dev); in get_fp_strap() local 346 struct nouveau_drm *drm = nouveau_drm(dev); in parse_fp_mode_table() local 450 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_bios_fp_mode() local 521 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_bios_parse_lvds_table() local 636 struct nouveau_drm *drm = nouveau_drm(dev); in run_tmds_table() local [all …]
|
H A D | nouveau_ttm.c | 70 struct nouveau_drm *drm = nouveau_bdev(bo->bdev); in nouveau_vram_manager_new() local 105 struct nouveau_drm *drm = nouveau_bdev(bo->bdev); in nouveau_gart_manager_new() local 131 struct nouveau_drm *drm = nouveau_bdev(bo->bdev); in nv04_gart_manager_new() local 160 nouveau_ttm_init_host(struct nouveau_drm *drm, u8 kind) in nouveau_ttm_init_host() 181 nouveau_ttm_init_vram(struct nouveau_drm *drm) in nouveau_ttm_init_vram() 203 nouveau_ttm_fini_vram(struct nouveau_drm *drm) in nouveau_ttm_fini_vram() 218 nouveau_ttm_init_gtt(struct nouveau_drm *drm) in nouveau_ttm_init_gtt() 245 nouveau_ttm_fini_gtt(struct nouveau_drm *drm) in nouveau_ttm_fini_gtt() 262 nouveau_ttm_init(struct nouveau_drm *drm) in nouveau_ttm_init() 349 nouveau_ttm_fini(struct nouveau_drm *drm) in nouveau_ttm_fini()
|
H A D | nouveau_dmem.c | 69 struct nouveau_drm *drm; member 81 struct nouveau_drm *drm; member 141 static int nouveau_dmem_copy_one(struct nouveau_drm *drm, struct page *spage, in nouveau_dmem_copy_one() 163 struct nouveau_drm *drm = page_to_drm(vmf->page); in nouveau_dmem_migrate_to_ram() local 227 nouveau_dmem_chunk_alloc(struct nouveau_drm *drm, struct page **ppage) in nouveau_dmem_chunk_alloc() 307 nouveau_dmem_page_alloc_locked(struct nouveau_drm *drm) in nouveau_dmem_page_alloc_locked() 332 nouveau_dmem_page_free_locked(struct nouveau_drm *drm, struct page *page) in nouveau_dmem_page_free_locked() 339 nouveau_dmem_resume(struct nouveau_drm *drm) in nouveau_dmem_resume() 357 nouveau_dmem_suspend(struct nouveau_drm *drm) in nouveau_dmem_suspend() 417 nouveau_dmem_fini(struct nouveau_drm *drm) in nouveau_dmem_fini() [all …]
|
H A D | nouveau_vga.c | 14 struct nouveau_drm *drm = pci_get_drvdata(pdev); in nouveau_vga_set_decode() local 37 struct nouveau_drm *drm = pci_get_drvdata(pdev); in nouveau_switcheroo_set_state() local 60 struct nouveau_drm *drm = pci_get_drvdata(pdev); in nouveau_switcheroo_reprobe() local 69 struct nouveau_drm *drm = pci_get_drvdata(pdev); in nouveau_switcheroo_can_switch() local 87 nouveau_vga_init(struct nouveau_drm *drm) in nouveau_vga_init() 111 nouveau_vga_fini(struct nouveau_drm *drm) in nouveau_vga_fini()
|
H A D | nouveau_led.c | 40 struct nouveau_drm *drm = nouveau_drm(drm_dev); in nouveau_led_get_brightness() local 57 struct nouveau_drm *drm = nouveau_drm(drm_dev); in nouveau_led_set_brightness() local 80 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_led_init() local 115 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_led_suspend() local 124 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_led_resume() local 133 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_led_fini() local
|
H A D | nouveau_debugfs.c | 41 struct nouveau_drm *drm = nouveau_drm(node->minor->dev); in nouveau_debugfs_vbios_image() local 53 struct nouveau_drm *drm = nouveau_drm(node->minor->dev); in nouveau_debugfs_strap_peek() local 74 struct drm_device *drm = m->private; in nouveau_debugfs_pstate_get() local 146 struct drm_device *drm = m->private; in nouveau_debugfs_pstate_set() local 223 struct nouveau_drm *drm = nouveau_drm(node->minor->dev); in nouveau_debugfs_gpuva() local 269 struct nouveau_drm *drm = nouveau_drm(minor->dev); in nouveau_drm_debugfs_init() local 296 nouveau_debugfs_init(struct nouveau_drm *drm) in nouveau_debugfs_init() 308 nouveau_debugfs_fini(struct nouveau_drm *drm) in nouveau_debugfs_fini()
|
H A D | nouveau_dmem.h | 45 static inline void nouveau_dmem_init(struct nouveau_drm *drm) {} in nouveau_dmem_init() 46 static inline void nouveau_dmem_fini(struct nouveau_drm *drm) {} in nouveau_dmem_fini() 47 static inline void nouveau_dmem_suspend(struct nouveau_drm *drm) {} in nouveau_dmem_suspend() 48 static inline void nouveau_dmem_resume(struct nouveau_drm *drm) {} in nouveau_dmem_resume()
|
H A D | nouveau_display.c | 132 nouveau_decode_mod(struct nouveau_drm *drm, in nouveau_decode_mod() 169 struct nouveau_drm *drm = nouveau_drm(fb->dev); in nouveau_framebuffer_get_layout() local 191 nouveau_validate_decode_mod(struct nouveau_drm *drm, in nouveau_validate_decode_mod() 225 nouveau_check_bl_size(struct nouveau_drm *drm, struct nouveau_bo *nvbo, in nouveau_check_bl_size() 260 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_framebuffer_new() local 409 nouveau_display_hpd_resume(struct nouveau_drm *drm) in nouveau_display_hpd_resume() 424 struct nouveau_drm *drm = container_of(work, typeof(*drm), hpd_work); in nouveau_display_hpd_work() local 509 struct nouveau_drm *drm = container_of(nb, typeof(*drm), acpi_nb); in nouveau_display_acpi_ntfy() local 579 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_display_fini() local 645 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_display_create() local [all …]
|
/linux/drivers/gpu/drm/tegra/ |
H A D | drm.c | 46 static int tegra_atomic_check(struct drm_device *drm, in tegra_atomic_check() 64 static void tegra_atomic_post_commit(struct drm_device *drm, in tegra_atomic_post_commit() 77 struct drm_device *drm = old_state->dev; in tegra_atomic_commit_tail() local 103 static int tegra_drm_open(struct drm_device *drm, struct drm_file *filp) in tegra_drm_open() 129 struct drm_device *drm, in host1x_reloc_copy_from_user() 169 struct drm_tegra_submit *args, struct drm_device *drm, in tegra_drm_submit() 350 static int tegra_gem_create(struct drm_device *drm, void *data, in tegra_gem_create() 364 static int tegra_gem_mmap(struct drm_device *drm, void *data, in tegra_gem_mmap() 384 static int tegra_syncpt_read(struct drm_device *drm, void *data, in tegra_syncpt_read() 399 static int tegra_syncpt_incr(struct drm_device *drm, void *data, in tegra_syncpt_incr() [all …]
|
H A D | uapi.c | 76 int tegra_drm_ioctl_channel_open(struct drm_device *drm, void *data, struct drm_file *file) in tegra_drm_ioctl_channel_open() 162 int tegra_drm_ioctl_channel_close(struct drm_device *drm, void *data, struct drm_file *file) in tegra_drm_ioctl_channel_close() 185 int tegra_drm_ioctl_channel_map(struct drm_device *drm, void *data, struct drm_file *file) in tegra_drm_ioctl_channel_map() 272 int tegra_drm_ioctl_channel_unmap(struct drm_device *drm, void *data, struct drm_file *file) in tegra_drm_ioctl_channel_unmap() 298 int tegra_drm_ioctl_syncpoint_allocate(struct drm_device *drm, void *data, struct drm_file *file) in tegra_drm_ioctl_syncpoint_allocate() 324 int tegra_drm_ioctl_syncpoint_free(struct drm_device *drm, void *data, struct drm_file *file) in tegra_drm_ioctl_syncpoint_free() 342 int tegra_drm_ioctl_syncpoint_wait(struct drm_device *drm, void *data, struct drm_file *file) in tegra_drm_ioctl_syncpoint_wait()
|
H A D | gem.c | 299 static struct tegra_bo *tegra_bo_alloc_object(struct drm_device *drm, in tegra_bo_alloc_object() 331 static void tegra_bo_free(struct drm_device *drm, struct tegra_bo *bo) in tegra_bo_free() 343 static int tegra_bo_get_pages(struct drm_device *drm, struct tegra_bo *bo) in tegra_bo_get_pages() 373 static int tegra_bo_alloc(struct drm_device *drm, struct tegra_bo *bo) in tegra_bo_alloc() 404 struct tegra_bo *tegra_bo_create(struct drm_device *drm, size_t size, in tegra_bo_create() 433 struct drm_device *drm, in tegra_bo_create_with_handle() 456 static struct tegra_bo *tegra_bo_import(struct drm_device *drm, in tegra_bo_import() 543 int tegra_bo_dumb_create(struct drm_file *file, struct drm_device *drm, in tegra_bo_dumb_create() 690 struct drm_device *drm = gem->dev; in tegra_gem_prime_begin_cpu_access() local 703 struct drm_device *drm = gem->dev; in tegra_gem_prime_end_cpu_access() local [all …]
|
/linux/include/drm/ |
H A D | drm_print.h | 386 static inline struct drm_printer drm_dbg_printer(struct drm_device *drm, in drm_dbg_printer() 408 static inline struct drm_printer drm_err_printer(struct drm_device *drm, in drm_err_printer() 585 #define __drm_printk(drm, level, type, fmt, ...) \ argument 589 #define drm_info(drm, fmt, ...) \ argument 592 #define drm_notice(drm, fmt, ...) \ argument 595 #define drm_warn(drm, fmt, ...) \ argument 598 #define drm_err(drm, fmt, ...) \ argument 602 #define drm_info_once(drm, fmt, ...) \ argument 605 #define drm_notice_once(drm, fmt, ...) \ argument 608 #define drm_warn_once(drm, fmt, ...) \ argument [all …]
|
/linux/drivers/gpu/drm/mxsfb/ |
H A D | lcdif_drv.c | 114 struct drm_device *drm = data; in lcdif_irq_handler() local 133 static int lcdif_load(struct drm_device *drm) in lcdif_load() 226 static void lcdif_unload(struct drm_device *drm) in lcdif_unload() 265 struct drm_device *drm; in lcdif_probe() local 294 struct drm_device *drm = platform_get_drvdata(pdev); in lcdif_remove() local 304 struct drm_device *drm = platform_get_drvdata(pdev); in lcdif_shutdown() local 311 struct drm_device *drm = dev_get_drvdata(dev); in lcdif_rpm_suspend() local 326 struct drm_device *drm = dev_get_drvdata(dev); in lcdif_rpm_resume() local 341 struct drm_device *drm = dev_get_drvdata(dev); in lcdif_suspend() local 356 struct drm_device *drm = dev_get_drvdata(dev); in lcdif_resume() local
|
H A D | mxsfb_drv.c | 121 struct drm_device *drm = mxsfb->drm; in mxsfb_attach_bridge() local 161 struct drm_device *drm = data; in mxsfb_irq_handler() local 182 static void mxsfb_irq_disable(struct drm_device *drm) in mxsfb_irq_disable() 213 static int mxsfb_load(struct drm_device *drm, in mxsfb_load() 317 static void mxsfb_unload(struct drm_device *drm) in mxsfb_unload() 354 struct drm_device *drm; in mxsfb_probe() local 383 struct drm_device *drm = platform_get_drvdata(pdev); in mxsfb_remove() local 393 struct drm_device *drm = platform_get_drvdata(pdev); in mxsfb_shutdown() local 401 struct drm_device *drm = dev_get_drvdata(dev); in mxsfb_suspend() local 408 struct drm_device *drm = dev_get_drvdata(dev); in mxsfb_resume() local
|
/linux/drivers/gpu/drm/rockchip/ |
H A D | rockchip_drm_gem.c | 23 struct drm_device *drm = rk_obj->base.dev; in rockchip_gem_iommu_map() local 64 struct drm_device *drm = rk_obj->base.dev; in rockchip_gem_iommu_unmap() local 80 struct drm_device *drm = rk_obj->base.dev; in rockchip_gem_get_pages() local 160 struct drm_device *drm = obj->dev; in rockchip_gem_alloc_dma() local 182 struct drm_device *drm = obj->dev; in rockchip_gem_alloc_buf() local 201 struct drm_device *drm = obj->dev; in rockchip_gem_free_dma() local 232 struct drm_device *drm = obj->dev; in rockchip_drm_gem_object_mmap_dma() local 283 rockchip_gem_alloc_object(struct drm_device *drm, unsigned int size) in rockchip_gem_alloc_object() 304 rockchip_gem_create_object(struct drm_device *drm, unsigned int size, in rockchip_gem_create_object() 331 struct drm_device *drm = obj->dev; in rockchip_gem_free_object() local [all …]
|
/linux/drivers/gpu/drm/kmb/ |
H A D | kmb_drv.c | 94 static void __iomem *kmb_map_mmio(struct drm_device *drm, in kmb_map_mmio() 112 static int kmb_hw_init(struct drm_device *drm, unsigned long flags) in kmb_hw_init() 170 static int kmb_setup_mode_config(struct drm_device *drm) in kmb_setup_mode_config() 413 static void kmb_irq_reset(struct drm_device *drm) in kmb_irq_reset() 419 static int kmb_irq_install(struct drm_device *drm, unsigned int irq) in kmb_irq_install() 429 static void kmb_irq_uninstall(struct drm_device *drm) in kmb_irq_uninstall() 456 struct drm_device *drm = dev_get_drvdata(dev); in kmb_remove() local 593 struct drm_device *drm = dev_get_drvdata(dev); in kmb_pm_suspend() local 609 struct drm_device *drm = dev_get_drvdata(dev); in kmb_pm_resume() local
|
/linux/drivers/gpu/drm/tests/ |
H A D | drm_hdmi_state_helper_test.c | 30 struct drm_device drm; member 45 struct drm_device *drm = connector->dev; in find_preferred_mode() local 59 struct drm_device *drm, in light_up_connector() 99 struct drm_device *drm = connector->dev; in set_connector_edid() local 174 struct drm_device *drm; in drm_atomic_helper_connector_hdmi_init() local 246 struct drm_device *drm; in drm_test_check_broadcast_rgb_crtc_mode_changed() local 309 struct drm_device *drm; in drm_test_check_broadcast_rgb_crtc_mode_not_changed() local 372 struct drm_device *drm; in drm_test_check_broadcast_rgb_auto_cea_mode() local 428 struct drm_device *drm; in drm_test_check_broadcast_rgb_auto_cea_mode_vic_1() local 484 struct drm_device *drm; in drm_test_check_broadcast_rgb_full_cea_mode() local [all …]
|
/linux/drivers/gpu/drm/arm/ |
H A D | hdlcd_drv.c | 100 static int hdlcd_load(struct drm_device *drm, unsigned long flags) in hdlcd_load() 177 static int hdlcd_setup_mode_config(struct drm_device *drm) in hdlcd_setup_mode_config() 198 struct drm_device *drm = entry->dev; in hdlcd_show_underrun_count() local 211 struct drm_device *drm = entry->dev; in hdlcd_show_pxlclock() local 243 struct drm_device *drm; in hdlcd_drm_bind() local 327 struct drm_device *drm = dev_get_drvdata(dev); in hdlcd_drm_unbind() local 390 struct drm_device *drm = dev_get_drvdata(dev); in hdlcd_pm_suspend() local 397 struct drm_device *drm = dev_get_drvdata(dev); in hdlcd_pm_resume() local
|
H A D | malidp_drv.c | 172 static int malidp_set_and_wait_config_valid(struct drm_device *drm) in malidp_set_and_wait_config_valid() 194 struct drm_device *drm = state->dev; in malidp_atomic_commit_hw_done() local 235 struct drm_device *drm = state->dev; in malidp_atomic_commit_tail() local 395 static int malidp_init(struct drm_device *drm) in malidp_init() 427 struct drm_device *drm = dev_get_drvdata(&pdev->dev); in malidp_irq_init() local 459 struct drm_device *drm, in malidp_dumb_create() 507 struct drm_device *drm = m->private; in malidp_show_stats() local 530 struct drm_device *drm = m->private; in malidp_debugfs_write() local 652 struct drm_device *drm = dev_get_drvdata(dev); in core_id_show() local 670 struct drm_device *drm = dev_get_drvdata(dev); in malidp_runtime_pm_suspend() local [all …]
|
/linux/drivers/gpu/drm/tve200/ |
H A D | tve200_display.c | 127 struct drm_device *drm = crtc->dev; in tve200_display_enable() local 245 struct drm_device *drm = crtc->dev; in tve200_display_disable() local 261 struct drm_device *drm = crtc->dev; in tve200_display_update() local 297 struct drm_device *drm = crtc->dev; in tve200_display_enable_vblank() local 309 struct drm_device *drm = crtc->dev; in tve200_display_disable_vblank() local 324 int tve200_display_init(struct drm_device *drm) in tve200_display_init()
|
/linux/drivers/gpu/drm/vc4/ |
H A D | vc4_hdmi.c | 143 struct drm_device *drm = vc4_hdmi->connector.dev; in vc4_hdmi_debugfs_regs() local 170 struct drm_device *drm = vc4_hdmi->connector.dev; in vc4_hdmi_reset() local 203 struct drm_device *drm = vc4_hdmi->connector.dev; in vc5_hdmi_reset() local 232 struct drm_device *drm = vc4_hdmi->connector.dev; in vc4_hdmi_cec_update_clk_div() local 303 struct drm_device *drm; in vc4_hdmi_reset_link() local 500 struct drm_device *drm = connector->dev; in vc4_hdmi_connector_get_modes() local 652 struct drm_device *drm = vc4_hdmi->connector.dev; in vc4_hdmi_stop_packet() local 680 struct drm_device *drm = connector->dev; in vc4_hdmi_write_infoframe() local 760 struct drm_device *drm = connector->dev; in vc4_hdmi_enable_scrambling() local 798 struct drm_device *drm = connector->dev; in vc4_hdmi_disable_scrambling() local [all …]
|
/linux/drivers/gpu/drm/mcde/ |
H A D | mcde_drv.c | 128 static int mcde_modeset_init(struct drm_device *drm) in mcde_modeset_init() 221 struct drm_device *drm = dev_get_drvdata(dev); in mcde_drm_bind() local 253 struct drm_device *drm = dev_get_drvdata(dev); in mcde_drm_unbind() local 272 struct drm_device *drm; in mcde_probe() local 455 struct drm_device *drm = platform_get_drvdata(pdev); in mcde_remove() local 466 struct drm_device *drm = platform_get_drvdata(pdev); in mcde_shutdown() local
|