]> git.dujemihanovic.xyz Git - linux.git/commit
drm/xe/guc_submit: use jiffies for job timeout
authorMatthew Auld <matthew.auld@intel.com>
Thu, 14 Mar 2024 12:15:55 +0000 (12:15 +0000)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 14 Mar 2024 17:11:34 +0000 (10:11 -0700)
commit2c5b70f74d61438a071a19370e63c234d2bd8938
tree32132b096f1fe4a6fb8752bd9c9a19b3f1369335
parent002d8f0b4f76aabbf8e00c538a124b91625d7260
drm/xe/guc_submit: use jiffies for job timeout

drm_sched_init() expects jiffies for the timeout, but here we are
passing the timeout in ms. Convert to jiffies instead.

Fixes: eef55700f302 ("drm/xe: Add sysfs for default engine scheduler properties")
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Nirmoy Das <nirmoy.das@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240314121554.223229-2-matthew.auld@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/xe_guc_submit.c