diff options
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_drm.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_drm.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drm.h b/drivers/gpu/drm/nouveau/nouveau_drm.h index 994fd6ec373b..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 | ||
53 | enum nouveau_drm_handle { | 53 | enum 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 | ||
60 | struct nouveau_cli { | 61 | struct nouveau_cli { |
@@ -127,10 +128,10 @@ struct nouveau_drm { | |||
127 | struct nvbios vbios; | 128 | struct nvbios vbios; |
128 | struct nouveau_display *display; | 129 | struct nouveau_display *display; |
129 | struct backlight_device *backlight; | 130 | struct backlight_device *backlight; |
130 | struct nouveau_eventh vblank[4]; | ||
131 | 131 | ||
132 | /* power management */ | 132 | /* power management */ |
133 | struct nouveau_pm *pm; | 133 | struct nouveau_hwmon *hwmon; |
134 | struct nouveau_sysfs *sysfs; | ||
134 | 135 | ||
135 | /* display power reference */ | 136 | /* display power reference */ |
136 | bool have_disp_power_ref; | 137 | bool have_disp_power_ref; |
@@ -154,7 +155,6 @@ nouveau_dev(struct drm_device *dev) | |||
154 | int nouveau_pmops_suspend(struct device *); | 155 | int nouveau_pmops_suspend(struct device *); |
155 | int nouveau_pmops_resume(struct device *); | 156 | int nouveau_pmops_resume(struct device *); |
156 | 157 | ||
157 | #define NV_SUSPEND(cli, fmt, args...) nv_suspend((cli), fmt, ##args) | ||
158 | #define NV_FATAL(cli, fmt, args...) nv_fatal((cli), fmt, ##args) | 158 | #define NV_FATAL(cli, fmt, args...) nv_fatal((cli), fmt, ##args) |
159 | #define NV_ERROR(cli, fmt, args...) nv_error((cli), fmt, ##args) | 159 | #define NV_ERROR(cli, fmt, args...) nv_error((cli), fmt, ##args) |
160 | #define NV_WARN(cli, fmt, args...) nv_warn((cli), fmt, ##args) | 160 | #define NV_WARN(cli, fmt, args...) nv_warn((cli), fmt, ##args) |