Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp907656pxb; Wed, 27 Oct 2021 14:57:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwuhRUk3ngQoz88VIAabkQJ04ZMZ7WXUjRr4pxWSVG2Xqap2epJLIJOTArFzwPM9OuuYHjS X-Received: by 2002:a17:90b:2514:: with SMTP id ns20mr8586072pjb.210.1635371879155; Wed, 27 Oct 2021 14:57:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635371879; cv=none; d=google.com; s=arc-20160816; b=pQye+/87EJg9PzJAC1jO4vrFoApfcjJg9C+cytP2Y4egHL0pAe4ufmRlLOEagXmxbi nT3BmTj51czhMrhkpmoCVKaCsAFuzuW5bHX9WMsCV9tNQXE/+RU1Pb1LSrdIn4/Ua31Y FLR8w/zCXkWHY4TjCfEa5lUs/BLhZmQ/3syinMb0rJfqV8rNwm2l4FeHStn9XO7KO7aM jSPUvEdxfDipw42DH264ioUhNs/hmsvSevatM5riDz/HSbN81QKXBU42clKOyc77KWdk GS64Zm7mvViC30GirhzBEHZIsN/qA3dADTSn90lOH4LqOwx0/IMtGBB+kCnkVUGqjnn6 0eGA== 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:references:cc :to:from:subject:dkim-signature; bh=b1Z8gd8xkXFCCQnCfNxd8ZKCWNDRqV+Pw+ZjrtGBeHM=; b=b5OPwn5+DAT1r9aPBHeNTZX8lGNNKPgnEspTxwZzbKucksdijfE5vZm8Ii8Uf80nUs l38i9imGBfH66m8ofoPotJe/s0pWqn9Hhn9EXtfG1PJ+qv4MKhbKHXzcjqnjp3uf2TCm /ql4h5bujP5JDNIs1p2l86Cl+TLiJoNXPyNnDoo0FSb3l4A0ZdumP5TrtH8+dGKBLZMy 8rjVdXEIk/Dq/K1I9BAQTlLrD8Cmwr7V+9WOBUIo+ATYb6JAQm68ybwlFcxr0XJTRIRX aUL4fbnEOu94NFBfhDa6dXsJYE1ZQ6IxjFo3thVGm2mcc6IwLmeCXS2dVAEusKEugu/5 db0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=I8PsZUe4; 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 r4si1310176pjp.84.2021.10.27.14.57.46; Wed, 27 Oct 2021 14:57:59 -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=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=I8PsZUe4; 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 S231789AbhJ0Ied (ORCPT + 99 others); Wed, 27 Oct 2021 04:34:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240787AbhJ0IeW (ORCPT ); Wed, 27 Oct 2021 04:34:22 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2691AC061228; Wed, 27 Oct 2021 01:30:56 -0700 (PDT) Received: from [192.168.1.111] (91-158-153-130.elisa-laajakaista.fi [91.158.153.130]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 6BD9A596; Wed, 27 Oct 2021 10:30:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1635323454; bh=V2brccML3+QxKykFo706VWpR5RyEZhjwMfXQLBLZpwc=; h=Subject:From:To:Cc:References:Date:In-Reply-To:From; b=I8PsZUe4ZzGQSagSPxAVtt2OXiMVu7VGOn7XWv0c7HKXYDedfuVlfaBOpcO/IrkRj pw+2GMlb4gjX2u61Aj0ZrnRxSqCyXI+JakgmJvmFdzgv4FNbtXD/kOMkNI2tYnav1M laWYH5bh/qJtut9Iringv3k5gPSdalYLqT/xxog0= Subject: Re: [PATCH v6 1/9] drm/omap: add sanity plane state check From: Tomi Valkeinen To: Neil Armstrong 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> Message-ID: Date: Wed, 27 Oct 2021 11:30:51 +0300 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; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Tomi