mirror_ubuntu-kernels/drivers/gpu/drm/amd
Huang Rui 0d90d0ddd1 drm/amd/pm: implement processor fine grain feature for vangogh (v3)
This patch is to implement the processor fine grain feature for vangogh.
It's similar with gfx clock, the only difference is below:

echo "p core_id level value" > pp_od_clk_voltage

1. "p" - set the cclk (processor) frequency
2. "core_id" - 0/1/2/3, represents which cpu core you want to select
2. "level" - 0 or 1, "0" represents the min value,  "1" represents the
   max value
3. "value" - the target value of cclk frequency, it should be limited in
   the safe range

v2: fix some missing changes as Evan's suggestion.
v3: add version check and fix the restore.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-01-13 23:52:58 -05:00
..
acp drm: amd/acp: fix broken menu structure 2020-03-13 11:52:35 -04:00
amdgpu drm/amdgpu: Enable GPU reset for vangogh 2021-01-13 23:48:06 -05:00
amdkfd drm/amdkfd: Fix out-of-bounds read in kdf_create_vcrat_image_cpu() 2021-01-13 23:46:34 -05:00
display drm/amd/display: Fix deadlock during gpu reset v3 2021-01-13 23:48:47 -05:00
include drm/amd/pm: implement processor fine grain feature for vangogh (v3) 2021-01-13 23:52:58 -05:00
pm drm/amd/pm: implement processor fine grain feature for vangogh (v3) 2021-01-13 23:52:58 -05:00