drm/xe: Fix guc_exec_queue_set_priority
authorBrian Welty <brian.welty@intel.com>
Fri, 5 Jan 2024 19:04:39 +0000 (11:04 -0800)
committerMatthew Brost <matthew.brost@intel.com>
Tue, 9 Jan 2024 22:11:38 +0000 (14:11 -0800)
commitb16483f9f8120b530327879fa3ea576e897946da
tree1a531ba8eb4ef4307815badd089b70ab47b3cd6f
parent9fbedddfc90062e09426108335585487647067e3
drm/xe: Fix guc_exec_queue_set_priority

We need to set q->priority prior to calling guc_exec_queue_add_msg() as
that will call init_policies() and sets the scheduling properties to those
stored in the exec_queue.

Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
Signed-off-by: Brian Welty <brian.welty@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
drivers/gpu/drm/xe/xe_guc_submit.c