smu_dpm 3009 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c struct smu_dpm_context *smu_dpm = &adev->smu.smu_dpm; smu_dpm 3011 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c smu_dpm->dpm_level, smu_dpm 754 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c smu->smu_dpm.dpm_level, smu_dpm 871 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c smu->smu_dpm.dpm_level = AMD_DPM_FORCED_LEVEL_AUTO; smu_dpm 872 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c smu->smu_dpm.requested_dpm_level = AMD_DPM_FORCED_LEVEL_AUTO; smu_dpm 1535 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); smu_dpm 1613 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); smu_dpm 1697 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); smu_dpm 1731 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); smu_dpm 1746 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); smu_dpm 307 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c struct smu_dpm_context *smu_dpm = &smu->smu_dpm; smu_dpm 309 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c if (smu_dpm->dpm_context) smu_dpm 312 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c smu_dpm->dpm_context = kzalloc(sizeof(struct arcturus_dpm_table), smu_dpm 314 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c if (!smu_dpm->dpm_context) smu_dpm 317 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c if (smu_dpm->golden_dpm_context) smu_dpm 320 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c smu_dpm->golden_dpm_context = kzalloc(sizeof(struct arcturus_dpm_table), smu_dpm 322 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c if (!smu_dpm->golden_dpm_context) smu_dpm 325 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c smu_dpm->dpm_context_size = sizeof(struct arcturus_dpm_table); smu_dpm 327 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c smu_dpm->dpm_current_power_state = kzalloc(sizeof(struct smu_power_state), smu_dpm 329 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c if (!smu_dpm->dpm_current_power_state) smu_dpm 332 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c smu_dpm->dpm_request_power_state = kzalloc(sizeof(struct smu_power_state), smu_dpm 334 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c if (!smu_dpm->dpm_request_power_state) smu_dpm 407 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c struct smu_dpm_context *smu_dpm = &smu->smu_dpm; smu_dpm 411 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c dpm_table = smu_dpm->dpm_context; smu_dpm 473 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c memcpy(smu_dpm->golden_dpm_context, dpm_table, smu_dpm 538 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c struct smu_dpm_context *smu_dpm = &smu->smu_dpm; smu_dpm 543 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c dpm_table = smu_dpm->dpm_context; smu_dpm 593 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c struct smu_dpm_context *smu_dpm = &smu->smu_dpm; smu_dpm 596 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c dpm_table = smu_dpm->dpm_context; smu_dpm 699 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c smu->smu_dpm.dpm_context; smu_dpm 764 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c dpm_table = smu->smu_dpm.dpm_context; smu_dpm 1191 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c (struct arcturus_dpm_table *)smu->smu_dpm.dpm_context; smu_dpm 1245 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c (struct arcturus_dpm_table *)smu->smu_dpm.dpm_context; smu_dpm 1296 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c (struct arcturus_dpm_table *)smu->smu_dpm.dpm_context; smu_dpm 1301 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c if (!smu->smu_dpm.dpm_context) smu_dpm 352 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h struct smu_dpm_context smu_dpm; smu_dpm 570 drivers/gpu/drm/amd/powerplay/navi10_ppt.c struct smu_dpm_context *smu_dpm = &smu->smu_dpm; smu_dpm 572 drivers/gpu/drm/amd/powerplay/navi10_ppt.c if (smu_dpm->dpm_context) smu_dpm 575 drivers/gpu/drm/amd/powerplay/navi10_ppt.c smu_dpm->dpm_context = kzalloc(sizeof(struct smu_11_0_dpm_context), smu_dpm 577 drivers/gpu/drm/amd/powerplay/navi10_ppt.c if (!smu_dpm->dpm_context) smu_dpm 580 drivers/gpu/drm/amd/powerplay/navi10_ppt.c smu_dpm->dpm_context_size = sizeof(struct smu_11_0_dpm_context); smu_dpm 587 drivers/gpu/drm/amd/powerplay/navi10_ppt.c struct smu_dpm_context *smu_dpm = &smu->smu_dpm; smu_dpm 589 drivers/gpu/drm/amd/powerplay/navi10_ppt.c struct smu_11_0_dpm_context *dpm_context = smu_dpm->dpm_context; smu_dpm 408 drivers/gpu/drm/amd/powerplay/smu_v11_0.c struct smu_dpm_context *smu_dpm = &smu->smu_dpm; smu_dpm 410 drivers/gpu/drm/amd/powerplay/smu_v11_0.c if (smu_dpm->dpm_context || smu_dpm->dpm_context_size != 0) smu_dpm 418 drivers/gpu/drm/amd/powerplay/smu_v11_0.c struct smu_dpm_context *smu_dpm = &smu->smu_dpm; smu_dpm 420 drivers/gpu/drm/amd/powerplay/smu_v11_0.c if (!smu_dpm->dpm_context || smu_dpm->dpm_context_size == 0) smu_dpm 423 drivers/gpu/drm/amd/powerplay/smu_v11_0.c kfree(smu_dpm->dpm_context); smu_dpm 424 drivers/gpu/drm/amd/powerplay/smu_v11_0.c kfree(smu_dpm->golden_dpm_context); smu_dpm 425 drivers/gpu/drm/amd/powerplay/smu_v11_0.c kfree(smu_dpm->dpm_current_power_state); smu_dpm 426 drivers/gpu/drm/amd/powerplay/smu_v11_0.c kfree(smu_dpm->dpm_request_power_state); smu_dpm 427 drivers/gpu/drm/amd/powerplay/smu_v11_0.c smu_dpm->dpm_context = NULL; smu_dpm 428 drivers/gpu/drm/amd/powerplay/smu_v11_0.c smu_dpm->golden_dpm_context = NULL; smu_dpm 429 drivers/gpu/drm/amd/powerplay/smu_v11_0.c smu_dpm->dpm_context_size = 0; smu_dpm 430 drivers/gpu/drm/amd/powerplay/smu_v11_0.c smu_dpm->dpm_current_power_state = NULL; smu_dpm 431 drivers/gpu/drm/amd/powerplay/smu_v11_0.c smu_dpm->dpm_request_power_state = NULL; smu_dpm 344 drivers/gpu/drm/amd/powerplay/vega20_ppt.c struct smu_dpm_context *smu_dpm = &smu->smu_dpm; smu_dpm 346 drivers/gpu/drm/amd/powerplay/vega20_ppt.c if (smu_dpm->dpm_context) smu_dpm 349 drivers/gpu/drm/amd/powerplay/vega20_ppt.c smu_dpm->dpm_context = kzalloc(sizeof(struct vega20_dpm_table), smu_dpm 351 drivers/gpu/drm/amd/powerplay/vega20_ppt.c if (!smu_dpm->dpm_context) smu_dpm 354 drivers/gpu/drm/amd/powerplay/vega20_ppt.c if (smu_dpm->golden_dpm_context) smu_dpm 357 drivers/gpu/drm/amd/powerplay/vega20_ppt.c smu_dpm->golden_dpm_context = kzalloc(sizeof(struct vega20_dpm_table), smu_dpm 359 drivers/gpu/drm/amd/powerplay/vega20_ppt.c if (!smu_dpm->golden_dpm_context) smu_dpm 362 drivers/gpu/drm/amd/powerplay/vega20_ppt.c smu_dpm->dpm_context_size = sizeof(struct vega20_dpm_table); smu_dpm 364 drivers/gpu/drm/amd/powerplay/vega20_ppt.c smu_dpm->dpm_current_power_state = kzalloc(sizeof(struct smu_power_state), smu_dpm 366 drivers/gpu/drm/amd/powerplay/vega20_ppt.c if (!smu_dpm->dpm_current_power_state) smu_dpm 369 drivers/gpu/drm/amd/powerplay/vega20_ppt.c smu_dpm->dpm_request_power_state = kzalloc(sizeof(struct smu_power_state), smu_dpm 371 drivers/gpu/drm/amd/powerplay/vega20_ppt.c if (!smu_dpm->dpm_request_power_state) smu_dpm 631 drivers/gpu/drm/amd/powerplay/vega20_ppt.c struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); smu_dpm 715 drivers/gpu/drm/amd/powerplay/vega20_ppt.c struct smu_dpm_context *smu_dpm = &smu->smu_dpm; smu_dpm 719 drivers/gpu/drm/amd/powerplay/vega20_ppt.c dpm_table = smu_dpm->dpm_context; smu_dpm 890 drivers/gpu/drm/amd/powerplay/vega20_ppt.c memcpy(smu_dpm->golden_dpm_context, dpm_table, smu_dpm 898 drivers/gpu/drm/amd/powerplay/vega20_ppt.c struct smu_dpm_context *smu_dpm = &smu->smu_dpm; smu_dpm 903 drivers/gpu/drm/amd/powerplay/vega20_ppt.c dpm_table = smu_dpm->dpm_context; smu_dpm 950 drivers/gpu/drm/amd/powerplay/vega20_ppt.c struct smu_dpm_context *smu_dpm = &smu->smu_dpm; smu_dpm 958 drivers/gpu/drm/amd/powerplay/vega20_ppt.c dpm_table = smu_dpm->dpm_context; smu_dpm 1191 drivers/gpu/drm/amd/powerplay/vega20_ppt.c dpm_table = smu->smu_dpm.dpm_context; smu_dpm 1277 drivers/gpu/drm/amd/powerplay/vega20_ppt.c struct smu_dpm_context *smu_dpm = &smu->smu_dpm; smu_dpm 1280 drivers/gpu/drm/amd/powerplay/vega20_ppt.c if (smu_dpm->dpm_level != AMD_DPM_FORCED_LEVEL_MANUAL) { smu_dpm 1290 drivers/gpu/drm/amd/powerplay/vega20_ppt.c dpm_table = smu->smu_dpm.dpm_context; smu_dpm 1449 drivers/gpu/drm/amd/powerplay/vega20_ppt.c struct smu_dpm_context *smu_dpm = &smu->smu_dpm; smu_dpm 1452 drivers/gpu/drm/amd/powerplay/vega20_ppt.c dpm_table = smu_dpm->dpm_context; smu_dpm 1752 drivers/gpu/drm/amd/powerplay/vega20_ppt.c struct smu_dpm_context *smu_dpm = &smu->smu_dpm; smu_dpm 1759 drivers/gpu/drm/amd/powerplay/vega20_ppt.c dpm_table = smu_dpm->dpm_context; smu_dpm 1760 drivers/gpu/drm/amd/powerplay/vega20_ppt.c golden_table = smu_dpm->golden_dpm_context; smu_dpm 1992 drivers/gpu/drm/amd/powerplay/vega20_ppt.c struct vega20_dpm_table *dpm_table = (struct vega20_dpm_table *)smu->smu_dpm.dpm_context; smu_dpm 1997 drivers/gpu/drm/amd/powerplay/vega20_ppt.c if (!smu->smu_dpm.dpm_context) smu_dpm 2034 drivers/gpu/drm/amd/powerplay/vega20_ppt.c struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); smu_dpm 2065 drivers/gpu/drm/amd/powerplay/vega20_ppt.c struct vega20_dpm_table *dpm_table = smu->smu_dpm.dpm_context; smu_dpm 2067 drivers/gpu/drm/amd/powerplay/vega20_ppt.c if (!smu->smu_dpm.dpm_context) smu_dpm 2105 drivers/gpu/drm/amd/powerplay/vega20_ppt.c struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); smu_dpm 2253 drivers/gpu/drm/amd/powerplay/vega20_ppt.c struct vega20_dpm_table *dpm_table = smu->smu_dpm.dpm_context; smu_dpm 2345 drivers/gpu/drm/amd/powerplay/vega20_ppt.c (struct vega20_dpm_table *)smu->smu_dpm.dpm_context; smu_dpm 2396 drivers/gpu/drm/amd/powerplay/vega20_ppt.c (struct vega20_dpm_table *)smu->smu_dpm.dpm_context; smu_dpm 2543 drivers/gpu/drm/amd/powerplay/vega20_ppt.c struct smu_dpm_context *smu_dpm = &smu->smu_dpm; smu_dpm 2555 drivers/gpu/drm/amd/powerplay/vega20_ppt.c dpm_table = smu_dpm->dpm_context; smu_dpm 2556 drivers/gpu/drm/amd/powerplay/vega20_ppt.c golden_table = smu_dpm->golden_dpm_context; smu_dpm 2603 drivers/gpu/drm/amd/powerplay/vega20_ppt.c ret = smu_handle_task(smu, smu_dpm->dpm_level, smu_dpm 2619 drivers/gpu/drm/amd/powerplay/vega20_ppt.c struct smu_dpm_context *smu_dpm = &smu->smu_dpm; smu_dpm 2629 drivers/gpu/drm/amd/powerplay/vega20_ppt.c dpm_table = smu_dpm->dpm_context; smu_dpm 2834 drivers/gpu/drm/amd/powerplay/vega20_ppt.c ret = smu_handle_task(smu, smu_dpm->dpm_level,