Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp2609468rdd; Fri, 12 Jan 2024 15:42:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IEtxOSBjdSK9JhcFjpK4vKMQkyTBUyj+aQvKvgMh6PhpPmkVpoMvlOrqj6bLuGp4GZx3ISX X-Received: by 2002:a05:6214:2489:b0:680:c830:76dc with SMTP id gi9-20020a056214248900b00680c83076dcmr2235618qvb.94.1705102974164; Fri, 12 Jan 2024 15:42:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705102974; cv=pass; d=google.com; s=arc-20160816; b=VDY/Sktuc2Dd9S+/ffUUzlgmyDqJvw8VqK3Y3zdb+MJZ75egUgO02X9y9UmhxrnrEQ xO/XwF3YpYC3I+5EFQ9L8MTT7OcWvdLSU6JzzdkrLM6bEnHl7BtTi/am6X2XtJsIo+Xw Zzw/bl6EVyhmHat28/Tef2ydItkb6KqgEtbRqOTRZL9Ak45kPe48dkWdEzdSrvpHO9YN KE3o8tQS0bnRhhksS16rgpBuowvE5lG8Qk/XtxUkdb21iBFdvQubsAR790u8Ri5gQ0gI AMKpwAM6sX+iOgEYytH59khmu8T3poDXCxXYbWN2vmlWgVc4ym0I0rNRWGrEMt13/BVX 88pg== 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:references:in-reply-to:message-id :date:subject:to:from:dkim-signature; bh=bg+Zk3e57igtWoKUrG6gPGLeLH/HPz2+uaOq6mcbCBI=; fh=rF57AgvMrLxj8O0ts2KvK1OMlfkXv3jlBwSVETyRr5o=; b=RB9igtYG76LwWzjO5EYKNi6fwt92ftzbce5/tgXfTRnvdo8QmxTWx7ufATwHcjM2cU eES0bz7GJA/EiJVNMPWeQcVjwj/iAQSSds0ij6gms7KX8zWoQZA9m6j9lGXInb8qMJtP bK/ktsZ//HPJVkuNIV2Uuxkv1SDb04IwS1Sq0v5CFP6hGq2F9JPP8ebB0m13t/KPuiek UFY6D/gvb9mqVpkdYowQvIHP3svQGr4JpjRMrwqlZez+dV3lSr0+g7zYuazbfNuCcnfX 7mCq/F8GEgtXoC+kFW5eR7Vc1Q3TVhPIQB6X5rgrM4Zu0gKk3SCuR4g12hVqfQ9XzPaE BQcA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=ytAZj844; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel+bounces-25110-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25110-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id o15-20020a0ce40f000000b0067a56b2ec60si3804551qvl.168.2024.01.12.15.42.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 15:42:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-25110-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=ytAZj844; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel+bounces-25110-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25110-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id E799D1C228B0 for ; Fri, 12 Jan 2024 23:42:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7B5341A718; Fri, 12 Jan 2024 23:42:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="ytAZj844" Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2088.outbound.protection.outlook.com [40.107.243.88]) (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 B07D21A598 for ; Fri, 12 Jan 2024 23:42:28 +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=OEYDkfQgr8vBqkYm7YIf4ssOT0qTiSD79DsW9mKIswie0z678UaKDICO+uiavMfXZ8jVqAMPh+m9khyJ6Lif7LZkalCLLR1z4Aj1t6Rsep78RIA+4KUTKo284echImLJjWm3ysUj4LU2nKL5qOjVC20CDcphCXCneCdp6TXSfZYkin4yG06tK0bRjj41Whrjq88PYyxGwSI4y5Rg0zf0d/TYguiKduY7EflxjRYzPp4/JFSdwfexz6gu56iFDsws5vTZB1PfABeSsV+3z1EyELf3yQRJV4XHMUunreK0rXbxTuLdl5OeZ4KvX3ttdJMegueRUzhBj0OUDaZcloXpPw== 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=bg+Zk3e57igtWoKUrG6gPGLeLH/HPz2+uaOq6mcbCBI=; b=fKcAQUVwXESvwiew41tD3NdLpUQdjXXOG/5ARwjg1f716PCJ+zUkoNikE3Hn1mFbVqFJr9J4WoPvA4ateo18WeQv3CBsb6PJf0EMDjwI9TNc8qiu9po23FaXjYeszOlL2KjoWyoc+zLp3bYQw0f4DEFBVMcA+lDRLm0tzk56VPJQveXE0VWtX3LRYLdjvso2joS16QwUZI8Cukmwauhs0gAMSFaLUrKu7ef6tJGyL43rrjM41soOEuOGC0ooyUSTtKmiO7jQkLNYWf+u20COL4VTHSM5RtjHSWrvdqmlOtdg7cgISiAWbMN7R5NVouKZoGc7U2IdFLWjpyPQj7eyNg== 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=bg+Zk3e57igtWoKUrG6gPGLeLH/HPz2+uaOq6mcbCBI=; b=ytAZj844/i7fRUjRiF1fmu0dO14q11Y5185TtzRh/EHyXeERDcC2Ve8bHE9J+d2+9EAX+WtqNvTPQsbDCF3gj/VALSJBHwFU89cav8XEs2ENL+mbfBeJacpPvXNVJfu+iUNYForz8JDnSgn/m050AXNENVu5tLlv1lIC4UMWfXw= Received: from PH0PR07CA0005.namprd07.prod.outlook.com (2603:10b6:510:5::10) by SA1PR12MB7412.namprd12.prod.outlook.com (2603:10b6:806:2b2::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.21; Fri, 12 Jan 2024 23:42:26 +0000 Received: from SN1PEPF000252A1.namprd05.prod.outlook.com (2603:10b6:510:5:cafe::30) by PH0PR07CA0005.outlook.office365.com (2603:10b6:510:5::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.21 via Frontend Transport; Fri, 12 Jan 2024 23:42:26 +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 SN1PEPF000252A1.mail.protection.outlook.com (10.167.242.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7181.13 via Frontend Transport; Fri, 12 Jan 2024 23:42:26 +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:25 -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:24 -0600 From: Anatoliy Klymenko To: , , , , , , , , , Subject: [PATCH 2/4] drm: xlnx: zynqmp_dpsub: Fix timing for live mode Date: Fri, 12 Jan 2024 15:42:20 -0800 Message-ID: <20240112234222.913138-3-anatoliy.klymenko@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240112234222.913138-1-anatoliy.klymenko@amd.com> References: <20240112234222.913138-1-anatoliy.klymenko@amd.com> 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: SN1PEPF000252A1:EE_|SA1PR12MB7412:EE_ X-MS-Office365-Filtering-Correlation-Id: 0d14618e-ded3-4b21-6ced-08dc13c821ce X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +fOhuPIURfBxMhb0cjJ9U+6MplzO+tFGgyHPHzjY33retSHPz1eac/0NakXpwI5sHWz96k+BpFoJeyHUfvCAPUygbBZ4mThgxc8TMv/JEnJltpDMke2B1naRjlFqN5uFLav2x9nCVm3MNBEbKwWgF/e/1v0NNBwZI31bhPyc3n3deaRsgRaLskDas5FCTGCv1OQ+urO/v7YaD8FTzosHKE8jGFUkTz+XNLSNET8U9KoSuO6MG74lCekf/3z0yh8qkwau3+CN2lp2//XOPRiVZ/yg9PbC+83JBiK6EkP/b/7jLsVIGsP2CnLtP6xjajkqKg9Z9gdzop6GENgslCIU/levXhhdep9HzsELc+wBvnBRlMgWZVTU5T/bj/l4x6fnLtRUT2B4w/k+jFWwzcXoXowPTjgepMtuJbbs4nEKiG1nvAHKkgvifbjcNqdi7XZy6TKcQL2pbxXE50DpEaX+ZgOu9wqbPWxWg6kjlVV1tvIbyDRKPc50UUKbsSLCv6dU+TQXv2zsGTMr0xRVog+4faKvzYnnqf6lTwJIlLdBPGVLghJSvNiXN0hqC1iIPRPiC0RkhdIpii7REsPBpiRJrdGah9bEsMmmhaEra8G8OFniSkEKOQaZuR/sQD4s4K0adX7mu22NApOJULJzp4R+XDwkLROWihiqAb8dytegpnf3OL6PpCpOYaGkBUM4SkGaHpqWAm5Zq2B5Peu18nRhp+omVgmni9w3j8/IX/tP518PqcjCQcywtu5mFnBRm+dNvmprFqTG0KMCBds7mx24wTlT3GDrpNjxMgiDsK0X1myZ8lTTS6vzZOpIT1/LF3/b7aeFhYPmXWFYcPvIgGlW+mnObTLSBaJfufMEB1Ogy46cU+FlPTYkz+N1qygZ3uKh 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)(136003)(376002)(39860400002)(396003)(346002)(230922051799003)(230173577357003)(230273577357003)(1800799012)(186009)(451199024)(82310400011)(64100799003)(46966006)(40470700004)(36840700001)(82740400003)(5660300002)(40460700003)(40480700001)(70206006)(44832011)(70586007)(110136005)(2906002)(316002)(81166007)(8676002)(86362001)(8936002)(4744005)(356005)(478600001)(47076005)(36756003)(6666004)(2616005)(1076003)(26005)(426003)(336012)(83380400001)(41300700001)(921011)(36860700001)(36900700001)(2101003)(83996005);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2024 23:42:26.0706 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0d14618e-ded3-4b21-6ced-08dc13c821ce 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: SN1PEPF000252A1.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB7412 Expect external video timing in live video input mode, program DPSUB accordingly. Signed-off-by: Anatoliy Klymenko --- drivers/gpu/drm/xlnx/zynqmp_disp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/xlnx/zynqmp_disp.c b/drivers/gpu/drm/xlnx/zynqmp_disp.c index 407bc07cec69..8a39b3accce5 100644 --- a/drivers/gpu/drm/xlnx/zynqmp_disp.c +++ b/drivers/gpu/drm/xlnx/zynqmp_disp.c @@ -1166,7 +1166,7 @@ void zynqmp_disp_enable(struct zynqmp_disp *disp) /* Choose clock source based on the DT clock handle. */ zynqmp_disp_avbuf_set_clocks_sources(disp, disp->dpsub->vid_clk_from_ps, disp->dpsub->aud_clk_from_ps, - true); + disp->dpsub->vid_clk_from_ps); zynqmp_disp_avbuf_enable_channels(disp); zynqmp_disp_avbuf_enable_audio(disp); -- 2.25.1