diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0256-drm-amdgpu-remove-power-of-two-limit-for-vramlimit.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0256-drm-amdgpu-remove-power-of-two-limit-for-vramlimit.patch | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/common/recipes-kernel/linux/files/0256-drm-amdgpu-remove-power-of-two-limit-for-vramlimit.patch b/common/recipes-kernel/linux/files/0256-drm-amdgpu-remove-power-of-two-limit-for-vramlimit.patch deleted file mode 100644 index a787af97..00000000 --- a/common/recipes-kernel/linux/files/0256-drm-amdgpu-remove-power-of-two-limit-for-vramlimit.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 4d3f0e0b736ba38639a08d7188474dea9ec8817b Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Christian=20K=C3=B6nig?= <christian.koenig@amd.com> -Date: Thu, 7 Jan 2016 11:44:13 +0100 -Subject: [PATCH 0256/1110] drm/amdgpu: remove power of two limit for vramlimit -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -That works with other values as well. - -Signed-off-by: Christian König <christian.koenig@amd.com> -Reviewed-by: Alex Deucher <alexander.deucher@amd.com> -Signed-off-by: Alex Deucher <alexander.deucher@amd.com> ---- - drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 6 ------ - 1 file changed, 6 deletions(-) - -diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c -index f9c0393..4978262 100644 ---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c -+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c -@@ -959,12 +959,6 @@ static void amdgpu_check_arguments(struct amdgpu_device *adev) - amdgpu_sched_jobs); - amdgpu_sched_jobs = roundup_pow_of_two(amdgpu_sched_jobs); - } -- /* vramlimit must be a power of two */ -- if (!amdgpu_check_pot_argument(amdgpu_vram_limit)) { -- dev_warn(adev->dev, "vram limit (%d) must be a power of 2\n", -- amdgpu_vram_limit); -- amdgpu_vram_limit = 0; -- } - - if (amdgpu_gart_size != -1) { - /* gtt size must be power of two and greater or equal to 32M */ --- -2.7.4 - |