aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2812-drm-amdkfd-initialize-mqd_manager_init-function-for-.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2812-drm-amdkfd-initialize-mqd_manager_init-function-for-.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2812-drm-amdkfd-initialize-mqd_manager_init-function-for-.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2812-drm-amdkfd-initialize-mqd_manager_init-function-for-.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2812-drm-amdkfd-initialize-mqd_manager_init-function-for-.patch
new file mode 100644
index 00000000..281bfcf8
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2812-drm-amdkfd-initialize-mqd_manager_init-function-for-.patch
@@ -0,0 +1,29 @@
+From 868d611e451113676478423cebfacf6dfd64ba98 Mon Sep 17 00:00:00 2001
+From: Hawking Zhang <Hawking.Zhang@amd.com>
+Date: Tue, 18 Jun 2019 12:23:34 +0800
+Subject: [PATCH 2812/2940] drm/amdkfd: initialize mqd_manager_init function
+ for navi10
+
+Rebase on latest KFD.
+
+Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_v10.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_v10.c b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_v10.c
+index adb38850366c..72e4d61ac752 100644
+--- a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_v10.c
++++ b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_v10.c
+@@ -36,6 +36,7 @@ void device_queue_manager_init_v10_navi10(
+ {
+ asic_ops->update_qpd = update_qpd_v10;
+ asic_ops->init_sdma_vm = init_sdma_vm_v10;
++ asic_ops->mqd_manager_init = mqd_manager_init_v10;
+ }
+
+ static uint32_t compute_sh_mem_bases_64bit(struct kfd_process_device *pdd)
+--
+2.17.1
+