• Home
  • Raw
  • Download

Lines Matching refs:ddev

123 	struct drm_device *ddev = dev_get_drvdata(dev);  in amdgpu_get_power_dpm_state()  local
124 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_power_dpm_state()
134 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_power_dpm_state()
136 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_power_dpm_state()
146 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_power_dpm_state()
147 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_power_dpm_state()
159 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_power_dpm_state() local
160 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_power_dpm_state()
178 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_set_power_dpm_state()
180 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_power_dpm_state()
197 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_power_dpm_state()
198 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_power_dpm_state()
267 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_power_dpm_force_performance_level() local
268 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_power_dpm_force_performance_level()
277 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_power_dpm_force_performance_level()
279 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_power_dpm_force_performance_level()
288 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_power_dpm_force_performance_level()
289 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_power_dpm_force_performance_level()
309 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_power_dpm_force_performance_level() local
310 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_power_dpm_force_performance_level()
345 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_set_power_dpm_force_performance_level()
347 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_power_dpm_force_performance_level()
355 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_power_dpm_force_performance_level()
356 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_power_dpm_force_performance_level()
376 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_power_dpm_force_performance_level()
377 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_power_dpm_force_performance_level()
385 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_power_dpm_force_performance_level()
386 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_power_dpm_force_performance_level()
392 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_power_dpm_force_performance_level()
393 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_power_dpm_force_performance_level()
400 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_power_dpm_force_performance_level()
401 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_power_dpm_force_performance_level()
410 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_num_states() local
411 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_pp_num_states()
422 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_pp_num_states()
424 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_num_states()
434 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_pp_num_states()
435 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_num_states()
452 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_cur_state() local
453 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_pp_cur_state()
464 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_pp_cur_state()
466 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_cur_state()
476 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_pp_cur_state()
477 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_cur_state()
494 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_force_state() local
495 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_pp_force_state()
513 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_pp_force_state() local
514 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_pp_force_state()
541 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_set_pp_force_state()
543 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_force_state()
554 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_pp_force_state()
555 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_force_state()
576 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_table() local
577 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_pp_table()
586 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_pp_table()
588 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_table()
594 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_pp_table()
595 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_table()
599 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_pp_table()
600 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_table()
617 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_pp_table() local
618 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_pp_table()
626 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_set_pp_table()
628 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_table()
634 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_pp_table()
635 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_table()
639 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_pp_table()
640 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_table()
794 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_pp_od_clk_voltage() local
795 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_pp_od_clk_voltage()
855 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_set_pp_od_clk_voltage()
857 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_od_clk_voltage()
866 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_pp_od_clk_voltage()
867 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_od_clk_voltage()
876 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_pp_od_clk_voltage()
877 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_od_clk_voltage()
887 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_pp_od_clk_voltage()
888 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_od_clk_voltage()
891 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_pp_od_clk_voltage()
892 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_od_clk_voltage()
897 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_pp_od_clk_voltage()
898 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_od_clk_voltage()
907 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_od_clk_voltage() local
908 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_pp_od_clk_voltage()
917 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_pp_od_clk_voltage()
919 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_od_clk_voltage()
933 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_pp_od_clk_voltage()
934 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_od_clk_voltage()
960 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_pp_features() local
961 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_pp_features()
974 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_set_pp_features()
976 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_features()
983 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_pp_features()
984 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_features()
988 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_pp_features()
989 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_features()
998 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_features() local
999 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_pp_features()
1008 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_pp_features()
1010 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_features()
1019 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_pp_features()
1020 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_features()
1059 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_dpm_clock() local
1060 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_pp_dpm_clock()
1069 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_pp_dpm_clock()
1071 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_dpm_clock()
1080 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_pp_dpm_clock()
1081 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_dpm_clock()
1126 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_pp_dpm_clock() local
1127 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_pp_dpm_clock()
1140 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_set_pp_dpm_clock()
1142 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_dpm_clock()
1151 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_pp_dpm_clock()
1152 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_dpm_clock()
1284 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_sclk_od() local
1285 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_pp_sclk_od()
1294 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_pp_sclk_od()
1296 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_sclk_od()
1305 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_pp_sclk_od()
1306 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_sclk_od()
1316 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_pp_sclk_od() local
1317 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_pp_sclk_od()
1331 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_set_pp_sclk_od()
1333 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_sclk_od()
1351 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_pp_sclk_od()
1352 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_sclk_od()
1361 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_mclk_od() local
1362 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_pp_mclk_od()
1371 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_pp_mclk_od()
1373 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_mclk_od()
1382 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_pp_mclk_od()
1383 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_mclk_od()
1393 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_pp_mclk_od() local
1394 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_pp_mclk_od()
1408 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_set_pp_mclk_od()
1410 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_mclk_od()
1428 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_pp_mclk_od()
1429 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_mclk_od()
1458 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pp_power_profile_mode() local
1459 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_pp_power_profile_mode()
1468 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_pp_power_profile_mode()
1470 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_power_profile_mode()
1479 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_pp_power_profile_mode()
1480 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pp_power_profile_mode()
1492 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_pp_power_profile_mode() local
1493 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_pp_power_profile_mode()
1534 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_set_pp_power_profile_mode()
1536 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_power_profile_mode()
1543 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_pp_power_profile_mode()
1544 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_pp_power_profile_mode()
1564 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_gpu_busy_percent() local
1565 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_gpu_busy_percent()
1573 r = pm_runtime_get_sync(ddev->dev); in amdgpu_get_gpu_busy_percent()
1575 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_gpu_busy_percent()
1583 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_gpu_busy_percent()
1584 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_gpu_busy_percent()
1604 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_mem_busy_percent() local
1605 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_mem_busy_percent()
1613 r = pm_runtime_get_sync(ddev->dev); in amdgpu_get_mem_busy_percent()
1615 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_mem_busy_percent()
1623 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_mem_busy_percent()
1624 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_mem_busy_percent()
1648 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_pcie_bw() local
1649 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_pcie_bw()
1664 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_pcie_bw()
1666 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pcie_bw()
1672 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_pcie_bw()
1673 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_pcie_bw()
1693 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_unique_id() local
1694 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_unique_id()
1726 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_thermal_throttling_logging() local
1727 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_thermal_throttling_logging()
1740 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_thermal_throttling_logging() local
1741 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_thermal_throttling_logging()
1790 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_gpu_metrics() local
1791 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_gpu_metrics()
1801 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_gpu_metrics()
1803 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_gpu_metrics()
1819 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_gpu_metrics()
1820 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_gpu_metrics()
1838 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_smartshift_apu_power() local
1839 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_smartshift_apu_power()
1848 r = pm_runtime_get_sync(ddev->dev); in amdgpu_get_smartshift_apu_power()
1850 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_smartshift_apu_power()
1862 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_smartshift_apu_power()
1863 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_smartshift_apu_power()
1881 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_smartshift_dgpu_power() local
1882 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_smartshift_dgpu_power()
1891 r = pm_runtime_get_sync(ddev->dev); in amdgpu_get_smartshift_dgpu_power()
1893 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_smartshift_dgpu_power()
1906 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_smartshift_dgpu_power()
1907 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_smartshift_dgpu_power()
1935 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_smartshift_bias() local
1936 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_smartshift_bias()
1945 r = pm_runtime_get_sync(ddev->dev); in amdgpu_set_smartshift_bias()
1947 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_smartshift_bias()
1966 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_smartshift_bias()
1967 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_smartshift_bias()