diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-amd/0062-drm-radeon-dpm-select-the-appropriate-vce-power-stat.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-amd/0062-drm-radeon-dpm-select-the-appropriate-vce-power-stat.patch | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/common/recipes-kernel/linux/linux-amd/0062-drm-radeon-dpm-select-the-appropriate-vce-power-stat.patch b/common/recipes-kernel/linux/linux-amd/0062-drm-radeon-dpm-select-the-appropriate-vce-power-stat.patch deleted file mode 100644 index a30db752..00000000 --- a/common/recipes-kernel/linux/linux-amd/0062-drm-radeon-dpm-select-the-appropriate-vce-power-stat.patch +++ /dev/null @@ -1,49 +0,0 @@ -From e40b0d8d5403486af9a565e0577fcb609118ac33 Mon Sep 17 00:00:00 2001 -From: Arindam Nath <arindam.nath@amd.com> -Date: Sun, 8 Feb 2015 03:27:29 +0530 -Subject: [PATCH 3/9] drm/radeon/dpm: select the appropriate vce power state - for KV/KB/ML - -Compare the clock in the limits table to the requested evclk rather -than just taking the first value. - -Signed-off-by: Alex Deucher <alexander.deucher@amd.com> -Cc: stable@vger.kernel.org -Signed-off-by: Arindam Nath <arindam.nath@amd.com> ---- - drivers/gpu/drm/radeon/kv_dpm.c | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/drivers/gpu/drm/radeon/kv_dpm.c b/drivers/gpu/drm/radeon/kv_dpm.c -index a09958a..edaf73f 100644 ---- a/drivers/gpu/drm/radeon/kv_dpm.c -+++ b/drivers/gpu/drm/radeon/kv_dpm.c -@@ -1446,14 +1446,14 @@ static int kv_update_uvd_dpm(struct radeon_device *rdev, bool gate) - return kv_enable_uvd_dpm(rdev, !gate); - } - --static u8 kv_get_vce_boot_level(struct radeon_device *rdev) -+static u8 kv_get_vce_boot_level(struct radeon_device *rdev, u32 evclk) - { - u8 i; - struct radeon_vce_clock_voltage_dependency_table *table = - &rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table; - - for (i = 0; i < table->count; i++) { -- if (table->entries[i].evclk >= 0) /* XXX */ -+ if (table->entries[i].evclk >= evclk) - break; - } - -@@ -1476,7 +1476,7 @@ static int kv_update_vce_dpm(struct radeon_device *rdev, - if (pi->caps_stable_p_state) - pi->vce_boot_level = table->count - 1; - else -- pi->vce_boot_level = kv_get_vce_boot_level(rdev); -+ pi->vce_boot_level = kv_get_vce_boot_level(rdev, radeon_new_state->evclk); - - ret = kv_copy_bytes_to_smc(rdev, - pi->dpm_table_start + --- -1.9.1 - |