Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1424347lql; Tue, 12 Mar 2024 17:55:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVu8O8NKrVbcbbA2VXZPm/92K7l1Pnvfzqp7qNJTsYqi/7dtz+N12hBw8TR79uKZCfQum6IDAqnIvmPAK5pLtCGe+2RpWMhm2WX8Y5DKg== X-Google-Smtp-Source: AGHT+IF6tBqlUZFL/I9+kx0vJiUL45OWfwfKjfuu+NNeTxE6/LFGj54yHLGoVQHjVX64nOFonKA/ X-Received: by 2002:a05:6808:640e:b0:3c2:4c5c:854 with SMTP id fg14-20020a056808640e00b003c24c5c0854mr8686565oib.45.1710291351483; Tue, 12 Mar 2024 17:55:51 -0700 (PDT) Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id z15-20020a056214040f00b00690d9ed71dbsi4453562qvx.496.2024.03.12.17.55.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Mar 2024 17:55:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-100977-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=kCNLM9FW; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-100977-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100977-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 28E781C216D2 for ; Wed, 13 Mar 2024 00:55:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0BA3610958; Wed, 13 Mar 2024 00:55:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="kCNLM9FW" Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2054.outbound.protection.outlook.com [40.107.93.54]) (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 6DF3EBA2D; Wed, 13 Mar 2024 00:55:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.93.54 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710291314; cv=fail; b=ig2Z29LXy4yaLp72GjPHti8zmreTVkdV3x32hQw2drTiI1Q3MiavCs4KNhEaDqoqwZKUtFiswi0oJBNMLhyB6kYqyVtvzgrXJvY8biw6KfmoopZMJ3sKR8ojF99/JN2dxFaT/0xhRttlBX10IBXeh8xwjcICj+fdVEpNGl9YGXs= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710291314; c=relaxed/simple; bh=flfeQScWypqu8n3HhnUP6/CVUihhGfMm43SPzVTJTzQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=UMy7pVvSkKFU56kUWjfJFUjePfuimdX4OFWWyQpfZxuk1mqjJn8ro47oBGwsWW9/SyGZO5sWESG6iN3F5bzuCYq7oLCPTVCK5FA8OrIt7XPzTKFr+jO8e/rzowz376s75V3S3Tik4MFRA11XaQ5smnJDTNUNqsI1pYVA7NOQl9E= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com; spf=fail smtp.mailfrom=amd.com; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b=kCNLM9FW; arc=fail smtp.client-ip=40.107.93.54 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=h18PV9dsKQh7pxW6qNxAvjafCN/0893JOVAPf5ZCgnPQ4fCmZJddLW2dX//yaSRFL76wcCtu2H1VmZwmEoRXVWFk2JhZZ//0OQeWYRVgLW9DisnwXdC0UISaJOdUeueFhoM/LpzGmUdtXAx/PDaoaBFItj5FTRyoplJvToOYRy6Q+H3tzC9h4UecbOdCNP+Rq+iS+JNg9IU9ZxUzwZqoCgBSoMu5zdDlcvW6218pNInVndZ87UDieRHWe9pZluBn2/T69Dsk7O+SHX9FTO63cckjYW2GhJme68pHzW2SmMUEZr4Pr2jLf9d7p0tpr5NyRq18uPTXaASsdmI4G3bBfg== 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=hvVwBLMlSU9YWMtY4tx0B3I3ictykDRn2LYjaW7J9Vg=; b=CeCYiBacihstSw4WPDjuAzKZPuqasZRdgvxBR/3khSzMqYKm+RiyI0Q4OCEsXS7wMRhWSrcWNgy3KEoVkj3IjJ1OK/aNO35SNjVYG1oRyqxzgj59YtLmOe+U5SaKhByps/M5vR9kXLrpDFN/pBUIW6O4fHitbKsXE70UMK1NxrhOYede0jALGtku4CQu8T4Krjp+KB1pFoogcyY1mvd7ykfbM6c6Q7FaROD94+R+7eVHzRbUlOG1zgU2M+nSahZ94rbgcsc4YZldV4W+azyKDduVbWBuTk77h8BUGgSVCs6fqwN0/M/3CF1n3Mw3EFNFMUGrLRuV4Qm2Xp9aiJ5M8g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=kwiboo.se 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=hvVwBLMlSU9YWMtY4tx0B3I3ictykDRn2LYjaW7J9Vg=; b=kCNLM9FWGU3xwUxQqXhUP9M2cZvuL86K0yIhhoGD1h2WHU3sBzlBqMsaKy1/cuZg1QBctiOxTsc2MrZmUec/0t0KTpfPli0f+FDBof3KUp5Vh6ZYkW1uwuf9UIdQHABRwx2vkbIKMVxdqFRdiMmrTDrrXHyjBUTwi5MM17lB6Fg= Received: from CH5P222CA0006.NAMP222.PROD.OUTLOOK.COM (2603:10b6:610:1ee::27) by DS7PR12MB8203.namprd12.prod.outlook.com (2603:10b6:8:e1::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.36; Wed, 13 Mar 2024 00:55:10 +0000 Received: from CH1PEPF0000AD7A.namprd04.prod.outlook.com (2603:10b6:610:1ee:cafe::e8) by CH5P222CA0006.outlook.office365.com (2603:10b6:610:1ee::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.18 via Frontend Transport; Wed, 13 Mar 2024 00:55:10 +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=SATLEXMB03.amd.com; pr=C Received: from SATLEXMB03.amd.com (165.204.84.17) by CH1PEPF0000AD7A.mail.protection.outlook.com (10.167.244.59) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7386.12 via Frontend Transport; Wed, 13 Mar 2024 00:55:09 +0000 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 12 Mar 2024 19:55:05 -0500 Received: from xsjanatoliy50.xilinx.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Tue, 12 Mar 2024 19:55:04 -0500 From: Anatoliy Klymenko Date: Tue, 12 Mar 2024 17:54:59 -0700 Subject: [PATCH v2 2/8] drm: xlnx: zynqmp_dpsub: Update live format defines Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: <20240312-dp-live-fmt-v2-2-a9c35dc5c50d@amd.com> References: <20240312-dp-live-fmt-v2-0-a9c35dc5c50d@amd.com> In-Reply-To: <20240312-dp-live-fmt-v2-0-a9c35dc5c50d@amd.com> To: 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: , , , , , Anatoliy Klymenko X-Mailer: b4 0.13.0 Received-SPF: None (SATLEXMB03.amd.com: anatoliy.klymenko@amd.com does not designate permitted sender hosts) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH1PEPF0000AD7A:EE_|DS7PR12MB8203:EE_ X-MS-Office365-Filtering-Correlation-Id: 5b9ba767-5dec-4700-7bf9-08dc42f83ba8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: tTFfUv2YaolUmVFDzhBTWLhEBuEqS0kJYpA6KOspzIUmwyPcv8ZaDmUA33eS3KWffbkLq2aqk+T5TaEPrS+t7Pgu385q6fs6ae8+HLdZDpuRpCgWHA8IM/yGWNr7LUxApQ34yEAf1ROlnTcjXlHkm6RPxc1HBfc1SvZW2d8QaPhwnTtj6cF8FNYDEdOc+WkIwSnT/CT8vR/ojjFRpIOKA1pQIs4tjozWozmLEqeqoI2YnBWPQjb5poF5G+0F1KdH3yIYmjJhdg5KRjOgdzH66aftBnnmyrbmjgDIkopGvAkDxF0iw6XtaDpR1mWdS5MN0BaGgnxO9v4wnX1lDUii4IQaI8Dpwgg0KpfjBQNTHAr+Rs8lXRG7e3pnwh/GU3Gja5Il9+msk85NdL3ukZVK3zdsscssx1hgXv3gF9+DV8ZCk6wGSEwx1zy6miulIf6rDs4V6MJP62mJlaLnPLICmKO8YaR7VoqR3QeG0h6f3pWJm78Y3roN71ZODqNXV94Qog6BJv7+C5qpce/MQvnIpyfk8bFpT8CCrvZtJ1monovFYdC8zcJftYkOAm+hXkqk/Lk5zuxgqA7dm63APKjqbK+vpVT6/i0guIFxixYbWdZ6xP91nxeanxokBLdktXSzUVIw2hr2rIFIcKC55vfLwDrDxI7REkK30Jec74Vp7n7+v4wU6j57gYcZtZfavboaytLDhY8Uwq4V//Q0ZL8pAswFTahNliif3iaWjp6O35SwPXf9Zcsnz/ZBmv3dh1WNSxYy1PMbXmqbFA+uGBPRXA== X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB03.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(82310400014)(1800799015)(7416005)(376005)(36860700004)(921011);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Mar 2024 00:55:09.9362 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5b9ba767-5dec-4700-7bf9-08dc42f83ba8 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=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CH1PEPF0000AD7A.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR12MB8203 Update live format defines to match DPSUB AV_BUF_LIVE_VID_CONFIG register layout. Signed-off-by: Anatoliy Klymenko --- drivers/gpu/drm/xlnx/zynqmp_disp_regs.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/xlnx/zynqmp_disp_regs.h b/drivers/gpu/drm/xlnx/zynqmp_disp_regs.h index f92a006d5070..fa3935384834 100644 --- a/drivers/gpu/drm/xlnx/zynqmp_disp_regs.h +++ b/drivers/gpu/drm/xlnx/zynqmp_disp_regs.h @@ -165,10 +165,10 @@ #define ZYNQMP_DISP_AV_BUF_LIVE_CONFIG_BPC_10 0x2 #define ZYNQMP_DISP_AV_BUF_LIVE_CONFIG_BPC_12 0x3 #define ZYNQMP_DISP_AV_BUF_LIVE_CONFIG_BPC_MASK GENMASK(2, 0) -#define ZYNQMP_DISP_AV_BUF_LIVE_CONFIG_FMT_RGB 0x0 -#define ZYNQMP_DISP_AV_BUF_LIVE_CONFIG_FMT_YUV444 0x1 -#define ZYNQMP_DISP_AV_BUF_LIVE_CONFIG_FMT_YUV422 0x2 -#define ZYNQMP_DISP_AV_BUF_LIVE_CONFIG_FMT_YONLY 0x3 +#define ZYNQMP_DISP_AV_BUF_LIVE_CONFIG_FMT_RGB (0x0 << 4) +#define ZYNQMP_DISP_AV_BUF_LIVE_CONFIG_FMT_YUV444 (0x1 << 4) +#define ZYNQMP_DISP_AV_BUF_LIVE_CONFIG_FMT_YUV422 (0x2 << 4) +#define ZYNQMP_DISP_AV_BUF_LIVE_CONFIG_FMT_YONLY (0x3 << 4) #define ZYNQMP_DISP_AV_BUF_LIVE_CONFIG_FMT_MASK GENMASK(5, 4) #define ZYNQMP_DISP_AV_BUF_LIVE_CONFIG_CB_FIRST BIT(8) #define ZYNQMP_DISP_AV_BUF_PALETTE_MEMORY 0x400 -- 2.25.1