Select the types of activity you want to include in your feed.
drm/amdgpu: save number of vce states in dpm struct.
Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
···56895689 adev->pm.dpm.num_ps = state_array->ucNumEntries;5690569056915691 /* fill in the vce power states */56925692- for (i = 0; i < AMD_MAX_VCE_LEVELS; i++) {56925692+ for (i = 0; i < adev->pm.dpm.num_of_vce_states; i++) {56935693 u32 sclk, mclk;56945694 clock_array_index = adev->pm.dpm.vce_states[i].clk_idx;56955695 clock_info = (union pplib_clock_info *)
+1-1
drivers/gpu/drm/amd/amdgpu/kv_dpm.c
···27962796 adev->pm.dpm.num_ps = state_array->ucNumEntries;2797279727982798 /* fill in the vce power states */27992799- for (i = 0; i < AMD_MAX_VCE_LEVELS; i++) {27992799+ for (i = 0; i < adev->pm.dpm.num_of_vce_states; i++) {28002800 u32 sclk;28012801 clock_array_index = adev->pm.dpm.vce_states[i].clk_idx;28022802 clock_info = (union pplib_clock_info *)
+1-1
drivers/gpu/drm/amd/amdgpu/si_dpm.c
···73207320 adev->pm.dpm.num_ps = state_array->ucNumEntries;7321732173227322 /* fill in the vce power states */73237323- for (i = 0; i < AMD_MAX_VCE_LEVELS; i++) {73237323+ for (i = 0; i < adev->pm.dpm.num_of_vce_states; i++) {73247324 u32 sclk, mclk;73257325 clock_array_index = adev->pm.dpm.vce_states[i].clk_idx;73267326 clock_info = (union pplib_clock_info *)