Skip to content
Snippets Groups Projects
Commit 98a5af81 authored by Harish Kasiviswanathan's avatar Harish Kasiviswanathan Committed by Linux Infrastructure
Browse files

drm/amdkfd: Add pm_config_dequeue_wait_counts API


Update pm_update_grace_period() to more cleaner
pm_config_dequeue_wait_counts(). Previously, grace_period variable was
overloaded as a variable and a macro, making it inflexible to configure
additional dequeue wait times.

pm_config_dequeue_wait_counts() now takes in a cmd / variable. This
allows flexibility to update different dequeue wait times.

Signed-off-by: default avatarHarish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Reviewed-by: default avatar: Jonathan Kim <jonathan.kim@amd.com>
parent ca602d1c
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment