All of lore.kernel.org
 help / color / mirror / Atom feed
* Patch "drm/amdkfd: Initialize sdma vm when creating sdma queue" has been added to the 4.0-stable tree
@ 2015-05-15 17:25 gregkh
  0 siblings, 0 replies; only message in thread
From: gregkh @ 2015-05-15 17:25 UTC (permalink / raw)
  To: xihan.zhang, alexander.deucher, ben.goz, gregkh, oded.gabbay
  Cc: stable, stable-commits


This is a note to let you know that I've just added the patch titled

    drm/amdkfd: Initialize sdma vm when creating sdma queue

to the 4.0-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     drm-amdkfd-initialize-sdma-vm-when-creating-sdma-queue.patch
and it can be found in the queue-4.0 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.


>From 79b066bd76d501cfe8328142153da301f5ca11d1 Mon Sep 17 00:00:00 2001
From: Xihan Zhang <xihan.zhang@amd.com>
Date: Tue, 28 Apr 2015 23:48:40 +0800
Subject: drm/amdkfd: Initialize sdma vm when creating sdma queue

From: Xihan Zhang <xihan.zhang@amd.com>

commit 79b066bd76d501cfe8328142153da301f5ca11d1 upstream.

This patch fixes a bug where sdma vm wasn't initialized when
an sdma queue was created in HWS mode.

This caused GPUVM faults to appear on dmesg and it is one of the
causes that SDMA queues are not working.

Signed-off-by: Xihan Zhang <xihan.zhang@amd.com>
Reviewed-by: Ben Goz <ben.goz@amd.comt>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c |    2 ++
 1 file changed, 2 insertions(+)

--- a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
@@ -879,6 +879,8 @@ static int create_queue_cpsch(struct dev
 		return -ENOMEM;
 	}
 
+	init_sdma_vm(dqm, q, qpd);
+
 	retval = mqd->init_mqd(mqd, &q->mqd, &q->mqd_mem_obj,
 				&q->gart_mqd_addr, &q->properties);
 	if (retval != 0)


Patches currently in stable-queue which might be from xihan.zhang@amd.com are

queue-4.0/drm-amdkfd-initialize-sdma-vm-when-creating-sdma-queue.patch

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-05-15 17:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-15 17:25 Patch "drm/amdkfd: Initialize sdma vm when creating sdma queue" has been added to the 4.0-stable tree gregkh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.