aboutsummaryrefslogtreecommitdiff
path: root/drivers/mfd/glamo/glamo-kms-fb.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2009-06-28 22:14:17 +0100
committerThomas White <taw@bitwiz.org.uk>2009-06-28 22:14:17 +0100
commitee66b72542a996ee8f161221713125ef93f8e105 (patch)
tree87dbcb62f62b3f8291b6ea4ac663942254d7f4e8 /drivers/mfd/glamo/glamo-kms-fb.c
parentbfdf7016e915a89f381d6d8da342ad974681736e (diff)
KMS bits and pieces
This adds some missing bits and pieces to make most of the KMS initialisation flow work.` Signed-off-by: Thomas White <taw@bitwiz.org.uk>
Diffstat (limited to 'drivers/mfd/glamo/glamo-kms-fb.c')
-rw-r--r--drivers/mfd/glamo/glamo-kms-fb.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/mfd/glamo/glamo-kms-fb.c b/drivers/mfd/glamo/glamo-kms-fb.c
index 2ae361c5604..918b5febfee 100644
--- a/drivers/mfd/glamo/glamo-kms-fb.c
+++ b/drivers/mfd/glamo/glamo-kms-fb.c
@@ -148,7 +148,8 @@ static int glamofb_check_var(struct fb_var_screeninfo *var,
/* Need to resize the fb object !!! */
if (var->xres > fb->width || var->yres > fb->height) {
- DRM_ERROR("Requested width/height is greater than current fb object %dx%d > %dx%d\n",var->xres,var->yres,fb->width,fb->height);
+ DRM_ERROR("Cannot resize framebuffer object (%dx%d > %dx%d)\n",
+ var->xres,var->yres,fb->width,fb->height);
DRM_ERROR("Need resizing code.\n");
return -EINVAL;
}
@@ -192,6 +193,8 @@ static int glamofb_set_par(struct fb_info *info)
struct fb_var_screeninfo *var = &info->var;
int i;
+ printk(KERN_CRIT "glamofb_set_par\n");
+
DRM_DEBUG("%d %d\n", var->xres, var->pixclock);
if (var->pixclock != -1) {