diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2014-08-10 04:10:19 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-08-10 05:12:55 +1000 |
commit | ab0af559d34b6817768c1720859aef7d7009ee57 (patch) | |
tree | 5d2b27a3b78acd6e3869bd7f3762d53b885f03eb /drivers/gpu/drm/nouveau/nouveau_display.h | |
parent | 7820e5eef0faa4a5e10834296680827f7ce78a89 (diff) | |
download | lwn-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.h | 4 |
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; |