Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp928569pxb; Wed, 27 Oct 2021 15:25:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxShhUHAXn9LqMTlYU24/oGqpGhQdlvYlUG57xP2kKSSKMaaO6h/AmBsn26ICbo/rlRnRO5 X-Received: by 2002:a17:902:7616:b0:13f:354a:114f with SMTP id k22-20020a170902761600b0013f354a114fmr512083pll.8.1635373520747; Wed, 27 Oct 2021 15:25:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635373520; cv=none; d=google.com; s=arc-20160816; b=HvYS/AfxL20DaasAsUiElBeZTOvDq1cV3Qq+vK5mfiGWiyrtwwdKnUUtufW+3aM27O t59CF/VamvAiV5yxJ9Duddhos4n5lROqRAWHZ1RYWtOX1Pfw8plGIuSpsOd7+PuflZEx nwXLoF1YoKMJu2B855giV/SrglXkFv78isvNG1PpEMptntr6Do02+o5icPh2+PcmWJse IXXPsPOPjQmYHTQpMSQU9e4hhY2/BWSSH5LEkCf+zcpOQJ/d+inTK43o3F4uVr0Q+amo /fvO7CzRnXiFDoT3XQT48YXLPBOqHQfkgLidVLLg/nasjgPvwGhWxubI5L0DzCyCdLTf r0YA== 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:from:references :cc:to:subject:dkim-signature; bh=ax8AiU5muJd7eOyoXFX+OVJwe+l3WP0SWjZgJQWpex0=; b=Q5rsfB/h8YYi/9nvAq1vmlI2qGJI3QdmiTclgnLZ4fshEipjeqsyJu26t3Qp26qbOA jkXHNMnOgXcCUzR8Q/McLz92tGRmvZFWQw7MgCU9EwBdUdO7TRmE8OB/Yue2Zy5EF0WJ AKKWZPfWlXtJhEMavtWUNhFtNXAotuc7bmCldvqpugXjn4ZZOxF991AlOLskd0Y6LklK /KcNlZ8wmFLgq/BCtzAhYar2fm7P24Yr0esf3c16e0yU8ZxGlj6QQMPce1oDRaLOm1ss UGBNi4YDcNsWUc0yz9khkbof3/O0ZtTWY3qE1koMrrp2lC+J8SyogG+WZYvJmtOucssW fnxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=XTSQndbk; 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 h8si2186765pjq.2.2021.10.27.15.25.08; Wed, 27 Oct 2021 15:25:20 -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=XTSQndbk; 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 S239192AbhJ0Ihv (ORCPT + 99 others); Wed, 27 Oct 2021 04:37:51 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:48398 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233389AbhJ0Ihu (ORCPT ); Wed, 27 Oct 2021 04:37:50 -0400 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 8C20C596; Wed, 27 Oct 2021 10:35:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1635323724; bh=PHqL24TPiqhLyMpdtDuXEIKdxWSbGMXdpe3rK+VcaNA=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=XTSQndbk/yHNJ55gENbsQTXHHVqsYl9jmrDWL/w/ZIpJdq1liXB7woTOqoy+vLfu6 Llaemg6BhqF3it1mYfbmnMc6k+TqkT+D8NylM4+PIb2V41MFhm7agCBouYo0fGyzbN 46+jhG7hF7s0Op4EnBtsyt8RXaYwbMU79OnubRNk= Subject: Re: [PATCH v6 3/9] drm/omap: Add ovl checking funcs to dispc_ops 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-4-narmstrong@baylibre.com> From: Tomi Valkeinen Message-ID: Date: Wed, 27 Oct 2021 11:35:22 +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: <20211018142842.2511200-4-narmstrong@baylibre.com> 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 18/10/2021 17:28, Neil Armstrong wrote: > From: Benoit Parrot > > In order to be able to dynamically assign overlays to planes we need to > be able to asses the overlay capabilities. > > Add a helper function to be able to retrieve the supported capabilities > of an overlay. > > And export the function to check if a fourcc is supported on a given > overlay. > > Signed-off-by: Benoit Parrot > Signed-off-by: Neil Armstrong > --- > drivers/gpu/drm/omapdrm/dss/dispc.c | 9 +++++++-- > drivers/gpu/drm/omapdrm/dss/dss.h | 3 +++ > 2 files changed, 10 insertions(+), 2 deletions(-) Reviewed-by: Tomi Valkeinen Tomi