Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp2609376rdd; Fri, 12 Jan 2024 15:42:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IHhyrT27E1523HoNAmUwc1dyQlNMas4qxXkw1TC1ej+jfcYRwokYmj4LYdhoiSNWo/RwoNR X-Received: by 2002:a17:907:9711:b0:a28:b319:7b5c with SMTP id jg17-20020a170907971100b00a28b3197b5cmr1428295ejc.82.1705102958913; Fri, 12 Jan 2024 15:42:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705102958; cv=pass; d=google.com; s=arc-20160816; b=TklGLzAltfE/jNbHcXE1q3alFlBmw5zgp6fgbYom96NMBJu0Cr11Ys2T4klYojxrva bIiRopz+EbtmIYXC2+fL9pdI1S0UjpcAsf0SKhoRogUj+3y7qr1UzRRhWABlvMmW72JO EjzRJyQm4hABWOE4W5kebQP8wbrdXD/cmJ4LcWRZmerU6aTbzDUXQu4vsGzp7UNu6rdr PxvRpgC513I/6KoOvh0Kfj75DLpHdZG5ORD6I4IEtkYC7yCU7i9edtwo/Gci2n0ad2t0 /dHVX6Gipqz67csm6/Tj5hskgI+g+wIM1t8r0lETKeauSci8XOb5NmkaHivrXg+QcbhK b/0g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:to:from :dkim-signature; bh=tWf/8uBjRlPqQznobCoVW/pEu//iw895Li+y2SCJaCQ=; fh=rF57AgvMrLxj8O0ts2KvK1OMlfkXv3jlBwSVETyRr5o=; b=dF5d4xaHXNtUHQw0m4KqYwZbYiZseD8wUaLJKsJTXhkkHvrAvwkHarfPmTea9HvN8P gceju0SH7q0AlA6Te0CGyEclF1Fl2VKvQXIYc9ciexFd3vIghLz7hOkqCjsD3dbeFScq 7KLxksj0ameEaRNA1hEJ5bVVWeiFUWhHdHcc9YiNsyQOVmedQ41fz5yx8wFl63/XapRB YKgiU0O7X9hL7Zf9Cyhtu9uyKr49CoSt2nfvEugxda2fqIk4cTH8k9JcQdy3C8cFyivm DLqph1tTKWuRFDT/GO6pHVxHuTR0azngC0zDIFK6vixWRIayPmMGFDJRqfYOp0LUzCt+ 4g1A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=Ou+EdePn; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel+bounces-25108-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25108-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id n26-20020a170906379a00b00a2803f409f4si1760821ejc.687.2024.01.12.15.42.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 15:42:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-25108-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=Ou+EdePn; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel+bounces-25108-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25108-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 7FCD71F23670 for ; Fri, 12 Jan 2024 23:42:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C6ABF1A5B2; Fri, 12 Jan 2024 23:42:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="Ou+EdePn" Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam04on2053.outbound.protection.outlook.com [40.107.100.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4275618C1D for ; Fri, 12 Jan 2024 23:42:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=amd.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=T+rQU08PVQ0BJiFNh12goKX6lDxHDKiFj5d7RdhskFJ6A+5eptdFRBwGUUQnobf3ZZywHlpRW3zLJvqyxHYFfz4IXsNX/px2JIQZ+qAoNXHu4DFxdJwqAAHKiPs2jrKj44ahfrhKYTqceS+c8qPSHKQhS76DdZEz1LleZcLZnCO2igsKSOFJxGpg9LCjpRibpIAf64uiD7/q5GqmnLlESCF0xpYNgGf49wsaunTF+RhMEMWgjNpWybfHbofvN3IFeoYhQf6N8vwA90zb8M6nKqnB9nu8sxC77gmEq1IZIkJD592y0HyuFYyuHqgjlg5/UPZckV6EJRZ17qGae5MCyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=tWf/8uBjRlPqQznobCoVW/pEu//iw895Li+y2SCJaCQ=; b=b83LKT5IdRtOXLLqRhw8m4AndmpOjCcajSHvhG/5kILloiasnbAvCTpJvATN/7YU/J2L1U1U4gcxJnVM4Ow8FTSscqzwb0/IqhPSiLqWLG3FGsCxztQuLpkv/zWObrkCmCkNCr9jNWiIfesb6wV4aLqCJZkC2qgQau5QU5BymXn0hj7CP+EcmRUenaiHEwx0UCdw5UjcH0/KfPJy2s2BBSN8ns+QKEGgrleSKpHQI5Bjo01V8OCZvWswATALBtEmdaQOo4BYvlv9QruXcrbqMoq8Q7QEoyMKIrbCOVK4pSqUM3FkTT6YUnYAD5sH87jc/aA63faJF+PSpKDIz7gOPA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=ideasonboard.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tWf/8uBjRlPqQznobCoVW/pEu//iw895Li+y2SCJaCQ=; b=Ou+EdePnONuTMLVxve8j6+pJa9JBBXsVVHF0CO2NMGTExY8YnSF5Q+7s2zCk6FueBNL4uOdeIhsSjdWH3Qjnp72wHhy+QPnDMJ7pMLAxTby4GDvj+rjkTH5k/R63rsthCiRJ7AL5h1Z3h2LIS5kObIUIcJ+PvP18j+DxR9FQDCg= Received: from SN6PR16CA0048.namprd16.prod.outlook.com (2603:10b6:805:ca::25) by SJ1PR12MB6362.namprd12.prod.outlook.com (2603:10b6:a03:454::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.18; Fri, 12 Jan 2024 23:42:24 +0000 Received: from SN1PEPF000252A2.namprd05.prod.outlook.com (2603:10b6:805:ca:cafe::e1) by SN6PR16CA0048.outlook.office365.com (2603:10b6:805:ca::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.19 via Frontend Transport; Fri, 12 Jan 2024 23:42:24 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by SN1PEPF000252A2.mail.protection.outlook.com (10.167.242.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7181.14 via Frontend Transport; Fri, 12 Jan 2024 23:42:24 +0000 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Fri, 12 Jan 2024 17:42:23 -0600 Received: from xsjanatoliy50.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2507.34 via Frontend Transport; Fri, 12 Jan 2024 17:42:22 -0600 From: Anatoliy Klymenko To: , , , , , , , , , Subject: [PATCH 0/4] Fixing live video input in ZynqMP DPSUB Date: Fri, 12 Jan 2024 15:42:18 -0800 Message-ID: <20240112234222.913138-1-anatoliy.klymenko@amd.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN1PEPF000252A2:EE_|SJ1PR12MB6362:EE_ X-MS-Office365-Filtering-Correlation-Id: bb9f8137-7455-459d-f957-08dc13c82099 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: BBkfDItSvDPknROhMRLKDdLBSs1SSqRqo3QMYmZGlHhzt3xoALNQauiSisaQptXoQk5shIg3Pyb9m5nOpOJ2GA/XagSZr77xafJSi3ebKZmQsjZB1tPsL7YyhcpqIaJInBRnj617UwI1nqBJLtYBDosy/yQmBw6WbBeC6fKS3FSzxSR8PSHoH2G7UgwCBZENQ+E5B29875aADWNjBfLns+YroIEchLnW4DHlIa0v48GTI4Oo7ya+7obLpWgb1owUDS3rV+Ixsq60nMn7+QAzzWrCAQ5stX2K7BVNBPdEQpJmRdIx7eZQvFWC2/U6vAuMDnS/LlIQBUma5fHLKKvHaNc8kKxq7UtDeI+cN08KMTmEpRh5K/lRACKil1YOooLbju3ZW2wuF29r0IJWBdO+ngqp7d9hLBUsFoDZhObD8zLL3x91lUtCF0lWO6glsq1qgpqm5r4pIWzcDmyD2QH+3yvUJHMcB6M+unnAndffdTjs9JKP2D8EuRC2Dpuwr6VjB5sPKy9IOWv3F4mx7H811kBD7iDCMEjEClvH0VVNLXRsPpviwxDaf42SCui+cU7K3RugE0Tbs+He2yjfzGHVLBc9EOXvd1dpoCjKP57eB2pAiB1TqfP4Ct+8zaJHsSuxopUXYlZQ/5xjXdw0OZQrSGb6R4CmVK5geB7QC71oXA2p8jTobTN4Mz535swnC5Efs0lyOayElYPjj0wxhH2ia5I4qpDlQmbOx+8sdMV297scM8+pYszfn6JpDpzKfCIMzlJyqHFx1o/+fIR7J/DwcqSbj+OWsvTec0cmrLCj0Fp6fIBYqkZsMl3/r6rExFuUOzjzFoYYZcZrFGdHdWJUQw== X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(4636009)(346002)(39860400002)(396003)(376002)(136003)(230922051799003)(1800799012)(64100799003)(451199024)(186009)(82310400011)(36840700001)(40470700004)(46966006)(40460700003)(40480700001)(47076005)(83380400001)(86362001)(81166007)(356005)(921011)(36756003)(5660300002)(36860700001)(8676002)(82740400003)(2616005)(336012)(26005)(1076003)(426003)(70206006)(478600001)(6666004)(316002)(44832011)(70586007)(110136005)(4744005)(2906002)(41300700001)(8936002)(83996005)(36900700001)(2101003);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2024 23:42:24.0491 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bb9f8137-7455-459d-f957-08dc13c82099 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: SN1PEPF000252A2.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ1PR12MB6362 Patches 1/4,2/4,3/4 are minor fixes. DPSUB requires input live video format to be configured. Patch 4/4: The DP Subsystem requires the input live video format to be configured. In this patch we are assuming that the CRTC's bus format is fixed and comes from the device tree. This is a proposed solution, as there are no api to query CRTC output bus format. Is this a good approach to go with? Anatoliy Klymenko (4): drm: xlnx: zynqmp_dpsub: Make drm bridge discoverable drm: xlnx: zynqmp_dpsub: Fix timing for live mode drm: xlnx: zynqmp_dpsub: Don't generate vblank in live mode drm: xlnx: zynqmp_dpsub: Set live video in format drivers/gpu/drm/xlnx/zynqmp_disp.c | 111 +++++++++++++++++++++--- drivers/gpu/drm/xlnx/zynqmp_disp.h | 3 +- drivers/gpu/drm/xlnx/zynqmp_disp_regs.h | 8 +- drivers/gpu/drm/xlnx/zynqmp_dp.c | 14 ++- drivers/gpu/drm/xlnx/zynqmp_kms.c | 2 +- 5 files changed, 118 insertions(+), 20 deletions(-) -- 2.25.1