xref: /linux/drivers/gpu/drm/i915/gt/intel_context_param.h (revision 3d0fe49454652117522f60bfbefb978ba0e5300b)
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