Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp2523136ybg; Fri, 31 Jul 2020 02:14:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyuevKdFD0Phhj8r9DQ/I3Vctj19dPp7iSRZJDscHb5ohnzVt7hxSUYTE8I+XNxyycwGgnE X-Received: by 2002:aa7:db06:: with SMTP id t6mr2867918eds.369.1596186873892; Fri, 31 Jul 2020 02:14:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596186873; cv=none; d=google.com; s=arc-20160816; b=Up3aWEqxqrlvwYDVifVBhE3xSmw7BH9V+7fTT4FqIig5SDPMY88QJtgZud+IuEuQqC kIwL6oSf8VfuNqg2CX1pK+hd0JiCC0rFiOoAG6SLlU77umMUO19YiPXrI0zujZfcVj+x c3pNubCjSK0hJmhcb/mxirWPxvxQuXy6/XnB/qXYggXFa+vivZzJyewifC96ufkE3DIf UjOWPZTlzXEsI8P73Jl4DuquipKY1Vf+rJ2rRVKy7ErmdLVAEDORpcsU7jGXJGUsMMGD oVWHXs9EqjCZ8D8YXMhjCmzxl1q54bj57RKNQcOsc6RNsiUtL3jIIbk8XNYEina0YoO/ I2pQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:from:date:dkim-signature; bh=WRZsaWH75/5Iq8OKoAx5+9VLutXrIla+ysrRSJUPm1c=; b=qAr7clIcYNp4vS8gniD2gk+YjxKOiIFb3K6wYQMZQS7p+vXZyNs2BbpHmuP+ptgAfv /u9M1uv4uQRf6nHblLwJtCLqLRMHTM/ad2eYF+BqfMxTe/DP2DsTXrigBwrZuNIRX2Ak XxYchTOhONHzXasgMW1sUzpJrOSIXLbPA/PSh+Iy6vove9rG2O51Tn4ti/lxMm8DCuP7 Bk2B8Arkitqo6iXgW24nsOE975fuL/lDj5wOCNeM9RFGmFdPgcwW9tnSMRGiqxPklnw4 RY1ng8iMW9S2U8RFx45tki1dlRotwdBftxXLozWcVusFW0zdeMiTUtt9GjHhgCj2kybB JJQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@ffwll.ch header.s=google header.b=MYVt6NoX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d1si5048117edl.585.2020.07.31.02.14.10; Fri, 31 Jul 2020 02:14:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@ffwll.ch header.s=google header.b=MYVt6NoX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731950AbgGaJLq (ORCPT + 99 others); Fri, 31 Jul 2020 05:11:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728437AbgGaJLq (ORCPT ); Fri, 31 Jul 2020 05:11:46 -0400 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BA72C061574 for ; Fri, 31 Jul 2020 02:11:46 -0700 (PDT) Received: by mail-wm1-x343.google.com with SMTP id p14so7966588wmg.1 for ; Fri, 31 Jul 2020 02:11:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=WRZsaWH75/5Iq8OKoAx5+9VLutXrIla+ysrRSJUPm1c=; b=MYVt6NoXLAR/L4rGhf6N59GHtdGK562gzGbqOW+6Zk9s+6HX4VA6m9ky2k+QzarJXg GOWqBUN7qvt+vytb71ocRMPQekmwnMyaILt7cLPVlilyWjXets3ok0/N//6MV9eQ5ZGO aRM7ZBAWjzi8p/5xm8DgFPppdawqVV6WcGT7g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :content-transfer-encoding:in-reply-to; bh=WRZsaWH75/5Iq8OKoAx5+9VLutXrIla+ysrRSJUPm1c=; b=tElQONNHRMQrGK69RjMVFZaAlmopDuXv3LozyghKZ6DjErBzf4FYM5kGpIVOWdZh1U E/MDYfeMNTkBYxeXq+26TbnPUKN+h9AtvO058meQ4pCF+o1hVyj5bxday5pE6NfUdfdI JGKGJVefSVvtJxcbf444O4zqvNnMgKYvOdhCG4YLBf25A6GYteyeSXBcK1taspQer3R7 lAUbjLNDOfoTsJalpoTxBEIp0NeT2ADAQamVIg4n5swbNE+Y35TtdetOgeZewSKA/Sgj rfdQEdmGGBN1zDwBZjEpoSSVMXw8rhAV6PeQbDwb6Ung3fWiTFfqvMBV9NMcl+iqAOKp rUUg== X-Gm-Message-State: AOAM533iayifopP9GazV75xQ1tdZXX+nY/PTIsvnMwGTkYIyj7Gw69z+ lsTTqcugQOD4QHNt4G3+SSjDM/O2OxE= X-Received: by 2002:a1c:5451:: with SMTP id p17mr3236516wmi.180.1596186704846; Fri, 31 Jul 2020 02:11:44 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id p6sm12191414wmg.0.2020.07.31.02.11.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Jul 2020 02:11:44 -0700 (PDT) Date: Fri, 31 Jul 2020 11:11:42 +0200 From: daniel@ffwll.ch Cc: daniel@ffwll.ch, David Airlie , od@zcrc.me, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH 0/2] Small cleanups to ingenic-drm driver Message-ID: <20200731091142.GS6419@phenom.ffwll.local> Mail-Followup-To: Paul Cercueil , David Airlie , od@zcrc.me, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org References: <20200728151641.26124-1-paul@crapouillou.net> <20200728201736.GA1277651@ravnborg.org> <20200728220008.GI6419@phenom.ffwll.local> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: Linux phenom 5.7.0-1-amd64 To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 29, 2020 at 02:28:01AM +0200, Paul Cercueil wrote: > > > Le mer. 29 juil. 2020 ? 0:00, daniel@ffwll.ch a ?crit : > > On Tue, Jul 28, 2020 at 10:17:36PM +0200, Sam Ravnborg wrote: > > > Hi Paul. > > > > > > On Tue, Jul 28, 2020 at 05:16:39PM +0200, Paul Cercueil wrote: > > > > Here are a few cleanups to the ingenic-drm driver. > > > > - some error paths were missing and have been added; > > > > - the mode validation has been moved to the .mode_valid helper > > > callback. > > > > > > > > Cheers, > > > > -Paul > > > > > > > > Paul Cercueil (2): > > > > drm/ingenic: Handle errors of drm_atomic_get_plane_state > > > > drm/ingenic: Validate mode in a .mode_valid callback > > > > > > Both looks fine, you can add my: > > > Reviewed-by: Sam Ravnborg > > > > > > I assume you will apply the patches. > > > Maybe wait for Daniel to take a look, he had some feedback on where > > > to add checks. I assume this is covered by the second patch. > > > > Yeah changelog for new versions would be great, but aside from that > > bickering patch 2 lgtm now. > > This patchset is V1, I'm fixing issues you saw in the ingenic-drm driver > when reviewing a different patchset. Oh right that was pre-existing issue in which callback to use, apologies for the confusion. -Daniel > > Thanks for the review, I'll apply now. > > -Paul > > > > -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch