From: Rob Clark Subject: [PATCH] drm/omap: fix minimum width/height Date: Sun, 8 Jan 2012 19:37:37 -0600 Message-ID: <1326073057-19270-1-git-send-email-rob.clark@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-gx0-f177.google.com (mail-gx0-f177.google.com [209.85.161.177]) by gabe.freedesktop.org (Postfix) with ESMTP id 11BAC9E76E for ; Sun, 8 Jan 2012 17:37:33 -0800 (PST) Received: by ggnp4 with SMTP id p4so1442561ggn.36 for ; Sun, 08 Jan 2012 17:37:33 -0800 (PST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org Cc: Greg KH , Rob Clark , patches@linaro.org List-Id: dri-devel@lists.freedesktop.org From: Rob Clark Fix minimum width/height so planes could be used to implement hw mouse cursor. Signed-off-by: Rob Clark --- drivers/staging/omapdrm/omap_drv.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/omapdrm/omap_drv.c b/drivers/staging/omapdrm/omap_drv.c index 9a8b00c..163f0ae 100644 --- a/drivers/staging/omapdrm/omap_drv.c +++ b/drivers/staging/omapdrm/omap_drv.c @@ -401,8 +401,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.. -- 1.7.5.4