From patchwork Mon Jan 9 01:37:37 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Clark X-Patchwork-Id: 6097 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id DE45423E01 for ; Mon, 9 Jan 2012 01:37:36 +0000 (UTC) Received: from mail-bk0-f52.google.com (mail-bk0-f52.google.com [209.85.214.52]) by fiordland.canonical.com (Postfix) with ESMTP id C5855A18078 for ; Mon, 9 Jan 2012 01:37:36 +0000 (UTC) Received: by bke17 with SMTP id 17so1699542bke.11 for ; Sun, 08 Jan 2012 17:37:36 -0800 (PST) Received: by 10.204.153.27 with SMTP id i27mr6462423bkw.81.1326073056496; Sun, 08 Jan 2012 17:37:36 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.205.82.144 with SMTP id ac16cs38889bkc; Sun, 8 Jan 2012 17:37:35 -0800 (PST) Received: by 10.236.145.102 with SMTP id o66mr9637258yhj.28.1326073053873; Sun, 08 Jan 2012 17:37:33 -0800 (PST) Received: from mail-gy0-f178.google.com (mail-gy0-f178.google.com [209.85.160.178]) by mx.google.com with ESMTPS id z49si10342152yhh.86.2012.01.08.17.37.33 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 08 Jan 2012 17:37:33 -0800 (PST) Received-SPF: pass (google.com: domain of robdclark@gmail.com designates 209.85.160.178 as permitted sender) client-ip=209.85.160.178; Authentication-Results: mx.google.com; spf=pass (google.com: domain of robdclark@gmail.com designates 209.85.160.178 as permitted sender) smtp.mail=robdclark@gmail.com; dkim=pass (test mode) header.i=@gmail.com Received: by ghbg19 with SMTP id g19so1517327ghb.37 for ; Sun, 08 Jan 2012 17:37:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:date:message-id:x-mailer; bh=VT7fzbjfBtnHZYMcIF3q7W9VwJ0jQPLjIPu6qC8cOVc=; b=MUW52gaLZKqtadfTJHrSvGt15vV1DvkViiBPHWve/7qH4jLPV41hnA+WLD87QttA1t anfLWgVHoZ7tXy6sf5e0VsgIRwZfsZ6AQZnIbkPh+8wGq0ds9B+YFp4XWt6t86ifKwr2 YRwJmoMRspu9Zknd5AI9u3EAAYB/wG51hjaV4= Received: by 10.236.200.230 with SMTP id z66mr17877230yhn.20.1326073053427; Sun, 08 Jan 2012 17:37:33 -0800 (PST) Received: from localhost (ppp-70-129-134-180.dsl.rcsntx.swbell.net. [70.129.134.180]) by mx.google.com with ESMTPS id z25sm7512690yhl.10.2012.01.08.17.37.32 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 08 Jan 2012 17:37:32 -0800 (PST) Sender: Rob Clark From: Rob Clark To: dri-devel@lists.freedesktop.org Cc: patches@linaro.org, Greg KH , Tomi Valkeinen , 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> X-Mailer: git-send-email 1.7.5.4 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..