summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorJesse.Zhang <Jesse.Zhang@amd.com>2025-09-04 16:30:08 +0800
committerAlex Deucher <alexander.deucher@amd.com>2025-09-15 17:02:28 -0400
commit5cefcbb306d6b4fa3ac5fba86db94cac81f0b457 (patch)
tree92bcfb0a7a818513ecd926f0872ee3126bed53a6 /rust/helpers/build_bug.c
parent28af436a8fa69d4408eadc1beb84528cc216b30b (diff)
drm/amdgpu: adjust MES API used for suspend and resume
Use the suspend and resume API rather than remove queue and add queue API. The former just preempts the queue while the latter remove it from the scheduler completely. There is no need to do that, we only need preemption in this case. V2: replace queue_active with queue state v3: set the suspend_fence_addr v4: allocate another per queue buffer for the suspend fence, and set the sequence number. also wait for the suspend fence. (Alex) v5: use a wb slot (Alex) v6: Change the timeout period. For MES, the default timeout is 2100000; /* 2100 ms */ (Alex) Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Jesse Zhang <Jesse.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions