xref: /linux/drivers/gpu/drm/drm_ras_nl.h (revision 13c072b8e91a5ccb5855ca1ba6fe3ea467dbf94d)
1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
2 /* Do not edit directly, auto-generated from: */
3 /*	Documentation/netlink/specs/drm_ras.yaml */
4 /* YNL-GEN kernel header */
5 /* To regenerate run: tools/net/ynl/ynl-regen.sh */
6 
7 #ifndef _LINUX_DRM_RAS_GEN_H
8 #define _LINUX_DRM_RAS_GEN_H
9 
10 #include <net/netlink.h>
11 #include <net/genetlink.h>
12 
13 #include <uapi/drm/drm_ras.h>
14 
15 int drm_ras_nl_list_nodes_dumpit(struct sk_buff *skb,
16 				 struct netlink_callback *cb);
17 int drm_ras_nl_get_error_counter_doit(struct sk_buff *skb,
18 				      struct genl_info *info);
19 int drm_ras_nl_get_error_counter_dumpit(struct sk_buff *skb,
20 					struct netlink_callback *cb);
21 
22 extern struct genl_family drm_ras_nl_family;
23 
24 #endif /* _LINUX_DRM_RAS_GEN_H */
25