Patch "drm/amdgpu/gfx8: specify which engine to wait before vm flush" has been added to the 4.4-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
drm/amdgpu/gfx8: specify which engine to wait before vm flush
to the 4.4-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-amdgpu-gfx8-specify-which-engine-to-wait-before-vm-flush.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
9cac537332f5502c103415b25609548c276a09f8Mon Sep 17 00:00:00 2001
From: Chunming Zhou <[email protected]>
Date: Mon, 29 Feb 2016 14:12:38 +0800
Subject: drm/amdgpu/gfx8: specify which engine to wait before vm flush
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From: Chunming Zhou <[email protected]>
commit 9cac537332f5502c103415b25609548c276a09f8 upstream.
Select between me and pfp properly.
--- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +2 -1
@@ -4681,7 +4681,8 @@ static void gfx_v8_0_ring_emit_vm_flush(amdgpu_ring_write (ring,PACKET3 (PACKET3_WAIT_REG_MEM ,5 ));amdgpu_ring_write (ring, (WAIT_REG_MEM_MEM_SPACE (1 ) |/* memory */ -WAIT_REG_MEM_FUNCTION (3 )));/* equal */ +WAIT_REG_MEM_FUNCTION (3 ) |/* equal */ +WAIT_REG_MEM_ENGINE (usepfp)));/* pfp or me */ amdgpu_ring_write (ring, addr &0xfffffffc );amdgpu_ring_write (ring,upper_32_bits (addr) &0xffffffff );amdgpu_ring_write (ring, seq);
Patches currently in stable-queue which might be from [email protected] are
queue-4.4/drm-amdgpu-gfx8-specify-which-engine-to-wait-before-vm-flush.patch