drm/xe: Promote xe_hw_engine_class_to_str()
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 17 May 2024 20:43:03 +0000 (13:43 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Tue, 21 May 2024 13:33:39 +0000 (06:33 -0700)
commitab689514b6ac518ef6e88afa245b834b0dae15a5
treeca57c89d7be6215d1dc60e222a5e226faea91789
parent844f3228d225d25af8a21a7e1554d78c20823a37
drm/xe: Promote xe_hw_engine_class_to_str()

Move it out of the sysfs compilation unit so it can be re-used in other
places.

Reviewed-by: Nirmoy Das <nirmoy.das@intel.com>
Reviewed-by: Oak Zeng <oak.zeng@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240517204310.88854-2-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/xe_hw_engine.c
drivers/gpu/drm/xe/xe_hw_engine.h
drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c