From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5CFADC433EF for ; Mon, 14 Feb 2022 06:00:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233077AbiBNGA7 (ORCPT ); Mon, 14 Feb 2022 01:00:59 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:46602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231671AbiBNGA6 (ORCPT ); Mon, 14 Feb 2022 01:00:58 -0500 X-Greylist: delayed 399 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sun, 13 Feb 2022 22:00:51 PST Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com [66.111.4.221]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33C6D50458 for ; Sun, 13 Feb 2022 22:00:51 -0800 (PST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id C8E14580250; Mon, 14 Feb 2022 00:54:09 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 14 Feb 2022 00:54:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; bh=7G1lu+Rs8krLJ/ ey20PWYfJYeLvb+/uRN91S0nKBhFA=; b=zJHdmFpN/e/OJdqwKifAMyFVTpteDm Okgo/yjwGIcpIo3hy4N2PRAolI2CJWLdxdobtD6LAUfY7NAgxy63NcyNJJSu49gv 220erR8Q6vPwDG3K5oIzw4Hi75qhds8OG4BE6+EMMU9SO4y4sGyjxnvlE6QIC1oN Rcmcc7KdBcUqHDphMWsnzYiCCPFsWdXZdufoDgE6jfwIzgrB3kbsdbWJlaz+1Dnp fL8tst1uzkVNYFPsdsi6fZqmLQIhHmcRnm2TidDbdPks9ENOGt5yD0qwDGR22aAv UG9EBDFHwBBWZwZLqjSYEY4TLcq0B+uU7W48akP8N5CQoLyUzu7lfEQg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=7G1lu+Rs8krLJ/ey20PWYfJYeLvb+/uRN91S0nKBh FA=; b=Cvwydq+wnq3Hzm9BrFnHlgK86hB8Cl7f6wb90EbKyok6ldYahY5HCKYI+ mocig9T8pQ2IRMMcHgkm2Drt3c4BYugPmw++Ykm2o2/7UN7o2KPD8eruLmrQ2nUQ vGvsJV4fr/0jLpwwgSrit13XJpRmwe9dwcNmfl7nm65Wzi21psfwJTbApOSxLVwz q9QQg84BiawRIAykblueIWmrBUVYGZx/NjGUI494P1pDVbRmrY6P+sQaJ8GdK5Ve X0Aeu3f3w4QN3WnVfisqQa3nAAjdDChHUJfGzxj2i9efa9DtInCzGgiAbrLEMTsz QXWyfdQvdf6LqOkSiup8EyaC8URLA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrjedugdekkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfhfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpeflihgrgihu nhcujggrnhhguceojhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtghomheqnecugg ftrfgrthhtvghrnhepheeiuddvvefhkeejfedttdekieethfdukedvieeuueelgfelieej geehvdekudelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepjhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 14 Feb 2022 00:54:05 -0500 (EST) Message-ID: <380d93a4-6f36-00d2-6cd3-e4428534cbb1@flygoat.com> Date: Mon, 14 Feb 2022 05:54:03 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.0 Subject: Re: [PATCH v7 0/7] drm/lsdc: add drm driver for loongson display controller To: Sui Jingfeng <15330273260@189.cn>, Maxime Ripard , Thomas Zimmermann , Roland Scheidegger , Zack Rusin , Christian Gmeiner , David Airlie , Daniel Vetter , Rob Herring , Thomas Bogendoerfer , Dan Carpenter , Krzysztof Kozlowski , Andrey Zhizhikin , Sam Ravnborg , "David S . Miller" , Lucas Stach , Maarten Lankhorst , Ilia Mirkin , Qing Zhang , Li Yi , suijingfeng Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org References: <20220213141649.1115987-1-15330273260@189.cn> From: Jiaxun Yang In-Reply-To: <20220213141649.1115987-1-15330273260@189.cn> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 在 2022/2/13 14:16, Sui Jingfeng 写道: > There is a display controller in loongson's LS2K1000 SoC and LS7A1000 > bridge chip, the DC is a PCI device in those chips. It has two display > pipes but with only one hardware cursor. Each way has a DVO interface > which provide RGB888 signals, vertical & horizontal synchronisations, > data enable and the pixel clock. Each CRTC is able to scanout from > 1920x1080 resolution at 60Hz. The maxmium resolution is 2048x2048 > according to the hardware spec. Hi Jiangfeng, I see you added dts for those boards, but I didn't see you wire up them in Makefile and code? How can you use them in present systems? I guess to make those dts work for general all-in-one kernel, what you need to do is, for example Lemota A1901: 1. Add __dtb_lemote_a1901 to builtin_dtbs.h 2. Wire up with something like: if (!strcmp("LEMOTE-/LS3A4000/-7A1000-1w-V01-pc", eboard->name)     loongson_fdt_blob = __dtb_lemote_a1901 In arch/mips/loongson64/env.c. Thanks. - Jiaxun