Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1649798lqp; Sat, 23 Mar 2024 03:19:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWyFpkn2RUytSJ3a3ZY6UY6GEKvUNVS+Hcrus18Ary3uDEpYXAoCxVTTY0geczLpP6Tp03SutJGQ6w3L8/YUiqBvU8yVfGO3Yz2D9IHPQ== X-Google-Smtp-Source: AGHT+IGMVjqOfquO1PETC3xwXMwrpNlwY0YGTZJjJmMiIPpcgDpcfkuKAJwiz5jpS2ZzvMicUJQO X-Received: by 2002:a05:6a20:734b:b0:1a3:69d6:d053 with SMTP id v11-20020a056a20734b00b001a369d6d053mr2285686pzc.43.1711189161144; Sat, 23 Mar 2024 03:19:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711189161; cv=pass; d=google.com; s=arc-20160816; b=Q794PODftVFHVIrHOV+RyPkbTuwdbVIi1iIFQI/V2mXpjhwg2Tj1eBYddtQRShIvZi VoBmUTTwFrSOyD6PFaeqgMXrCwXxI6djQPNbPbQ81rE2GO9xKGv4Knqr4J5mYxJLlFQ2 9Og8rA8HcQ3s+B0b/sy1Mn2mlPAZzQwGtLhFrUaO2mW8511TDfn1zRy/7KiS4cTyPxTB NjrTzlokiye/F0kZK1W0li5BWWdl3sP9FWcFaFhaigTseHlBkfLs8kROaygI63SKbbFr B+4U28aXKh6ofv90xyWJ7uXkW2eL9g2mdImF11urTNk3TfKZSqnPMNNcpX+APloTn1ZN 7gGg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=jsWVUzTZjb8sGoPxm2j46t2rbn6viTMSYqvI2Re5TR4=; fh=TLvdntV9NgdB1/GJXhQy1APAUeQ/CN9W3bla27OeDvI=; b=z3kfPUM6rdRlUeZ8hexntICCHpdP/f99595pc0oPKOeKiOudJvfYJXQ/DDNEL4ejCY f5mZtmcMI04LH22GaK9iWS/oh/jVhk5tdjanhQ6QLmtblT+587P0X3B/7seaOhP0QoJ0 /3uv876vqceqhvdaYPC8D4Ec7hsM9Sw6HSW/ZRQJapTj3fxP59N2OxvvX5wGrAabuUQK mAuIBp9RtqUguRL/CkaknuUGKgXqWgzPItghojmX8gIWeq/+IqTRu7jwmJQBLbG/ihyX a9sCA66e7pksFA0dFD5aE1ZmLUK30OYv9eSxTR6pTvFLcoKpMW3/p2J7pdTXYa7QA9Bd vfZw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fXH8aU6t; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-112285-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112285-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id e9-20020a170903240900b001e034d6a133si1300469plo.486.2024.03.23.03.19.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Mar 2024 03:19:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-112285-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fXH8aU6t; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-112285-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112285-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 821F3B2136F for ; Sat, 23 Mar 2024 10:19:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 444372C80; Sat, 23 Mar 2024 10:19:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="fXH8aU6t" Received: from mail-ed1-f49.google.com (mail-ed1-f49.google.com [209.85.208.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7B266DDC6 for ; Sat, 23 Mar 2024 10:19:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711189148; cv=none; b=ceRhigxPEZlkhq2WsM9Fc3eAVLnfUY7HQva/2/9t55teYAdGU6wuwn0ifu0fw5+UMMXJLYNJ6MuWlmiRnYLl6LzfDbsbmJVKhYFlrTZYB+fesWmeKkT8jKACGCKAQIccEWxC5qBuU/lpZ5KECxb7tOHY7AnJmspHhVENORaPZg4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711189148; c=relaxed/simple; bh=yWkds7nD2ZS519CEcHKNQhFmrIHYkW4kP2K1ilnU+Pk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=JxC+h3Wgk6WC2ugrvx+apI6EE6kEMJWoUj5EW1D+gLcXYHhFFIYzsBnZSGqCVqrutpc8BvW3ImrYu630kVJ0wAT7TCBGScEv9KArTwWh+dMDm/rehGO52pSzZ5Oj+Bix3Pkfaho39reRTt7q+F1bm077LP6VygbmY0sxF+WNioQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=fXH8aU6t; arc=none smtp.client-ip=209.85.208.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-56be32b9775so1844972a12.1 for ; Sat, 23 Mar 2024 03:19:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711189145; x=1711793945; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=jsWVUzTZjb8sGoPxm2j46t2rbn6viTMSYqvI2Re5TR4=; b=fXH8aU6tsORX+8Hm9qgsWdOvAh/MUtiKcFNhR9OYAAVlkyrPMpXDiv5M1owlnJpFuw LeKbQfqdhbQOEw51iFRYvE1u5SCX1RqAUjf+Jbt9naU4NWjCt5/7a6XeO0Re5LVLxRA8 VYfQP+WOY9dDuFpSTpiawcruJpj+AOpbEYutJVLhAFGcOaiX/WRdWqJEH+4c/Lwsnd+L X8ZhDU0y/iSGIG6n3wUuYdXzksaIGJc2VRbnplz27cNkFt7WY4xpeUUSAXkOUPklvsSH Ml4fK8TpvGJ78DTVct9x1/xTbbxCSYnEr8su3wEKG58q3ou4NEI9j1/9SECcBoupT/cb Y4Jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711189145; x=1711793945; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=jsWVUzTZjb8sGoPxm2j46t2rbn6viTMSYqvI2Re5TR4=; b=WQfbGR749mqJfafUkCT/ykghvrLPwwc5yQuidpjy5NoyqNLaq9Q3suxfZqa3UsnldD gC+H1GBb6GNQw0Mku+gGfYonAWgljCzi2H1ES9OIaTsg/wRqIN5ZXt9VZgHGlc0NqSlh AHluv+roYuKb9BSmk16ywQxldxLzT2uAHBerio974aBep5c3TgCfhhIqFHT9/qwxgzVt 0hmlncUaygeW7u5ZeFoSEEzs4GBDp5smaw4gcKU3yhcWggJFBp2IlT+vNPjDczHlPZCM HqXfxktFSF+5GqUeHxaXi1qpjcrZPNPvIjsthxnuVJGkGe+RBmcqHk2EE64PYBejf54j /KhQ== X-Forwarded-Encrypted: i=1; AJvYcCWW5IGffWZEz9BaOdZBN3Hq3uPmapd+lXeA4A0d/ShYMYfxOnXl9RzuI563V9J6SlVj9lLOEv9oll6CVbl4i9O8tO2iTOquI9K3eqzY X-Gm-Message-State: AOJu0Yzwey8YXLBPGnaHlxvmalZqecM4pEHeQFfx6PZSDMpajOPFMICI VrSD7jX8/WWkqkqHNk2ulB5I3rJwvMEFKkZhdkSmznETVn3oBsJRCMvI9h2Lhc0= X-Received: by 2002:a17:906:6bc3:b0:a45:ab61:7a47 with SMTP id t3-20020a1709066bc300b00a45ab617a47mr1315089ejs.16.1711189144821; Sat, 23 Mar 2024 03:19:04 -0700 (PDT) Received: from [192.168.1.20] ([178.197.222.97]) by smtp.gmail.com with ESMTPSA id le13-20020a170906ae0d00b00a47464a6ee4sm369968ejb.173.2024.03.23.03.19.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 23 Mar 2024 03:19:04 -0700 (PDT) Message-ID: <13fcafd7-2e10-485e-bd39-acf67288f07b@linaro.org> Date: Sat, 23 Mar 2024 11:19:02 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 0/9] Setting live video input format for ZynqMP DPSUB To: Anatoliy Klymenko , Laurent Pinchart , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Michal Simek , Andrzej Hajda , Neil Armstrong , Robert Foss , Jonas Karlman , Jernej Skrabec , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Mauro Carvalho Chehab Cc: Tomi Valkeinen , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-media@vger.kernel.org References: <20240321-dp-live-fmt-v3-0-d5090d796b7e@amd.com> Content-Language: en-US From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8s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s2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240321-dp-live-fmt-v3-0-d5090d796b7e@amd.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 21/03/2024 21:43, Anatoliy Klymenko wrote: > Implement live video input format setting for ZynqMP DPSUB. > > ZynqMP DPSUB can operate in 2 modes: DMA-based and live. > > In the live mode, DPSUB receives a live video signal from FPGA-based CRTC. > DPSUB acts as a DRM encoder bridge in such a scenario. To properly tune > into the incoming video signal, DPSUB should be programmed with the proper > media bus format. This patch series addresses this task. > > Patch 1/9: Set the DPSUB layer mode of operation prior to enabling the > layer. Allows to use layer operational mode before its enablement. > > Patch 2/9: Update some IP register defines. > > Patch 3/9: Factor out some code into a helper function. > > Patch 4/9: Announce supported input media bus formats via > drm_bridge_funcs.atomic_get_input_bus_fmts callback. > > Patch 5/9: Minimize usage of a global flag. Minor improvement. > > Patch 6/9: Program DPSUB live video input format based on selected bus > config in the new atomic bridge state. > > Patch 7/9: New optional CRTC atomic helper proposal that will allow CRTC > to participate in DRM bridge chain format negotiation and impose format > restrictions. Incorporate this callback into the DRM bridge format > negotiation process. > > Patch 8/9: DT bindings documentation for Video Timing Controller and Test > Pattern Generator IPs. > > Patch 9/9: Reference FPGA CRTC driver based on AMD/Xilinx Test Pattern > Generator (TPG) IP. Add driver for the AMD/Xilinx Video Timing Controller > (VTC), which supplements TPG. None of the last users of your API can be merged, therefore this API should be considered as without users. We do not add API which does not have any in-tree users. Best regards, Krzysztof