From patchwork Mon Jun 19 20:32:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudip Mukherjee X-Patchwork-Id: 9797773 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5EA2260381 for ; Mon, 19 Jun 2017 20:33:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5304027E5A for ; Mon, 19 Jun 2017 20:33:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 47E4428451; Mon, 19 Jun 2017 20:33:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F283927E5A for ; Mon, 19 Jun 2017 20:33:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752448AbdFSUdS (ORCPT ); Mon, 19 Jun 2017 16:33:18 -0400 Received: from mail-wr0-f195.google.com ([209.85.128.195]:35219 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752151AbdFSUdI (ORCPT ); Mon, 19 Jun 2017 16:33:08 -0400 Received: by mail-wr0-f195.google.com with SMTP id z45so15091741wrb.2; Mon, 19 Jun 2017 13:33:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ZLYPrQdZ5VmkL0SgPfETlysPLEkf/8aZA06EDYOuxtM=; b=O5gHkE9mUz+VK1dmm+ksnMisTRys9JJt738cdDfBQXsDGySELGbQ6LpDbQ7PfqsVfI i1rYBNLGuHjq4KjdwnUvrSYYN4yhNePCdCKdGfDIfg1sP0ttQw2nzPwYg86NiwhacFDt Cro4+hI5nBG4861lAmc3Pm5nvty98RWzq4QbWyDBp5u2W+KbYNdD2pAHEPg4x7oU2S5W faypnFhOv1lcA4CRD+VdVgH0MX7zigBZKOwfeEC8w+PWd6EbmDnhKd6yA37kWvedcvCA n8UNYUafA83nPEZUajkur9nxWzRrQ+mbP/wP1czkTwMj9A+ZVyquRF7zZtfu4b8E4uBi D9KA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ZLYPrQdZ5VmkL0SgPfETlysPLEkf/8aZA06EDYOuxtM=; b=pC5ZPjNkTXK3xAwlUvjYFdIhO7kQf611H5GzpfOxkxEAWaFZ+M2JSLEdunHXSliez+ KUJcy/sw0JUXgDkbmtJw7PIe2M6ytlvqa95IaOGj+mlVcZaMkgQ4pOlbK+KNQJVM8lK0 PT/MRnIZp6uZRIMAWqO1mTGTZymHIMaSgJQMKXFXeGdCnYyxbXU4m3qkwT7wqiXTcMNH 0uSOMhe0Ws363YZUT2iKCy6ahU4FmB2ixKRD3UYmU/m0NTGn63nYzdReQUOWiWoJdOfp shm3tEs3UD1YUw4yphudjS5qI6f4VV2mJW0t483JvRyH1iYO/ZuKsW7nhk82UfTLbxQ2 HfNA== X-Gm-Message-State: AKS2vOxFk/zwlfLJXJNyR6BULXhp3JLPet7cGYMZej1f/ReB45Dsq+Vc mS/a8sc0pDuTCVs/ X-Received: by 10.223.136.135 with SMTP id f7mr13913639wrf.148.1497904386744; Mon, 19 Jun 2017 13:33:06 -0700 (PDT) Received: from localhost.localdomain (cpc101300-bagu16-2-0-cust362.1-3.cable.virginm.net. [86.21.41.107]) by smtp.gmail.com with ESMTPSA id l17sm5719400wre.25.2017.06.19.13.33.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 19 Jun 2017 13:33:05 -0700 (PDT) From: Sudip Mukherjee To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, devel@driverdev.osuosl.org Subject: [PATCH 2/2] staging: sm750fb: change default screen resolution Date: Mon, 19 Jun 2017 21:32:58 +0100 Message-Id: <1497904378-4808-2-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1497904378-4808-1-git-send-email-sudipm.mukherjee@gmail.com> References: <1497904378-4808-1-git-send-email-sudipm.mukherjee@gmail.com> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The previous patch which updated screen resolution was tested under wrong environment. sm750 driver does not support 24bpp. It only supports 8bpp, 16bpp and 32bpp. Lets update the default screen resolution to use 32bpp for a better screen performance. Fixes: ac669251087d ("staging: sm750fb: change default screen resolution") Signed-off-by: Sudip Mukherjee --- drivers/staging/sm750fb/sm750.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm750.c index 8199dbe..aa26280 100644 --- a/drivers/staging/sm750fb/sm750.c +++ b/drivers/staging/sm750fb/sm750.c @@ -33,7 +33,7 @@ static int g_noaccel; static int g_nomtrr; static const char *g_fbmode[] = {NULL, NULL}; -static const char *g_def_fbmode = "1024x768-24@60"; +static const char *g_def_fbmode = "1024x768-32@60"; static char *g_settings; static int g_dualview; static char *g_option;