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)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 20 Sep 2023 20:24:09 +0000 (16:24 -0400)
commitb157df66d81a05a1cbfb5f6faf196afb72d20e88
tree8d022535913a00fb275027d7e9b499b4298db03f
parent2d30263029dd1bdfd5868173fb12978666a40607
drm/amdkfd: Use gpu_offset for user queue's wptr

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>
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c