/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_fbdev.c | 70 info = drm_get_format_info(rdev_to_drm(rdev), mode_cmd); in radeon_fbdev_create_pinned_object() 151 ret = pm_runtime_get_sync(rdev_to_drm(rdev)->dev); in radeon_fbdev_fb_open() 158 pm_runtime_mark_last_busy(rdev_to_drm(rdev)->dev); in radeon_fbdev_fb_open() 159 pm_runtime_put_autosuspend(rdev_to_drm(rdev)->dev); in radeon_fbdev_fb_open() 168 pm_runtime_mark_last_busy(rdev_to_drm(rdev)->dev); in radeon_fbdev_fb_release() 169 pm_runtime_put_autosuspend(rdev_to_drm(rdev)->dev); in radeon_fbdev_fb_release() 239 ret = radeon_framebuffer_init(rdev_to_drm(rdev), fb, &mode_cmd, gobj); in radeon_fbdev_fb_helper_fb_probe() 382 drm_err(rdev_to_drm(rdev), "Failed to register client: %d\n", ret); in radeon_fbdev_setup() 397 if (rdev_to_drm(rdev)->fb_helper) in radeon_fbdev_set_suspend() 398 drm_fb_helper_set_suspend(rdev_to_drm(rdev)->fb_helper, state); in radeon_fbdev_set_suspend() [all …]
|
H A D | radeon_display.c | 411 struct drm_device *dev = rdev_to_drm(rdev); in radeon_flip_work_func() 1426 drm_property_create_enum(rdev_to_drm(rdev), 0, in radeon_modeset_create_props() 1432 drm_property_create_enum(rdev_to_drm(rdev), 0, in radeon_modeset_create_props() 1450 drm_property_create_enum(rdev_to_drm(rdev), 0, in radeon_modeset_create_props() 1456 drm_property_create_enum(rdev_to_drm(rdev), 0, in radeon_modeset_create_props() 1462 drm_property_create_enum(rdev_to_drm(rdev), 0, in radeon_modeset_create_props() 1581 drm_mode_config_init(rdev_to_drm(rdev)); in radeon_modeset_init() 1621 radeon_crtc_init(rdev_to_drm(rdev), i); in radeon_modeset_init() 1642 drm_kms_helper_poll_init(rdev_to_drm(rdev)); in radeon_modeset_init() 1653 drm_kms_helper_poll_fini(rdev_to_drm(rdev)); in radeon_modeset_fini() [all …]
|
H A D | radeon_irq_kms.c | 83 struct drm_device *dev = rdev_to_drm(rdev); in radeon_hotplug_work_func() 104 struct drm_device *dev = rdev_to_drm(rdev); in radeon_dp_work_func() 200 struct drm_device *dev = rdev_to_drm(rdev); in radeon_irq_install() 221 struct drm_device *dev = rdev_to_drm(rdev); in radeon_irq_uninstall() 325 rdev_to_drm(rdev)->vblank_disable_immediate = true; in radeon_irq_kms_init() 327 r = drm_vblank_init(rdev_to_drm(rdev), rdev->num_crtc); in radeon_irq_kms_init()
|
H A D | radeon_acpi.c | 408 pm_runtime_get_sync(rdev_to_drm(rdev)->dev); in radeon_atif_handler() 410 drm_helper_hpd_irq_event(rdev_to_drm(rdev)); in radeon_atif_handler() 411 pm_runtime_mark_last_busy(rdev_to_drm(rdev)->dev); in radeon_atif_handler() 412 pm_runtime_put_autosuspend(rdev_to_drm(rdev)->dev); in radeon_atif_handler() 739 list_for_each_entry(tmp, &rdev_to_drm(rdev)->mode_config.encoder_list, in radeon_acpi_init()
|
H A D | rs600.c | 325 struct drm_device *ddev = rdev_to_drm(rdev); in rs600_pm_prepare() 343 struct drm_device *ddev = rdev_to_drm(rdev); in rs600_pm_finish() 412 struct drm_device *dev = rdev_to_drm(rdev); in rs600_hpd_init() 439 struct drm_device *dev = rdev_to_drm(rdev); in rs600_hpd_fini() 801 drm_handle_vblank(rdev_to_drm(rdev), 0); in rs600_irq_process() 810 drm_handle_vblank(rdev_to_drm(rdev), 1); in rs600_irq_process() 1137 radeon_get_clock_info(rdev_to_drm(rdev)); in rs600_init()
|
H A D | r420.c | 324 radeon_combios_asic_init(rdev_to_drm(rdev)); in r420_resume() 416 radeon_get_clock_info(rdev_to_drm(rdev)); in r420_init() 495 struct dentry *root = rdev_to_drm(rdev)->primary->debugfs_root; in r420_debugfs_pipes_info_init()
|
H A D | rs400.c | 381 struct dentry *root = rdev_to_drm(rdev)->primary->debugfs_root; in rs400_debugfs_pcie_gart_info_init() 476 radeon_combios_asic_init(rdev_to_drm(rdev)); in rs400_resume() 554 radeon_get_clock_info(rdev_to_drm(rdev)); in rs400_init()
|
H A D | radeon_fence.c | 154 trace_radeon_fence_emit(rdev_to_drm(rdev), ring, (*fence)->seq); in radeon_fence_emit() 495 trace_radeon_fence_wait_begin(rdev_to_drm(rdev), i, target_seq[i]); in radeon_fence_wait_seq_timeout() 517 trace_radeon_fence_wait_end(rdev_to_drm(rdev), i, target_seq[i]); in radeon_fence_wait_seq_timeout() 1007 struct dentry *root = rdev_to_drm(rdev)->primary->debugfs_root; in radeon_debugfs_fence_init()
|
H A D | radeon_pm.c | 284 drm_for_each_crtc(crtc, rdev_to_drm(rdev)) { in radeon_pm_set_clocks() 301 drm_for_each_crtc(crtc, rdev_to_drm(rdev)) { in radeon_pm_set_clocks() 673 struct drm_device *ddev = rdev_to_drm(rdev); in radeon_hwmon_show_temp() 717 struct drm_device *ddev = rdev_to_drm(rdev); in radeon_hwmon_show_sclk() 742 struct drm_device *ddev = rdev_to_drm(rdev); in radeon_hwmon_show_vddc() 1694 struct drm_device *ddev = rdev_to_drm(rdev); in radeon_pm_compute_clocks_old() 1767 struct drm_device *ddev = rdev_to_drm(rdev); in radeon_pm_compute_clocks_dpm() 1828 vbl_status = radeon_get_crtc_scanoutpos(rdev_to_drm(rdev), in radeon_pm_in_vbl() 1920 struct drm_device *ddev = rdev_to_drm(rdev); in radeon_debugfs_pm_info_show() 1957 struct dentry *root = rdev_to_drm(rdev)->primary->debugfs_root; in radeon_debugfs_pm_init()
|
H A D | radeon_device.c | 763 radeon_combios_asic_init(rdev_to_drm(rdev)); in radeon_boot_test_post_card() 983 atom_card_info->dev = rdev_to_drm(rdev); in radeon_atombios_init() 1008 radeon_atom_initialize_bios_scratch_regs(rdev_to_drm(rdev)); in radeon_atombios_init() 1052 radeon_combios_initialize_bios_scratch_regs(rdev_to_drm(rdev)); in radeon_combios_init() 1850 drm_helper_resume_force_mode(rdev_to_drm(rdev)); in radeon_gpu_reset()
|
H A D | radeon_ib.c | 310 struct dentry *root = rdev_to_drm(rdev)->primary->debugfs_root; in radeon_debugfs_sa_init()
|
H A D | radeon_ttm.c | 692 rdev_to_drm(rdev)->anon_inode->i_mapping, in radeon_ttm_init() 693 rdev_to_drm(rdev)->vma_offset_manager, in radeon_ttm_init() 900 struct drm_minor *minor = rdev_to_drm(rdev)->primary; in radeon_ttm_debugfs_init()
|
H A D | r520.c | 290 radeon_get_clock_info(rdev_to_drm(rdev)); in r520_init()
|
H A D | r100.c | 461 struct drm_device *ddev = rdev_to_drm(rdev); in r100_pm_prepare() 492 struct drm_device *ddev = rdev_to_drm(rdev); in r100_pm_finish() 605 struct drm_device *dev = rdev_to_drm(rdev); in r100_hpd_init() 628 struct drm_device *dev = rdev_to_drm(rdev); in r100_hpd_fini() 800 drm_handle_vblank(rdev_to_drm(rdev), 0); in r100_irq_process() 809 drm_handle_vblank(rdev_to_drm(rdev), 1); in r100_irq_process() 1493 crtc = drm_crtc_find(rdev_to_drm(p->rdev), p->filp, crtc_id); in r100_cs_packet_parse_vline() 3081 struct dentry *root = rdev_to_drm(rdev)->primary->debugfs_root; in r100_debugfs_rbbm_init() 3091 struct dentry *root = rdev_to_drm(rdev)->primary->debugfs_root; in r100_debugfs_cp_init() 3969 radeon_combios_asic_init(rdev_to_drm(rdev)); in r100_resume() [all …]
|
H A D | dce6_afmt.c | 93 list_for_each_entry(encoder, &rdev_to_drm(rdev)->mode_config.encoder_list, head) { in dce6_audio_get_pin()
|
H A D | radeon_agp.c | 164 struct drm_device *dev = rdev_to_drm(rdev); in radeon_agp_head_acquire()
|
H A D | r300.c | 618 struct dentry *root = rdev_to_drm(rdev)->primary->debugfs_root; in rv370_debugfs_pcie_gart_info_init() 1454 radeon_combios_asic_init(rdev_to_drm(rdev)); in r300_resume() 1540 radeon_get_clock_info(rdev_to_drm(rdev)); in r300_init()
|
H A D | radeon_ring.c | 551 struct dentry *root = rdev_to_drm(rdev)->primary->debugfs_root; in radeon_debugfs_ring_init()
|
H A D | radeon_combios.c | 374 edid_info = combios_get_table_offset(rdev_to_drm(rdev), COMBIOS_HARDCODED_EDID_TABLE); in radeon_combios_check_hardcoded_edid() 644 struct drm_device *dev = rdev_to_drm(rdev); in radeon_combios_get_i2c_info_from_table() 672 struct drm_device *dev = rdev_to_drm(rdev); in radeon_combios_i2c_init() 814 struct drm_device *dev = rdev_to_drm(rdev); in radeon_combios_sideport_present() 917 struct drm_device *dev = rdev_to_drm(rdev); in radeon_combios_get_tv_info() 2639 struct drm_device *dev = rdev_to_drm(rdev); in radeon_combios_get_power_modes()
|
H A D | r600_hdmi.c | 119 struct drm_device *dev = rdev_to_drm(rdev); in r600_audio_update_hdmi()
|
H A D | rv515.c | 258 struct dentry *root = rdev_to_drm(rdev)->primary->debugfs_root; in rv515_debugfs() 639 radeon_get_clock_info(rdev_to_drm(rdev)); in rv515_init()
|
H A D | r600.c | 953 struct drm_device *dev = rdev_to_drm(rdev); in r600_hpd_init() 1020 struct drm_device *dev = rdev_to_drm(rdev); in r600_hpd_fini() 3283 radeon_get_clock_info(rdev_to_drm(rdev)); in r600_init() 4139 drm_handle_vblank(rdev_to_drm(rdev), 0); in r600_irq_process() 4169 drm_handle_vblank(rdev_to_drm(rdev), 1); in r600_irq_process() 4361 struct dentry *root = rdev_to_drm(rdev)->primary->debugfs_root; in r600_debugfs_mc_info_init()
|
H A D | radeon_object.c | 155 drm_gem_private_object_init(rdev_to_drm(rdev), &bo->tbo.base, size); in radeon_bo_create()
|
H A D | evergreen.c | 1675 struct drm_device *ddev = rdev_to_drm(rdev); in evergreen_pm_prepare() 1700 struct drm_device *ddev = rdev_to_drm(rdev); in evergreen_pm_finish() 1765 struct drm_device *dev = rdev_to_drm(rdev); in evergreen_hpd_init() 1806 struct drm_device *dev = rdev_to_drm(rdev); in evergreen_hpd_fini() 4759 drm_handle_vblank(rdev_to_drm(rdev), crtc_idx); in evergreen_irq_process() 5217 radeon_get_clock_info(rdev_to_drm(rdev)); in evergreen_init()
|
H A D | r600_dpm.c | 158 struct drm_device *dev = rdev_to_drm(rdev); in r600_dpm_get_vblank_time() 185 struct drm_device *dev = rdev_to_drm(rdev); in r600_dpm_get_vrefresh()
|