aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_drm.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2013-10-14 21:52:56 -0400
committerBen Skeggs <bskeggs@redhat.com>2013-11-08 00:40:18 -0500
commit26fdd78cce3f51a49e1f2d3ad27ee893a28d220e (patch)
treeceacd5963b798bc65e9d045b830564b627a6f84a /drivers/gpu/drm/nouveau/nouveau_drm.h
parent9838366c1597dfd8fe5663ad02024adce2fa07fe (diff)
drm/nouveau: implement a simple sysfs interface to new pm code
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_drm.h')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_drm.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drm.h b/drivers/gpu/drm/nouveau/nouveau_drm.h
index e6d6a6b0053f..71ed2dadae61 100644
--- a/drivers/gpu/drm/nouveau/nouveau_drm.h
+++ b/drivers/gpu/drm/nouveau/nouveau_drm.h
@@ -51,10 +51,11 @@ struct nouveau_drm_tile {
51}; 51};
52 52
53enum nouveau_drm_handle { 53enum nouveau_drm_handle {
54 NVDRM_CLIENT = 0xffffffff, 54 NVDRM_CLIENT = 0xffffffff,
55 NVDRM_DEVICE = 0xdddddddd, 55 NVDRM_DEVICE = 0xdddddddd,
56 NVDRM_PUSH = 0xbbbb0000, /* |= client chid */ 56 NVDRM_CONTROL = 0xdddddddc,
57 NVDRM_CHAN = 0xcccc0000, /* |= client chid */ 57 NVDRM_PUSH = 0xbbbb0000, /* |= client chid */
58 NVDRM_CHAN = 0xcccc0000, /* |= client chid */
58}; 59};
59 60
60struct nouveau_cli { 61struct nouveau_cli {
@@ -130,6 +131,7 @@ struct nouveau_drm {
130 131
131 /* power management */ 132 /* power management */
132 struct nouveau_hwmon *hwmon; 133 struct nouveau_hwmon *hwmon;
134 struct nouveau_sysfs *sysfs;
133 135
134 /* display power reference */ 136 /* display power reference */
135 bool have_disp_power_ref; 137 bool have_disp_power_ref;