From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D6550C432BE for ; Fri, 27 Aug 2021 20:44:41 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A330A60E93 for ; Fri, 27 Aug 2021 20:44:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org A330A60E93 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=amd.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3700F6E9CF; Fri, 27 Aug 2021 20:44:41 +0000 (UTC) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2075.outbound.protection.outlook.com [40.107.94.75]) by gabe.freedesktop.org (Postfix) with ESMTPS id A6B306E9CF for ; Fri, 27 Aug 2021 20:44:39 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gbVJ+WrfrVzj9PhVf+QwVWXvAcrB99GTOA3kVGpMddPXdxkfPp246OVLVv6SrCAmdDlaThFZfvKahm3k3BWEBqdlqUd1rEAVzRpJI/CJemAVUq1akkpxF0d0oZDipdEhVh9wcHQPAzj/KxTlDPRri/t7/hZ8MU1inkZd3hEDUvwbA0dzbHc9UZtvvd3nYAEmL2dcDNcgORJZBFv6tFVf0WbBCxcLg9b5SfPPy6sTSCMTVdji1uWzJLbNLZSjcixD2YwwXDn4dQugAl9N+ZZAxjbAY70we3TndBrvHlfH/SFsoG7/nV5gqZJRUQCBVmKGj66C33QdQZcwVMy2s0dnVQ== 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-SenderADCheck; bh=iPF9RjK6LY/fhTwk7FLcukABXxmCXIKP2IC111S6SOk=; b=EpDQyaPHFrw0DukIq4xzRJmNcpeIOYRy5Lg83ds1Lp2F15NleDktqlG94fduMGGqvR3hynjyxc6Two1AChAJd5xsJtGQY2RoE89Tsmpqdz33GUTm2uqawNRd2wROkCQKlhfduRCb/7fHhPgm+Dg/p8H9rDItdzhyPgGgtfSCoHm7ARcjVq3GigMPX+oJi/AUGJyddU2JTM4Ax7qACWcLYiRu4aklFxecEMDKCKSG3OXgTXOxzZ9ODLKFAtxu9kO0xatJHANf5HJ1ZnOHq5DDWPBAWw4Tq5+DBUi50Yn58Ewn8fqodsut6KixjcyPsAMmg7wbhkUUM8rK5JboasVGOA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.freedesktop.org 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 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=iPF9RjK6LY/fhTwk7FLcukABXxmCXIKP2IC111S6SOk=; b=Vno0fg0GVYjZe8BiUhVjPZaJw2nceULmqHsXmiChIYB+HyRH6DgaxCLS2SIE0XK50v7JHnY9WzYawMSbZSRlfHdpwCpd5JhGxpjeWvPzO1i6fs1cwZVdzMgzSBiyQc6rOtBF1frw2jgKM+4kuky9vm3zi6L97TgeZGDu/7Pg+RY= Received: from MWHPR11CA0003.namprd11.prod.outlook.com (2603:10b6:301:1::13) by BYAPR12MB2838.namprd12.prod.outlook.com (2603:10b6:a03:6f::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4436.23; Fri, 27 Aug 2021 20:29:24 +0000 Received: from CO1NAM11FT043.eop-nam11.prod.protection.outlook.com (2603:10b6:301:1:cafe::ff) by MWHPR11CA0003.outlook.office365.com (2603:10b6:301:1::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.21 via Frontend Transport; Fri, 27 Aug 2021 20:29:24 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; lists.freedesktop.org; dkim=none (message not signed) header.d=none;lists.freedesktop.org; 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; Received: from SATLEXMB04.amd.com (165.204.84.17) by CO1NAM11FT043.mail.protection.outlook.com (10.13.174.193) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.4457.17 via Frontend Transport; Fri, 27 Aug 2021 20:29:23 +0000 Received: from DESKTOP-9DR2N9S.localdomain (10.180.168.240) 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.2242.12; Fri, 27 Aug 2021 15:29:22 -0500 From: Mikita Lipski To: CC: , , , , , , , Subject: [PATCH 00/19] DC Patches August 23, 2021 Date: Fri, 27 Aug 2021 16:28:51 -0400 Message-ID: <20210827202910.20864-1-mikita.lipski@amd.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9498ff18-162e-47fd-47df-08d969995bae X-MS-TrafficTypeDiagnostic: BYAPR12MB2838: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3631; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fHYY09Qm30CmwqglIk8OaKV31sjiuFMyWi5QMqvlc8csqVf/grTArJKJJmq3iO/SzsAolreOCI85EG3JjayGFYQ1udKZrv3GpkcvLZHfMqdCcJUtS8Sf3g2rFemsBqdkvbFqlKowjkgMPuCtS3v570c2LLfjmmSgNn/KhbBfk9GvnBGjpWYc2Syp609sztwfb1nBR39b5uH41XONi1x5RtabGEryGHrDSPnngavZUugfS67kyHlSndxP+niYlOT1rW6MOxZVIJelTpcSEg731G4pPkunUzxzsN6Nb7CX9x11IfJ5XLmnEwyaaAWOjIhNyf2OCyInm/kNrIs1OQQfYJdmdE7ZIhhGQFmWt+HrRXgYcZ3L/EW4iqWdYJEX8mD5mAcMIY6RL5vzUoJfGf0fytJMVE6iL55i7+9hxhbnK4y1+i/7LWe7+sRwV0fWCRR3kO86GAg3en8CIdDzwtXb8zTB1F2EWVdtSJq6UrBh9X5s2CCYjZIYkvQYtXLrHpSw9VN2sUuIPODf6PsbPug3fR6OKapKZOajY34gpFgF+Na+DAMjgjQBRO1ltKh7g/wIjcwQp0Rb+ANgD7xtJHWBDX83MXbAzYZNgcPUZNsQSB7dqIpbMf57YkWQvKg46hK9TyfT5sRBlVKOeUOq45vuilom9BOieSZq7HeG6DIyGqwdIbc2gEiN0Ag1GR3COQsILLpG9i6rBG9qoc3bO3a1NBTK0Bqn4qF4OwX64aMDqHM= 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:(4636009)(136003)(346002)(39860400002)(396003)(376002)(46966006)(36840700001)(47076005)(83380400001)(2616005)(426003)(44832011)(336012)(8936002)(6666004)(81166007)(1076003)(316002)(86362001)(54906003)(70586007)(82740400003)(82310400003)(70206006)(26005)(478600001)(8676002)(4326008)(356005)(6916009)(36860700001)(36756003)(16526019)(5660300002)(2906002)(186003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Aug 2021 20:29:23.7117 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9498ff18-162e-47fd-47df-08d969995bae 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: CO1NAM11FT043.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR12MB2838 X-BeenThere: amd-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion list for AMD gfx List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: amd-gfx-bounces@lists.freedesktop.org Sender: "amd-gfx" This DC patchset brings improvements in multiple areas. In summary, we highlight: * Memory leak fixes and false positive warnings removed caught by coverity * Backlight fix for Carrizo/Stoney laptops * Unblocking ABM when ODM is enabled on DCN31 and up * Fork thread to offload work of hpd_rx_irq to avoid deadlocks * Expose DSC overhead bw parameter to DM Angus Wang (1): drm/amd/display: cleanup idents after a revert Anson Jacob (3): drm/amd/display: Fix false BAD_FREE warning from Coverity drm/amd/display: Fix multiple memory leaks reported by coverity drm/amd/display: Revert "Directly retrain link from debugfs" Anthony Koo (1): drm/amd/display: [FW Promotion] Release 0.0.81 Aric Cyr (1): drm/amd/display: 3.2.151 Aurabindo Pillai (1): drm/amd/display: Add flag to detect dpms force off during HPD Harry Wentland (1): drm/amd/display: Get backlight from PWM if DMCU is not initialized Jaehyun Chung (1): drm/amd/display: Add regamma/degamma coefficients and set sRGB when TF is BT709 Josip Pavic (1): drm/amd/display: unblock abm when odm is enabled only on configs that support it Leo (Hanghong) Ma (2): drm/amd/display: Add DPCD writes at key points drm/amd/display: Fix system hang at boot Meenakshikumar Somasundaram (1): drm/amd/display: Fix for null pointer access for ddc pin and aux engine. Michael Strauss (1): drm/amd/display: Initialize lt_settings on instantiation Oliver Logush (1): drm/amd/display: Drop unused privacy_mask setters and getters Wayne Lin (2): drm/amd/display: Add option to defer works of hpd_rx_irq drm/amd/display: Fork thread to offload work of hpd_rx_irq Wenjing Liu (2): drm/amd/display: expose dsc overhead bw in dc dsc header drm/amd/display: move bpp range decision in decide dsc bw range function .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 222 ++++++++++++++---- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 51 +++- .../amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | 3 +- .../amd/display/amdgpu_dm/amdgpu_dm_hdcp.c | 16 +- drivers/gpu/drm/amd/display/dc/core/dc_link.c | 23 +- .../gpu/drm/amd/display/dc/core/dc_link_dp.c | 98 +++++--- .../drm/amd/display/dc/core/dc_link_dpcd.c | 11 +- .../drm/amd/display/dc/core/dc_link_hwss.c | 13 +- drivers/gpu/drm/amd/display/dc/dc.h | 3 +- drivers/gpu/drm/amd/display/dc/dc_dsc.h | 11 +- drivers/gpu/drm/amd/display/dc/dc_link.h | 9 +- drivers/gpu/drm/amd/display/dc/dce/dce_aux.c | 12 +- .../drm/amd/display/dc/dce/dce_panel_cntl.c | 10 - .../amd/display/dc/dce/dce_stream_encoder.c | 2 + .../display/dc/dce110/dce110_hw_sequencer.c | 46 +++- .../amd/display/dc/dcn10/dcn10_hw_sequencer.c | 4 +- .../display/dc/dcn10/dcn10_stream_encoder.c | 10 + .../display/dc/dcn10/dcn10_stream_encoder.h | 2 + .../drm/amd/display/dc/dcn20/dcn20_hwseq.c | 10 +- .../display/dc/dcn20/dcn20_stream_encoder.c | 5 + .../display/dc/dcn20/dcn20_stream_encoder.h | 1 + .../drm/amd/display/dc/dcn30/dcn30_hwseq.c | 2 +- .../gpu/drm/amd/display/dc/dcn30/dcn30_init.c | 1 + .../drm/amd/display/dc/dcn30/dcn30_resource.c | 6 +- .../amd/display/dc/dcn301/dcn301_resource.c | 6 +- .../amd/display/dc/dcn302/dcn302_resource.c | 6 +- .../drm/amd/display/dc/dcn31/dcn31_hwseq.c | 17 +- .../gpu/drm/amd/display/dc/dcn31/dcn31_init.c | 1 - .../drm/amd/display/dc/dcn31/dcn31_resource.c | 6 +- .../dc/dml/dcn20/display_mode_vba_20v2.c | 2 +- drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c | 196 ++++++++-------- drivers/gpu/drm/amd/display/dc/inc/hw/dwb.h | 6 - .../amd/display/dc/inc/hw/stream_encoder.h | 2 + .../gpu/drm/amd/display/dc/inc/link_hwss.h | 1 + .../dc/virtual/virtual_stream_encoder.c | 2 + .../gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 4 +- .../gpu/drm/amd/display/include/dal_asic_id.h | 2 +- .../gpu/drm/amd/display/include/dpcd_defs.h | 1 + .../amd/display/include/link_service_types.h | 16 ++ .../amd/display/modules/color/color_gamma.c | 60 +++-- 40 files changed, 627 insertions(+), 272 deletions(-) -- 2.25.1