diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0526-drm-amdgpu-use-top-down-allocation-for-non-CPU-acces.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0526-drm-amdgpu-use-top-down-allocation-for-non-CPU-acces.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/common/recipes-kernel/linux/files/0526-drm-amdgpu-use-top-down-allocation-for-non-CPU-acces.patch b/common/recipes-kernel/linux/files/0526-drm-amdgpu-use-top-down-allocation-for-non-CPU-acces.patch deleted file mode 100644 index 941f7976..00000000 --- a/common/recipes-kernel/linux/files/0526-drm-amdgpu-use-top-down-allocation-for-non-CPU-acces.patch +++ /dev/null @@ -1,34 +0,0 @@ -From cace5dce5581a5a1232b68e1bc7b778ff40c328b Mon Sep 17 00:00:00 2001 -From: Alex Deucher <alexander.deucher@amd.com> -Date: Wed, 2 Sep 2015 15:06:08 -0400 -Subject: [PATCH 0526/1050] drm/amdgpu: use top down allocation for non-CPU - accessible vram -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Should help avoid fragmentation of vram due to CPU access -requirements. - -Reviewed-by: Christian König <christian.koenig@amd.com> -Signed-off-by: Alex Deucher <alexander.deucher@amd.com> ---- - drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c -index 57adcad..08b09d5 100644 ---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c -+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c -@@ -127,7 +127,7 @@ static void amdgpu_ttm_placement_init(struct amdgpu_device *adev, - placements[c].fpfn = - adev->mc.visible_vram_size >> PAGE_SHIFT; - placements[c++].flags = TTM_PL_FLAG_WC | TTM_PL_FLAG_UNCACHED | -- TTM_PL_FLAG_VRAM; -+ TTM_PL_FLAG_VRAM | TTM_PL_FLAG_TOPDOWN; - } - placements[c].fpfn = 0; - placements[c++].flags = TTM_PL_FLAG_WC | TTM_PL_FLAG_UNCACHED | --- -1.9.1 - |