drm/amdkfd: Use gpu_offset for user queue's wptr

commit cc39f9ccb8 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>
This commit is contained in:
YuBiao Wang 2023-09-15 10:47:50 +08:00 • committed by Greg Kroah-Hartman
commit b60028c81e