After merging the drm tree, today's linux-next build (x86_64 allmodconfig) failed like this: In file included from drivers/gpu/drm/i915/i915_debugfs.c:39: drivers/gpu/drm/i915/gt/intel_gt_requests.h:9:10: fatal error: stddef.h: No such file or directory 9 | #include <stddef.h> | ^~~~~~~~~~ Caused by commit 564f963eabd1 ("isystem: delete global -isystem compile option") from the kbuild tree interacting with commit b97060a99b01 ("drm/i915/guc: Update intel_gt_wait_for_idle to work with GuC") Fixes: b97060a99b01 ("drm/i915/guc: Update intel_gt_wait_for_idle to work with GuC") Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20210820123348.6535a87e@canb.auug.org.au
33 lines
918 B
C
33 lines
918 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2019 Intel Corporation
|
|
*/
|
|
|
|
#ifndef INTEL_GT_REQUESTS_H
|
|
#define INTEL_GT_REQUESTS_H
|
|
|
|
#include <linux/stddef.h>
|
|
|
|
struct intel_engine_cs;
|
|
struct intel_gt;
|
|
struct intel_timeline;
|
|
|
|
long intel_gt_retire_requests_timeout(struct intel_gt *gt, long timeout,
|
|
long *remaining_timeout);
|
|
static inline void intel_gt_retire_requests(struct intel_gt *gt)
|
|
{
|
|
intel_gt_retire_requests_timeout(gt, 0, NULL);
|
|
}
|
|
|
|
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);
|
|
|
|
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 */
|