aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
diff options
context:
space:
mode:
authorArunpravin Paneer Selvam <[email protected]>2024-12-09 13:50:56 +0000
committerAlex Deucher <[email protected]>2025-04-08 20:48:19 +0000
commit9ed335d9398475675e26fcf92d7cf956e5b8a605 (patch)
tree26ae311e45e860388079021b77a1de0da414accb /drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
parentdrm/amdgpu: enable eviction fence (diff)
downloadkernel-9ed335d9398475675e26fcf92d7cf956e5b8a605.tar.gz
kernel-9ed335d9398475675e26fcf92d7cf956e5b8a605.zip
drm/amdgpu: Add mqd for userq compute queue
Add mqd for userq compute queue for gfx11/gfx12 Signed-off-by: Arunpravin Paneer Selvam <[email protected]> Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
index 114284e65c7c..d3b4018580c6 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
@@ -4312,6 +4312,10 @@ static int gfx_v11_0_compute_mqd_init(struct amdgpu_device *adev, void *m,
mqd->cp_hqd_active = prop->hqd_active;
+ /* set UQ fenceaddress */
+ mqd->fence_address_lo = lower_32_bits(prop->fence_address);
+ mqd->fence_address_hi = upper_32_bits(prop->fence_address);
+
return 0;
}