drm/xe: Separate out sched/deregister_done handling
authorNiranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
Tue, 19 Mar 2024 18:41:53 +0000 (11:41 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Wed, 20 Mar 2024 05:36:15 +0000 (22:36 -0700)
commitaacf3f629ad7f82170b207158b810066fc354322
tree759a9aede450ce59f821f643a138d4e4816eaa9f
parent43c4ff3ca2d1c93a9bfa5ad60e0a06832e830ec6
drm/xe: Separate out sched/deregister_done handling

Abstract out the core part of sched_done and deregister_done handlers
to separate functions to decouple them from any protocol error handling
part and make them more readable.

Signed-off-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240319184153.16667-1-niranjana.vishwanathapura@intel.com
drivers/gpu/drm/xe/xe_guc_submit.c