summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/gt/intel_context_param.h
blob: 0c69cb42d075c54d930bbf1ef938271f1a1ae56f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* SPDX-License-Identifier: MIT */
/*
 * Copyright © 2019 Intel Corporation
 */

#ifndef INTEL_CONTEXT_PARAM_H
#define INTEL_CONTEXT_PARAM_H

#include <linux/types.h>

#include "intel_context.h"

static inline void
intel_context_set_watchdog_us(struct intel_context *ce, u64 timeout_us)
{
	ce->watchdog.timeout_us = timeout_us;
}

#endif /* INTEL_CONTEXT_PARAM_H */