]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: Use gpu_offset for user queue's wptr
authorYuBiao Wang <YuBiao.Wang@amd.com>
Fri, 15 Sep 2023 02:47:50 +0000 (10:47 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Oct 2023 12:57:06 +0000 (14:57 +0200)
commitb60028c81e463b0930191a4fa2ba770ff6d40e3a
tree5850f8a69b24d62be6a100f302e7e67faff8d3d9
parent48a22f13fb1b16dd56280f6fe8dccc8b68600af9
drm/amdkfd: Use gpu_offset for user queue's wptr

commit cc39f9ccb82426e576734b493e1777ea01b144a8 upstream.

Directly use tbo's start address will miss the domain start offset. Need
to use gpu_offset instead.

Signed-off-by: YuBiao Wang <YuBiao.Wang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c