diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0269-drm-amdgpu-fix-a-amdgpu_dpm-0-bug.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0269-drm-amdgpu-fix-a-amdgpu_dpm-0-bug.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/common/recipes-kernel/linux/files/0269-drm-amdgpu-fix-a-amdgpu_dpm-0-bug.patch b/common/recipes-kernel/linux/files/0269-drm-amdgpu-fix-a-amdgpu_dpm-0-bug.patch deleted file mode 100644 index 37ebb3e6..00000000 --- a/common/recipes-kernel/linux/files/0269-drm-amdgpu-fix-a-amdgpu_dpm-0-bug.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 6d8db6ce239587c3d300d79fce3f5bb376232475 Mon Sep 17 00:00:00 2001 -From: Sonny Jiang <sonny.jiang@amd.com> -Date: Wed, 10 Jun 2015 13:46:36 -0400 -Subject: [PATCH 0269/1050] drm/amdgpu: fix a amdgpu_dpm=0 bug - -Signed-off-by: Sonny Jiang <sonny.jiang@amd.com> -Reviewed-by: Alex Deucher <alexander.deucher@amd.com> ---- - drivers/gpu/drm/amd/amdgpu/cz_dpm.c | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -diff --git a/drivers/gpu/drm/amd/amdgpu/cz_dpm.c b/drivers/gpu/drm/amd/amdgpu/cz_dpm.c -index 10a3874..e4936a4 100644 ---- a/drivers/gpu/drm/amd/amdgpu/cz_dpm.c -+++ b/drivers/gpu/drm/amd/amdgpu/cz_dpm.c -@@ -557,9 +557,11 @@ static int cz_dpm_late_init(void *handle) - { - struct amdgpu_device *adev = (struct amdgpu_device *)handle; - -- /* powerdown unused blocks for now */ -- cz_dpm_powergate_uvd(adev, true); -- cz_dpm_powergate_vce(adev, true); -+ if (amdgpu_dpm) { -+ /* powerdown unused blocks for now */ -+ cz_dpm_powergate_uvd(adev, true); -+ cz_dpm_powergate_vce(adev, true); -+ } - - return 0; - } --- -1.9.1 - |