summaryrefslogtreecommitdiff
path: root/linux-core/drm_crtc.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2008-06-06 16:24:27 +1000
committerDave Airlie <airlied@linux.ie>2008-06-06 16:24:27 +1000
commit6d4ffd12cd8d3713067adf5fa3bdcb023b0745f1 (patch)
treeaf2f874738dbaea2a0b97fe2e0c11cc654c68328 /linux-core/drm_crtc.h
parent00bb548c6129ee712742d0e893aaa50fc65e49fc (diff)
drm: fix up fb resize again
Diffstat (limited to 'linux-core/drm_crtc.h')
-rw-r--r--linux-core/drm_crtc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/drm_crtc.h b/linux-core/drm_crtc.h
index 043b4a57..5f5f195a 100644
--- a/linux-core/drm_crtc.h
+++ b/linux-core/drm_crtc.h
@@ -522,9 +522,9 @@ struct drm_mode_set {
* the CRTC<->connector mappings as needed and update its view of the screen.
*/
struct drm_mode_config_funcs {
- bool (*resize_fb)(struct drm_device *dev, struct drm_framebuffer *fb);
+ int (*resize_fb)(struct drm_device *dev, struct drm_file *file_priv, struct drm_framebuffer *fb, struct drm_mode_fb_cmd *mode_cmd);
struct drm_framebuffer *(*fb_create)(struct drm_device *dev, struct drm_file *file_priv, struct drm_mode_fb_cmd *mode_cmd);
- void (*fb_changed)(struct drm_device *dev);
+ int (*fb_changed)(struct drm_device *dev);
};
struct drm_mode_group {