summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nouveau_display.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2014-08-10 04:10:19 +1000
committerBen Skeggs <bskeggs@redhat.com>2014-08-10 05:12:55 +1000
commitab0af559d34b6817768c1720859aef7d7009ee57 (patch)
tree5d2b27a3b78acd6e3869bd7f3762d53b885f03eb /drivers/gpu/drm/nouveau/nouveau_display.h
parent7820e5eef0faa4a5e10834296680827f7ce78a89 (diff)
downloadlwn-ab0af559d34b6817768c1720859aef7d7009ee57.tar.gz
lwn-ab0af559d34b6817768c1720859aef7d7009ee57.zip
drm/nv50/kms: move framebuffer wrangling out of common code
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_display.h')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_display.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_display.h b/drivers/gpu/drm/nouveau/nouveau_display.h
index a71cf77e55b2..90426cb07c5e 100644
--- a/drivers/gpu/drm/nouveau/nouveau_display.h
+++ b/drivers/gpu/drm/nouveau/nouveau_display.h
@@ -36,9 +36,13 @@ struct nouveau_display {
int (*init)(struct drm_device *);
void (*fini)(struct drm_device *);
+ int (*fb_ctor)(struct drm_framebuffer *);
+ void (*fb_dtor)(struct drm_framebuffer *);
+
struct nouveau_object *core;
struct nouveau_eventh **vblank;
+
struct drm_property *dithering_mode;
struct drm_property *dithering_depth;
struct drm_property *underscan_property;