aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.19.8/0673-drm-amdgpu-use-paging-queue-for-VM-page-table-update.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.19.8/0673-drm-amdgpu-use-paging-queue-for-VM-page-table-update.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.19.8/0673-drm-amdgpu-use-paging-queue-for-VM-page-table-update.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.19.8/0673-drm-amdgpu-use-paging-queue-for-VM-page-table-update.patch b/common/recipes-kernel/linux/linux-yocto-4.19.8/0673-drm-amdgpu-use-paging-queue-for-VM-page-table-update.patch
new file mode 100644
index 00000000..9e54b989
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.19.8/0673-drm-amdgpu-use-paging-queue-for-VM-page-table-update.patch
@@ -0,0 +1,34 @@
+From 2c97cf212a790300950f0465f77268c918d2be38 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Christian=20K=C3=B6nig?= <christian.koenig@amd.com>
+Date: Mon, 8 Oct 2018 15:31:18 +0200
+Subject: [PATCH 0673/2940] drm/amdgpu: use paging queue for VM page table
+ updates
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Only for testing, not sure if we should keep it like this.
+
+Signed-off-by: Christian König <christian.koenig@amd.com>
+Reviewed-by: Huang Rui <ray.huang@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
+index 2469deb57b49..8c4877faa7aa 100644
+--- a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
++++ b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
+@@ -2056,7 +2056,7 @@ static void sdma_v4_0_set_vm_pte_funcs(struct amdgpu_device *adev)
+
+ adev->vm_manager.vm_pte_funcs = &sdma_v4_0_vm_pte_funcs;
+ for (i = 0; i < adev->sdma.num_instances; i++) {
+- sched = &adev->sdma.instance[i].ring.sched;
++ sched = &adev->sdma.instance[i].page.sched;
+ adev->vm_manager.vm_pte_rqs[i] =
+ &sched->sched_rq[DRM_SCHED_PRIORITY_KERNEL];
+ }
+--
+2.17.1
+