aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_util.h')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_util.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_util.h b/drivers/gpu/drm/nouveau/nouveau_util.h
index b97719fbb739..114293758f8c 100644
--- a/drivers/gpu/drm/nouveau/nouveau_util.h
+++ b/drivers/gpu/drm/nouveau/nouveau_util.h
@@ -28,21 +28,7 @@
28#ifndef __NOUVEAU_UTIL_H__ 28#ifndef __NOUVEAU_UTIL_H__
29#define __NOUVEAU_UTIL_H__ 29#define __NOUVEAU_UTIL_H__
30 30
31struct nouveau_bitfield { 31#include <core/enum.h>
32 u32 mask;
33 const char *name;
34};
35
36struct nouveau_enum {
37 u32 value;
38 const char *name;
39 void *data;
40};
41
42void nouveau_bitfield_print(const struct nouveau_bitfield *, u32 value);
43void nouveau_enum_print(const struct nouveau_enum *, u32 value);
44const struct nouveau_enum *
45nouveau_enum_find(const struct nouveau_enum *, u32 value);
46 32
47int nouveau_ratelimit(void); 33int nouveau_ratelimit(void);
48 34