summaryrefslogtreecommitdiffstats
path: root/drivers/staging/omapdrm
diff options
context:
space:
mode:
authorRob Clark <rob@ti.com>2012-01-08 19:37:37 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-02-08 14:14:12 -0800
commit6b8ca4cf53e04f377944228b66ddc7d5d593e705 (patch)
tree9bf02ea019ed80036382f3421f862322f6ba3200 /drivers/staging/omapdrm
parent2f53700df17bf52332056c1e85b23bcf64c77e57 (diff)
downloadlinux-6b8ca4cf53e04f377944228b66ddc7d5d593e705.tar.gz
linux-6b8ca4cf53e04f377944228b66ddc7d5d593e705.tar.bz2
linux-6b8ca4cf53e04f377944228b66ddc7d5d593e705.zip
staging: drm/omap: fix minimum width/height
Fix minimum width/height so planes could be used to implement hw mouse cursor. Signed-off-by: Rob Clark <rob@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/omapdrm')
-rw-r--r--drivers/staging/omapdrm/omap_drv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/omapdrm/omap_drv.c b/drivers/staging/omapdrm/omap_drv.c
index 2de99ffecc51..3bbea9aac404 100644
--- a/drivers/staging/omapdrm/omap_drv.c
+++ b/drivers/staging/omapdrm/omap_drv.c
@@ -390,8 +390,8 @@ static int omap_modeset_init(struct drm_device *dev)
dump_video_chains();
- dev->mode_config.min_width = 256;
- dev->mode_config.min_height = 256;
+ dev->mode_config.min_width = 32;
+ dev->mode_config.min_height = 32;
/* note: eventually will need some cpu_is_omapXYZ() type stuff here
* to fill in these limits properly on different OMAP generations..