Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp18163355ybl; Thu, 2 Jan 2020 19:56:52 -0800 (PST) X-Google-Smtp-Source: APXvYqxXbDDcAPX3yC5YBWZaz/fDvnoff7bFdqk55yFuGYWkFlmIdohJP217rQ0Z9Xc27hJw+Ep3 X-Received: by 2002:a05:6830:194:: with SMTP id q20mr99857136ota.92.1578023812533; Thu, 02 Jan 2020 19:56:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578023812; cv=none; d=google.com; s=arc-20160816; b=UKjxrWoJ8daxfFk1WCc4EQuftNbAjWtMm+WGGYzb+ttUSy2Z+Nna0/eGjH2Hcgmf6+ 46JySJquHgIXw1VVpmyRInrFGgX75K4f75HmSVYOl/nsxu5NK7T7e2eJfQUnkzeBb9bM pbX6lp/2YLMrBs+1/hEPAqRr3EYKjEp2dE+Kfogxm+ehiQJ+wxoADqfXh+Ty7O4HGS5m jU+OfLGLf5BRgLTpkBRh9REI21EiTxY0gFNUG/GHXAK/KuyjdnuEwRv4Th5U7gpmP7op Tx//DyWjqXM0n5RlZ6j7yWx9cjsik2EcQMz+WsVZ5FN3gAhmpEY3MEkzYI1DvtktzDyM 2l/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=Y7zl1GlrMDVyjF839CoQB96GtmNuE8uCrXCWVYT2ekc=; b=n1ryGq4mRb2ZZP0aQP/vfLjUYiwCqZxU2Msha+8RuNBQlR1NZLvrgAQ38ii0WWe2dN 7om1u9K1v8S5QTA0ZvCobi11TmPCeDx9KNk8+Ljh0kaXmW4zv4Iq5jKvFeGraoDsh2/l Zv1qV0DflvKGKGvkA2Mebru0/D0ST6Lfqw2OcIoZSg1Up7ZUUpHLUlhGa/ga2bjFY6+I KvD1+gm2L+DlbyfEcQ4uqHUHdhVf8pWkZz7d2yRRnGdbaJZYtWz8as8c7fs/PA/r2pQr vy3LjifhBe6GOnOODiF4xCwWtxxFBqT/lfSPIt/1CXtu1ABil5oyEBcOVrQW7RmbCK80 6LkQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v18si31148790otn.202.2020.01.02.19.56.40; Thu, 02 Jan 2020 19:56:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727168AbgACDz7 (ORCPT + 99 others); Thu, 2 Jan 2020 22:55:59 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:46820 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726282AbgACDz7 (ORCPT ); Thu, 2 Jan 2020 22:55:59 -0500 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 3410B9D0D0859A5D208C; Fri, 3 Jan 2020 11:55:57 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.439.0; Fri, 3 Jan 2020 11:55:49 +0800 From: Tian Tao To: , , , , , , , , , CC: Subject: [PATCH] drm/hisilicon: fixed the wrong resolution configurations Date: Fri, 3 Jan 2020 11:55:56 +0800 Message-ID: <1578023756-46567-1-git-send-email-tiantao6@hisilicon.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The maximum resolution supported by hibmc is 1920 * 1200 instead of 1920 * 1440, this patch fixed this problem Signed-off-by: Tian Tao Signed-off-by: Gong junjie --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c b/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c index 2fd4ca9..dbdeb2b 100644 --- a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c +++ b/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c @@ -89,7 +89,7 @@ static int hibmc_kms_init(struct hibmc_drm_private *priv) priv->dev->mode_config.min_width = 0; priv->dev->mode_config.min_height = 0; priv->dev->mode_config.max_width = 1920; - priv->dev->mode_config.max_height = 1440; + priv->dev->mode_config.max_height = 1200; priv->dev->mode_config.fb_base = priv->fb_base; priv->dev->mode_config.preferred_depth = 24; -- 2.7.4