Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3312794ybi; Fri, 5 Jul 2019 05:25:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqxu+Ys+ruSl6LJD4SfjyRLZlrItrnHtOISv/nEldoH3Qn59auFaaFKqQzxbiP1leneEXPFe X-Received: by 2002:a17:902:b48f:: with SMTP id y15mr133743plr.268.1562329517444; Fri, 05 Jul 2019 05:25:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562329517; cv=none; d=google.com; s=arc-20160816; b=HyaBYD9HcdNNXLddfv2vG/nGmNL3CtFEYv0jdPAdXvJQKFQ2jItOSO7hoPS3d0Pwlu leTKL/+f0zeb5D6VpHEwfTEgNvcfZNjv+oHZt5eoHMBCaGxCqsqKm10ujXTehJ1iftke FufToTrfPo5nx0AUvq1LZX80a8XQeyCRcSEQQoH8qnZynDxSfftFjesWUoGB1yLuRuas FFKfiRV3ivGAGD0y9XBb2BGscfktcOet3csBz81c1WAxOa8ZIijpchs/4e4p3PrxcwYm PRMyPawlfD62qpuCWlmf8xajXeLCQTC54eL8OZYvZEchoso3EorPyx5pFsmPoR9V/p/O vJyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=5QgxkK2BzVl/nyok1ckc9QkZXVZfV59w8ef5yaPLIeQ=; b=wwMzYZAkK02ISrsA4JVjLtFQHwvMjbCg6qkx4QdiCttfIeV7QppziEmffQwHlCzeNt RW8hRQhvZTApRzlWZdRSbP6L6xIOUVo6Mk31gNtNDIdiCRTL87Y/dP3IfiaNuRkJgLcS SeJ6VI03AhAcNwdRwmeknVoGidjXOcDRRXsODJ9O+pm8r1BYLd0+jWvM6QOXxToggE2P 6sbZyzyIb9ag8F/OHGSn05zKitHdglu0gsyV4q4PoCOEpjWE7keTWLfILmr+3xe/eDmR Efjf4iOnRijbBhn0BRF2wv5m2QesxJ+QI4///M7PYE0yM5JgH7DSYkwWpP0vVgX3Dau5 uHEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@ffwll.ch header.s=google header.b=fosrfzKl; 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 y12si8672780pgp.33.2019.07.05.05.25.02; Fri, 05 Jul 2019 05:25:17 -0700 (PDT) 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=fail header.i=@ffwll.ch header.s=google header.b=fosrfzKl; 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 S1728612AbfGEMXy (ORCPT + 99 others); Fri, 5 Jul 2019 08:23:54 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:42887 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725730AbfGEMXx (ORCPT ); Fri, 5 Jul 2019 08:23:53 -0400 Received: by mail-ed1-f67.google.com with SMTP id v15so1460692eds.9 for ; Fri, 05 Jul 2019 05:23:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=sender:date:from:to:cc:subject:message-id:mail-followup-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=5QgxkK2BzVl/nyok1ckc9QkZXVZfV59w8ef5yaPLIeQ=; b=fosrfzKlSYrojK0mZJeW01zCt1CRx0uEqtSUG1WPUH4mKDuv+wAcNyFFU5q1cWLWJS lKAMmmb3h6PVVRVvxpDeLu9FKPtx1WQMvWa3w6yLiGAstL4uZ5LOfCWWcMlfgo+pYZPg xs/lyLpzcycIvP46/HMX/x1N5cneuFLdIHoq4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=5QgxkK2BzVl/nyok1ckc9QkZXVZfV59w8ef5yaPLIeQ=; b=dDcNRHQ2g/3gt5SNkQQ/WxMGGZ5Cz55Zy0bA9PPSvbJBQakw56Ccv5cPEQz4u6ORRw E6uNtPsZVQVrP0R++QNwoJtjVhxslLBAgni63pUeNQJ6RrYghwt1nq4t0ZR/M3uKz6I3 LnnZF4qxj3AU7G39jT0+jNLDRcPPm+oXasc7qCaJp0qIWpCGPAFP8yWN6DPx91cLYcBA Kup/cGVUFZRR/o3OfFPAXh6xQV8GFCbLmu1N6Ou21LDccL0yXepSxdygoyMPS5pVCBa4 Y/SHz4Q/hjX9uVVp/ckyDT8Q6s6GfNfCa2IWqruUQec2nIMCcrhGuLmVXttI4+2rOGsh v9VA== X-Gm-Message-State: APjAAAVWcXdqPk9t7dXjp5kFYXhvwfoC+DdChq9iF8k1sbSrc24ER8zY gu14VRyr25x4Iw17mubcabPgcA== X-Received: by 2002:a50:b566:: with SMTP id z35mr4279907edd.129.1562329431964; Fri, 05 Jul 2019 05:23:51 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:569e:0:3106:d637:d723:e855]) by smtp.gmail.com with ESMTPSA id w14sm2648879eda.69.2019.07.05.05.23.50 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 05 Jul 2019 05:23:51 -0700 (PDT) Date: Fri, 5 Jul 2019 14:23:48 +0200 From: Daniel Vetter To: "james qian wang (Arm Technology China)" Cc: Liviu Dudau , "airlied@linux.ie" , Brian Starkey , "maarten.lankhorst@linux.intel.com" , "sean@poorly.run" , nd , Ayan Halder , "Oscar Zhang (Arm Technology China)" , "Tiannan Zhu (Arm Technology China)" , "Jonathan Chai (Arm Technology China)" , "linux-kernel@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , "Julien Yin (Arm Technology China)" , "Channing Chen (Arm Technology China)" , "Yiqi Kang (Arm Technology China)" , "thomas Sun (Arm Technology China)" , "Lowry Li (Arm Technology China)" , Ben Davis Subject: Re: [PATCH 1/2] drm/komeda: Disable slave pipeline support Message-ID: <20190705122348.GN15868@phenom.ffwll.local> Mail-Followup-To: "james qian wang (Arm Technology China)" , Liviu Dudau , "airlied@linux.ie" , Brian Starkey , "maarten.lankhorst@linux.intel.com" , "sean@poorly.run" , nd , Ayan Halder , "Oscar Zhang (Arm Technology China)" , "Tiannan Zhu (Arm Technology China)" , "Jonathan Chai (Arm Technology China)" , "linux-kernel@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , "Julien Yin (Arm Technology China)" , "Channing Chen (Arm Technology China)" , "Yiqi Kang (Arm Technology China)" , "thomas Sun (Arm Technology China)" , "Lowry Li (Arm Technology China)" , Ben Davis References: <20190705114357.17403-1-james.qian.wang@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190705114357.17403-1-james.qian.wang@arm.com> X-Operating-System: Linux phenom 4.19.0-5-amd64 User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 05, 2019 at 11:44:16AM +0000, james qian wang (Arm Technology China) wrote: > Since the property slave_planes have been removed, to avoid the resource > assignment problem in user disable slave pipeline support temporarily. > > Signed-off-by: james qian wang (Arm Technology China) I guess the way you have to enumerate the planes listing the slave planes wont just automatically work in any fashion and force a lot more fallbacks to primary plane only. At least until virtualization of plane hw is done. So makes sense to outright disable all the slave plane stuff for now. And I think it's ok to keep all the code still, we'll use it again. Acked-by: Daniel Vetter > --- > drivers/gpu/drm/arm/display/komeda/komeda_crtc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_crtc.c b/drivers/gpu/drm/arm/display/komeda/komeda_crtc.c > index f4400788ab94..8ee879ee3ddc 100644 > --- a/drivers/gpu/drm/arm/display/komeda/komeda_crtc.c > +++ b/drivers/gpu/drm/arm/display/komeda/komeda_crtc.c > @@ -481,7 +481,7 @@ int komeda_kms_setup_crtcs(struct komeda_kms_dev *kms, > master = mdev->pipelines[i]; > > crtc->master = master; > - crtc->slave = komeda_pipeline_get_slave(master); This might cause an unused function warning, might need to annotate it with __unused. -Daniel > + crtc->slave = NULL; > > if (crtc->slave) > sprintf(str, "pipe-%d", crtc->slave->id); > -- > 2.20.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch