summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_ras_nl.h
blob: 06ccd93427739e0a4aa16ad973d293e4344d8381 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
/* Do not edit directly, auto-generated from: */
/*	Documentation/netlink/specs/drm_ras.yaml */
/* YNL-GEN kernel header */
/* To regenerate run: tools/net/ynl/ynl-regen.sh */

#ifndef _LINUX_DRM_RAS_GEN_H
#define _LINUX_DRM_RAS_GEN_H

#include <net/netlink.h>
#include <net/genetlink.h>

#include <uapi/drm/drm_ras.h>

int drm_ras_nl_list_nodes_dumpit(struct sk_buff *skb,
				 struct netlink_callback *cb);
int drm_ras_nl_get_error_counter_doit(struct sk_buff *skb,
				      struct genl_info *info);
int drm_ras_nl_get_error_counter_dumpit(struct sk_buff *skb,
					struct netlink_callback *cb);

extern struct genl_family drm_ras_nl_family;

#endif /* _LINUX_DRM_RAS_GEN_H */