mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 15:18:19 +00:00
24f90d6688
Clean up the SPDX licence declarations to comply with checkpatch. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210122192913.4518-1-chris@chris-wilson.co.uk Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
31 lines
914 B
C
31 lines
914 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2019 Intel Corporation
|
|
*/
|
|
|
|
#ifndef INTEL_GT_REQUESTS_H
|
|
#define INTEL_GT_REQUESTS_H
|
|
|
|
struct intel_engine_cs;
|
|
struct intel_gt;
|
|
struct intel_timeline;
|
|
|
|
long intel_gt_retire_requests_timeout(struct intel_gt *gt, long timeout);
|
|
static inline void intel_gt_retire_requests(struct intel_gt *gt)
|
|
{
|
|
intel_gt_retire_requests_timeout(gt, 0);
|
|
}
|
|
|
|
void intel_engine_init_retire(struct intel_engine_cs *engine);
|
|
void intel_engine_add_retire(struct intel_engine_cs *engine,
|
|
struct intel_timeline *tl);
|
|
void intel_engine_fini_retire(struct intel_engine_cs *engine);
|
|
|
|
int intel_gt_wait_for_idle(struct intel_gt *gt, long timeout);
|
|
|
|
void intel_gt_init_requests(struct intel_gt *gt);
|
|
void intel_gt_park_requests(struct intel_gt *gt);
|
|
void intel_gt_unpark_requests(struct intel_gt *gt);
|
|
void intel_gt_fini_requests(struct intel_gt *gt);
|
|
|
|
#endif /* INTEL_GT_REQUESTS_H */
|