Skip to content

Commit

Permalink
staging: drm/omap: fix minimum width/height
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rob Clark authored and Greg Kroah-Hartman committed Feb 8, 2012
1 parent 2f53700 commit 6b8ca4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/omapdrm/omap_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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..
Expand Down

0 comments on commit 6b8ca4c

Please sign in to comment.