xref: /linux/drivers/gpu/drm/i915/gt/intel_context_param.h (revision 8c994eff8fcfe8ecb1f1dbebed25b4d7bb75be12)
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2019 Intel Corporation
4  */
5 
6 #ifndef INTEL_CONTEXT_PARAM_H
7 #define INTEL_CONTEXT_PARAM_H
8 
9 #include <linux/types.h>
10 
11 #include "intel_context.h"
12 
13 static inline void
14 intel_context_set_watchdog_us(struct intel_context *ce, u64 timeout_us)
15 {
16 	ce->watchdog.timeout_us = timeout_us;
17 }
18 
19 #endif /* INTEL_CONTEXT_PARAM_H */
20