Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp351516lqo; Thu, 16 May 2024 08:06:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXq4SYS5gU56r5HfxrG7pnrNNfCyBKMbfCjfnAEK4bvtEtquLKVJWLlzbIiDLTxnPNZT2waFQKcYAct4Y0SpeUMSokLElisaKyd0IIw1Q== X-Google-Smtp-Source: AGHT+IHOZZnz/8eoBsAY2c/yt7ejMBYQcFUBTM2DRcxMxazkltAQ4tlPBHLBQE+ZHoVgAR3sgKG8 X-Received: by 2002:a17:903:110d:b0:1e5:2a20:2d68 with SMTP id d9443c01a7336-1ef44050604mr227730655ad.47.1715872019172; Thu, 16 May 2024 08:06:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715872019; cv=pass; d=google.com; s=arc-20160816; b=o+lLcIIq6S6ujpL3BvM+hP1RnMET7Ckbh1aYrlqB+5dlJo4ga4WLcwFTkDViByFBjz CmPx/7Ze+Z2qqQZLjg44S+TxZn3wJX2K6WIRLJP0Doxs/jOk3hHfoqq23L4udHq8fGed t4M+BbaoXc5lt7YslFAwCAUWlYxLttlP/P90iuD1l8AKRlNPZMC4N+PjxuewRzioeJUT YKjz6aLX2L+4dci3i+lYb8Mna2SjP+9skp0i6TZo1JWuNqZpE8OAgSPgM+bJ2IQPgjmW hgFu0vjgu4YzF9rq4dprCwpmu7BXVkKeSJvhdFEhxS+NAn21REtc7ldtdy41sK6PORqS nlrQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=k1iwDmNYqVn248UOEBvI8HJ/0owB/GDjNqpgGn9M7lk=; fh=YUeQVjtmwvGBlFueTPwfkaxF61vrPWugOcLBkm4jLC4=; b=Ph7QvT42vUzvz9Z+jJ5PtmJBRTfMrpvDc8DQYHRLktkBP6q+0OZv+yGtPOIXlLtaR7 9UPQJUa9jbygQSM5afPes78j4MNXGJZWaxnIiTlAa7HQCS0tj5Y2+UtqMqIu8cQ4CcfJ JZjM6IevHqixED0S9BXL7hRiwEbWuV0I91BJgSeXu8LBtznwFvxX7F4G3QHVRrWdkgnN tPCf/LUk/9zoc/UT4syey0bf3pzuIp6ASrZNbkfwB0oImLqqm2ITNQtfOCXDO/ARCass oOnWS/O7uA0S7JsVOpMbmlNyARod7kqbWBzMo6MBNMDIXKHuLEaJ15jW0tMVR0Ube1JV 6hOw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=PrXNqlNH; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-181199-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181199-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0bf31314si169829595ad.239.2024.05.16.08.06.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 08:06:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-181199-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=PrXNqlNH; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-181199-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181199-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 02DE6284B33 for ; Thu, 16 May 2024 15:05:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2728014B969; Thu, 16 May 2024 15:05:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="PrXNqlNH" Received: from out-179.mta0.migadu.com (out-179.mta0.migadu.com [91.218.175.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 20260146D7F for ; Thu, 16 May 2024 15:05:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715871928; cv=none; b=EGqEUfL/F6lyOUNPIYqFGxevfSnZ+qMrwlG6gq0AH6qz4ZD+7QLVAYbXnvAe7lGLwW3zGm+v2trF2NuQcNDA2sGCYVwwNWkWTtMzZs5Ns0yHDKaI76siwvtwSOokGKUOJkxE3k1vrDXliAYBxhQNiJScIdAvZkCKJtWJprJ/lpE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715871928; c=relaxed/simple; bh=Ighvfh3LySF4NHqHYRYtZ7R3L9VSAUlm+A6heQGnYsY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=r2hJQjDZx3LetXa8m2RD8iu9f41HUrRdXwTV3OuSE8Qbi6HkJfQSOOCEt8wbm8ZjaN8R8jKTckPLiOKHTrTY7kufGlW07XLZ+gz3bjZPHBMQ8nEqCwUx9dqcgWxkE8gE9YVg68IgRWTk937KCEUfNL19rvzxbCDJAmuKt8tb3V0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=PrXNqlNH; arc=none smtp.client-ip=91.218.175.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev X-Envelope-To: markus.elfring@web.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1715871923; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=k1iwDmNYqVn248UOEBvI8HJ/0owB/GDjNqpgGn9M7lk=; b=PrXNqlNHE/uLlkTiBgXkBMSG+MjdD/5tNblwdqoUeBDzPesQHONfA/+xUGEo9XA5o49n5P 6PyproianL5t9MIP4maWQN4JO7XNWJVlcVWtgbSZVRcz5aZwHaQbhnMnyUFX9cBr1YWgH1 tyLNhhmtlhr9ceEGWxA21csFAyfpi/k= X-Envelope-To: dri-devel@lists.freedesktop.org X-Envelope-To: kernel-janitors@vger.kernel.org X-Envelope-To: mripard@kernel.org X-Envelope-To: tzimmermann@suse.de X-Envelope-To: linux-kernel@vger.kernel.org X-Envelope-To: suijingfeng@loongson.cn Message-ID: <42dae3a1-9817-464b-b581-529f4485be6f@linux.dev> Date: Thu, 16 May 2024 23:05:16 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH 3/3] drm/loongson: Refactor lsdc device initialize and the output port To: Markus Elfring , dri-devel@lists.freedesktop.org, kernel-janitors@vger.kernel.org, Maxime Ripard , Thomas Zimmermann Cc: LKML , Sui Jingfeng References: <20240513001243.1739336-4-sui.jingfeng@linux.dev> Content-Language: en-US, en-AU X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Sui Jingfeng In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT Hi, On 5/16/24 14:26, Markus Elfring wrote: > … >> fullfill the implement under the new framework. > > fulfil the implementation? > > Please improve your change descriptions another bit. OK, despite has a few typos. but the quality of the patch itself can be guaranteed. The first version is mainly for preview purpose. I'll fix the problem you mentioned at the next version, thanks for reviewing. I have tested this series before posting on ls3a6000+ls7a2000 PC: $ dmesg | grep loongson: [ 4.125926] loongson 0000:00:06.1: Found LS7A2000 bridge chipset, revision: 2 [ 4.133035] loongson 0000:00:06.1: [drm] dc: 400MHz, gmc: 1200MHz, gpu: 480MHz [ 4.140215] loongson 0000:00:06.1: [drm] Dedicated vram start: 0xe0030000000, size: 256MiB [ 4.148538] loongson 0000:00:06.1: [drm] VRAM: 16384 pages ready [ 4.154506] loongson 0000:00:06.1: [drm] GTT: 32768 pages ready [ 4.160410] loongson 0000:00:06.1: [drm] lsdc-i2c0(sda pin mask=1, scl pin mask=2) created [ 4.168638] loongson 0000:00:06.1: [drm] lsdc-i2c1(sda pin mask=4, scl pin mask=8) created [ 4.176938] loongson 0000:00:06.1: [drm] registered irq: 54 [ 4.189404] loongson 0000:00:06.1: [drm] Output port-0 bound, type: HDMI-or-VGA-0 [ 4.196839] loongson 0000:00:06.1: bound lsdc-output-port.0 (ops lsdc_output_port_component_ops) [ 4.211629] loongson 0000:00:06.1: [drm] Output port-1 bound, type: HDMI-1 [ 4.218459] loongson 0000:00:06.1: bound lsdc-output-port.1 (ops lsdc_output_port_component_ops) [ 4.227203] loongson 0000:00:06.1: [drm] Total 2 outputs [ 4.272617] [drm] Initialized loongson 1.0.0 for 0000:00:06.1 on minor 0 [ 4.341588] loongson 0000:00:06.1: [drm] fb0: loongsondrmfb frame buffer device [ 4.348867] loongson 0000:00:06.1: loongson add component: 0 > Regards, > Markus -- Best regards Sui