Received: by 2002:a05:6a10:8395:0:0:0:0 with SMTP id n21csp592472pxh; Tue, 9 Nov 2021 15:50:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJwbX4UX4nDL451v+uU2HXvKuKs6JBc0p2gbdNuOrXbnkNesTOm8YfjTGnCLEFnJTOl3lvcT X-Received: by 2002:a5d:9593:: with SMTP id a19mr8085328ioo.201.1636501826861; Tue, 09 Nov 2021 15:50:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636501826; cv=none; d=google.com; s=arc-20160816; b=FrhyH24GVQcnYYRy4VtsbRnYRBmWVpQqAqnp+RKTB4C2Ov7hqiIccy6DAZ27q+mSGs b/Mz9UYGT+R4SXIDLiJrAgiCr7ul8nffj70GMSgI1X5IOvDxVlR5JyxdnuttrP8QAyYL 8DGmvJyXpKvnoQT1VQtTWwYbOiLAdaboASDuhhQ+QUcdUni3/f2f/wSRkavV5dP+TcMd Z7iRBLYqBn924fhubHCL0LWpV9zz7pvFMZ9aMB/273nRjqH04UV3t4Fkp5s/N17i8vbp y5Ngr5LEKirqCBKTC/tPGJveQBeNwTgLUSzA9ryyCJ+lDR/JVhSflcesR2rBpE1HDLUM OL0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:cc:to:subject:dkim-signature; bh=yikNNkxBfiIm0DXQK6Pq8Bnr+dOWNFCgKzTBRecZmFI=; b=0LEj79OVzEQ7cNPIYUqZl1wXn9L/IeovvMdcApuetQ74Ai6dyUp6ditolC5Wn+1vFt OelWIS6IZICnHVHBXzVBsZDScHqzfMMMlkFnFvaKdWkQaLBy/PTSfQtxl9V3tkjjMKc6 NgvIxoL32DLEngWUB3tYbawUFzzRROGDPrbRnQ4MvvFgEDSjBlempSyr+eJNkbSFt6wd rxsGL7uuoj4nwNEkwGltDbRSR/xd2sjpYuDhim4/n5vlzgch/V7H2cjUfSwA4CY4pRj5 vKpyadKrIJL9JLvzoC8265g6zxo6bgk74PKIzQZ4oVDm08aahG9KioLD2hksFo21+3tR klRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=H0ncPwO7; 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 f25si4234285iox.8.2021.11.09.15.50.14; Tue, 09 Nov 2021 15:50:26 -0800 (PST) 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=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=H0ncPwO7; 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 S229591AbhKINNM (ORCPT + 97 others); Tue, 9 Nov 2021 08:13:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229998AbhKINNL (ORCPT ); Tue, 9 Nov 2021 08:13:11 -0500 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2570C061766 for ; Tue, 9 Nov 2021 05:10:25 -0800 (PST) Received: by mail-wm1-x333.google.com with SMTP id b184-20020a1c1bc1000000b0033140bf8dd5so2198651wmb.5 for ; Tue, 09 Nov 2021 05:10:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=subject:to:cc:references:from:organization:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=yikNNkxBfiIm0DXQK6Pq8Bnr+dOWNFCgKzTBRecZmFI=; b=H0ncPwO7kQeSxAFrKUsVT6kfw25EIoiGJl9l1Wyr9qxT0tFQidE4baB/NRMICe0CWO /vcaS+oSDLy+U1qJFAPRJ52kLOWkHEIzNsOTWQQlNm5Um1VcwDKcVb15YqRJBzEqYFVz vRhyd0T1EXSWK7UAd5TM0lPFwG1bmdj4F1QVK5Bqszmu5mifh8bOP4UsR58lyz1WBkOK ryRiOhAgFKa7O6v6AJp1zaAfMfM50YMyn38o5bjyB7zMMkTYFmW2txFq7Pov2oCvUvxx aHWCzUqopYSTFhs5oeVo9Xwu8JLHT8mbcE5PPpK07ebtOm+hn+FXXg8ic/PEuA4KoV0S caLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=yikNNkxBfiIm0DXQK6Pq8Bnr+dOWNFCgKzTBRecZmFI=; b=Fsb/RmPupmmez6xHcOjigyZc+ZIfU5FF/Eb0lz6K7+pFoJja9TgbqMrbMa/708/bMO LANIOCR/XJhAhnlPVDn1wHzDM7pVHLueT8VHZc3Mh7759T0LuGjbZYR6evhEKFej+ve2 F7e8zmYmRI0zyRLJOXsHrUeLmKnMSFPL66O4uGHDShYIFNHi77VspyHOsllBQJWKzMtu Cf+dtQvakRSsMHChEupdYxtNoj8/SBYQDyv0BIOEDwZRCeJuRwQWmlqNFU7j1ybttIx/ 7AiW7UiIfDGPMxItlvCSK6bzZFMNWzk60G5AAGxDppt6h5uovgGynkNEbrMhAZhdkBUb X7Tg== X-Gm-Message-State: AOAM530Z4/tEE+4VksXUDsNYcTcVUqmIEqXbvGSvF/2XUXuaw261/3eb WnlYafmT4l4yBfj3dlbphfh4Nczqb8PtzvE2 X-Received: by 2002:a7b:c7cb:: with SMTP id z11mr7102274wmk.152.1636463424142; Tue, 09 Nov 2021 05:10:24 -0800 (PST) Received: from ?IPv6:2001:861:44c0:66c0:d284:de3f:b3d6:f714? ([2001:861:44c0:66c0:d284:de3f:b3d6:f714]) by smtp.gmail.com with ESMTPSA id m20sm2660981wmq.11.2021.11.09.05.10.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Nov 2021 05:10:23 -0800 (PST) Subject: Re: [PATCH v6 1/9] drm/omap: add sanity plane state check To: Tomi Valkeinen Cc: linux-omap@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, khilman@baylibre.com, Benoit Parrot References: <20211018142842.2511200-1-narmstrong@baylibre.com> <20211018142842.2511200-2-narmstrong@baylibre.com> From: Neil Armstrong Organization: Baylibre Message-ID: Date: Tue, 9 Nov 2021 14:10:22 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 27/10/2021 10:30, Tomi Valkeinen wrote: > On 27/10/2021 11:29, Tomi Valkeinen wrote: >> On 18/10/2021 17:28, Neil Armstrong wrote: >>> Call drm_atomic_helper_check_plane_state() from the plane >>> atomic_check() callback in order to add plane state sanity >>> checking. >>> >>> It will permit filtering out totally bad scaling factors, even >>> if the real check are done later in the atomic commit. >> >> I think there's more to it: the function sets plane_state->visible, which is used in later patches. > > Maybe that could be mentioned in a comment. But otherwise: > > Reviewed-by: Tomi Valkeinen Thanks, I'll update the comment to mention this. Neil > >  Tomi