Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp543941ybl; Wed, 11 Dec 2019 03:48:34 -0800 (PST) X-Google-Smtp-Source: APXvYqxfmzj98RSmF3oq7i0cVUbPY0L9195cmcgwE1UXt1YYGiHlsccXp+ieaujJeK/fmhOGiumE X-Received: by 2002:a05:6808:aa8:: with SMTP id r8mr2266487oij.7.1576064914253; Wed, 11 Dec 2019 03:48:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576064914; cv=none; d=google.com; s=arc-20160816; b=Uk6E4Ph9Ho3UD4/1Yy6dETogHfcp0iHHgGnZD4gspeo5a9t3U8H/kXRFJBfJi3FIot N1bOqY3pLssmnnurfswskxGlyS7bzRm+OnwcRbb6VZVklQvBowc31197P5v/wPy0qIDI PyFmHqbU7RYFsf0WQsaC+H3OYGVhceTRf0k510q1HZTjxlk9vZgiZrQjs20gf3F7uC7G vjD+R8FsRzrapo5YbvllRbPC8E2hwD88Pk3W8gK8gn2Ho7LJ2QMjSTYW/zzH2/plEtlg NP4gVTQ5ZFXfNOrUiSTNPtqukNpLr2eMVL1plCvGNOP6xZ2d5At4mT+o+2YIk5v81jj0 QDQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=KPw4BWkTUh66N/l+oHgRw2epWlItk5ePmLSBKI5Tyjc=; b=uTi40OOi7FKFfqjuoQ3BXXBKyEYgptlnqVaRDR1DQH0w6/AN8EtdQrdJ3649og1pQb sPwacSb6Oe4qBuvfbI3LgLHVepnzMTYGEHI2EQjrx2btES43V+2aLilXLmUm6vpEAAEc I2occHxH2tOCBd4UpP5OvXMvTitS4L1YWQWoXkJtRqxMBGMRGyyNlEosjkQmdpyW/ATv 9mVnyBOYQoj7qkJ5qcqYCXxF7aiaIxv+gRYYdzcW5FEqc7+ooNmkd8s9aZLFBpF4eK0F nFiwvwgI365g/Wv5zqAtjNAlWZGyB5En4JAn6WyC9rA5UhYX6MhuOnjtV9Xrk8GHYpWc 9Jfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fLp0q+Aq; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g190si993871oib.106.2019.12.11.03.48.22; Wed, 11 Dec 2019 03:48:34 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fLp0q+Aq; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729092AbfLKLrX (ORCPT + 99 others); Wed, 11 Dec 2019 06:47:23 -0500 Received: from mail-vk1-f194.google.com ([209.85.221.194]:39898 "EHLO mail-vk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727365AbfLKLrX (ORCPT ); Wed, 11 Dec 2019 06:47:23 -0500 Received: by mail-vk1-f194.google.com with SMTP id x199so6695013vke.6 for ; Wed, 11 Dec 2019 03:47:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=KPw4BWkTUh66N/l+oHgRw2epWlItk5ePmLSBKI5Tyjc=; b=fLp0q+Aq+pCU0RkbRVrb2N2a9Cbry6BHuCOylVJULtiPiEObiSOxp/zavD8nzE+zj5 lKyW0NHDPZ0wyI2Z9BVSwsGC29TKNdK8TOKRQdV2ICMjyhsvO2bGHVWapjhh/k6lyHgp 4AL6rw3TQQnY6t3Zl8z9oJ4GdUKiSRVij2DWsfvZDXfk7GomIsw45hb55Y9zE9UTW+j6 TOwDPrUo/s0V38hskklMtX9r46NWjQHRUmSZm7NxUXfwLOvEIoz/6AufILKs6XIXdsm8 PKYRhpob37eGDMbF3pU5G4FSkNKnqZvW1/9POYZoYBcKlRQxtekSjqiGzYeL7s4sc/WE VR1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=KPw4BWkTUh66N/l+oHgRw2epWlItk5ePmLSBKI5Tyjc=; b=sMh+4jJv6jBeZf1bLC90w1UhVmCgcy7lKT3om2LqlvgLAkv4VGwpubh6YNRDSLgfL/ 0aXXrYGkykdg2aGijPcxr9Ol4pLtEm+iIG39kF6CWQj8r9vh4VXlc7pgLeRZh/uJWBBo somaLt8J3gruhRMblOFAyC12AHmYhNApteljb5+MtteQ9xkRKP5Rt9ywsGiXuw9e3aiO b2nZMgJYmg6b8HE4YT4VdAKgy3LAtk+v64TltwtsjeTstwCC0Tq9t5x9oQ9nI2yxLNKQ WR6MrMeDo8h9nHTQXfPCHcuSqSFTPBVDkWlTdF/5fij0sqBPYv72Zcl5R5yr+YE5Gj7Y Ypkw== X-Gm-Message-State: APjAAAWl5GKYyHevTDIzYFiR/xDfFg/7nD3s65ngokaIlXinmvNdCC0u BXgLo3rjStWShTGAeEvb6dlxwUCGETmzUGMDs9A+yQ== X-Received: by 2002:a1f:3fcd:: with SMTP id m196mr2975528vka.28.1576064841951; Wed, 11 Dec 2019 03:47:21 -0800 (PST) MIME-Version: 1.0 References: <1575966995-13757-1-git-send-email-kevin3.tang@gmail.com> <1575966995-13757-5-git-send-email-kevin3.tang@gmail.com> In-Reply-To: From: Emil Velikov Date: Wed, 11 Dec 2019 11:46:06 +0000 Message-ID: Subject: Re: [PATCH RFC 4/8] drm/sprd: add Unisoc's drm display controller driver To: tang pengchuan Cc: David Airlie , Daniel Vetter , Orson Zhai , ML dri-devel , "Linux-Kernel@Vger. Kernel. Org" , Chunyan Zhang , Baolin Wang Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 11 Dec 2019 at 09:18, tang pengchuan wrote: > > Hi > > Emil Velikov =E4=BA=8E2019=E5=B9=B412=E6=9C=88= 11=E6=97=A5=E5=91=A8=E4=B8=89 =E4=B8=8A=E5=8D=881:14=E5=86=99=E9=81=93=EF= =BC=9A >> >> Hi Kevin, >> >> On Tue, 10 Dec 2019 at 08:41, Kevin Tang wrote: >> > >> > From: Kevin Tang >> > >> > Adds DPU(Display Processor Unit) support for the Unisoc's display subs= ystem. >> > It's support multi planes, scaler, rotation, PQ(Picture Quality) and m= ore. >> > >> > Cc: Orson Zhai >> > Cc: Baolin Wang >> > Cc: Chunyan Zhang >> > Signed-off-by: Kevin Tang >> > --- >> > drivers/gpu/drm/sprd/Makefile | 6 +- >> > drivers/gpu/drm/sprd/disp_lib.c | 290 +++++++ >> > drivers/gpu/drm/sprd/disp_lib.h | 40 + >> > drivers/gpu/drm/sprd/dpu/Makefile | 8 + >> > drivers/gpu/drm/sprd/dpu/dpu_r2p0.c | 1464 ++++++++++++++++++++++++++= +++++++++ >> > drivers/gpu/drm/sprd/sprd_dpu.c | 1152 ++++++++++++++++++++++++++= + >> > drivers/gpu/drm/sprd/sprd_dpu.h | 217 ++++++ >> > 7 files changed, 3176 insertions(+), 1 deletion(-) >> >> As we can see from the diff stat this patch is huge. So it would be fair= ly hard >> to provide meaningful review as-is. >> >> One can combine my earlier suggestion (to keep modeset/atomic out of 2/8= ), with >> the following split: >> - 4/8 add basic atomic modeset support - one format, one rotation 0, no= extra >> attributes >> - 5/8 add extra formats >> - 6/8 add extra rotation support >> - ... add custom attributes > > Ok, i will split this patch, upstream modeset and atomic at first. clock,= gloabl, enhance, extra > attributes and so on will be upload later. Amazing thank you. Please apply the similar logic and split patch 6/8 - that patch is twice larger than this one. Some small general requests - please use plain text emails (see [1]) and trim unrelated fragments when replying. Otherwise it is very easy to miss the comment that you and others have made= . HTH Emil [1] https://www.lifewire.com/how-to-send-a-message-in-plain-text-from-gmail= -1171963