diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0198-drm-amdgpu-always-emit-GDS-switch.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0198-drm-amdgpu-always-emit-GDS-switch.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/common/recipes-kernel/linux/files/0198-drm-amdgpu-always-emit-GDS-switch.patch b/common/recipes-kernel/linux/files/0198-drm-amdgpu-always-emit-GDS-switch.patch deleted file mode 100644 index 70eb722b..00000000 --- a/common/recipes-kernel/linux/files/0198-drm-amdgpu-always-emit-GDS-switch.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 66782cec7ad8f48c09d96ee59b713f694265cfa1 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Christian=20K=C3=B6nig?= <christian.koenig@amd.com> -Date: Mon, 11 May 2015 13:52:09 +0200 -Subject: [PATCH 0198/1050] drm/amdgpu: always emit GDS switch -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Otherwise a process can access the GDS data of another process. - -Signed-off-by: Christian König <christian.koenig@amd.com> -Reviewed-by: Alex Deucher <alexander.deucher@amd.com> -Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com> -Reviewed-by: Monk Liu <monk.liu@amd.com> ---- - drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c -index a83ff03..f2442b2 100644 ---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c -+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c -@@ -179,7 +179,7 @@ int amdgpu_ib_schedule(struct amdgpu_device *adev, unsigned num_ibs, - amdgpu_vm_flush(ring, vm, ib->sync.last_vm_update); - } - -- if (ring->funcs->emit_gds_switch && ib->vm && (ib->flags & AMDGPU_IB_FLAG_GDS)) -+ if (vm && ring->funcs->emit_gds_switch) - amdgpu_ring_emit_gds_switch(ring, ib->vm->ids[ring->idx].id, - ib->gds_base, ib->gds_size, - ib->gws_base, ib->gws_size, --- -1.9.1 - |