treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / gpu / drm / i915 / gt / uc / intel_guc_submission.h
blobe402a2932592ea7275f34bc34ddaf4672c3e66ee
1 /* SPDX-License-Identifier: MIT */
2 /*
3 * Copyright © 2014-2019 Intel Corporation
4 */
6 #ifndef _INTEL_GUC_SUBMISSION_H_
7 #define _INTEL_GUC_SUBMISSION_H_
9 #include <linux/types.h>
11 struct intel_guc;
12 struct intel_engine_cs;
14 void intel_guc_submission_init_early(struct intel_guc *guc);
15 int intel_guc_submission_init(struct intel_guc *guc);
16 void intel_guc_submission_enable(struct intel_guc *guc);
17 void intel_guc_submission_disable(struct intel_guc *guc);
18 void intel_guc_submission_fini(struct intel_guc *guc);
19 int intel_guc_preempt_work_create(struct intel_guc *guc);
20 void intel_guc_preempt_work_destroy(struct intel_guc *guc);
21 bool intel_engine_in_guc_submission_mode(const struct intel_engine_cs *engine);
23 #endif