From patchwork Thu Jan 7 20:53:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rodrigo Siqueira Jordao X-Patchwork-Id: 12004889 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=-11.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MSGID_FROM_MTA_HEADER,SPF_HELO_NONE,SPF_NONE,URIBL_BLOCKED,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 8001AC433E6 for ; Thu, 7 Jan 2021 20:53:44 +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 42E0A2311E for ; Thu, 7 Jan 2021 20:53:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 42E0A2311E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=amd.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E03C56E51C; Thu, 7 Jan 2021 20:53:40 +0000 (UTC) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2041.outbound.protection.outlook.com [40.107.94.41]) by gabe.freedesktop.org (Postfix) with ESMTPS id C61406E513; Thu, 7 Jan 2021 20:53:39 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fEMLzeyvYugrzzz6Gjor5q2Ed+JGqiB1wYOJamt1j66h+W3+GTxSCtAdBu1re5WHxljqfRZaAzW0GvULt4swz5eWh5qvaLwgBEK4nAHU7tG3q/GNQRO4sZo767z8LmjtDDMGJ5dSS01SzaXjEqrBlPgzLRQJXTdHyRRUEa9SgsB5kEiPpAkjb2c0p/XVAjBHx9DeTFGj64/3sCeZoMuZPmHgXPm8BNgUSD/xMlRsQiKoAZHpXLy21wGcz88xAsBbsF2wakDvgnJzbJMsDtfAPxQ/b/OVkyqY460X1ZqWHtqawH5v7eq8SHfp6+mazrLjgXjt4ye6fTAxEd0gl/Yvmg== 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=uvmcB8uDveyFne9AHAwJJXk+TQWtKph3eezQRBX5JFk=; b=iN97+RI7YfsVhf9x5chzPVxDlQ+x2U6OgnphAXVdtS312hppqU6DI0xrMfkhkDllAj7NBomzINqxdCpCp0ODfeqlu/J1fgrskzzBJpCOUeeLiLqPHWySM94enqp30LEvB9m2KgsJJQxU303dmsX+JSDuMO3pYhMkPmbiMUR44ShCIl5rISnwL31Q2GQFx5DTLlR7x3sSMYG57MBlrNGUNGtoyOKI7aqGNpE+R/PgHzPzxLR8SdAXdYTAvEOmTWcSj56siXJK4eMTzzNXb4XF286U5HXXvCuVmNlvxyLhsbfEAQ2yftUgXUBeXzSwomMtdR+ByJywT1GderHNpFAqFg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector2-amdcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uvmcB8uDveyFne9AHAwJJXk+TQWtKph3eezQRBX5JFk=; b=zqwcUTWzS7VDTPabizOY/8JUlKTyUFeSZ5YzAcOVlk3OancSrGnXiu31x6Jn62m2XBVtjpvWdBnbCff344xaSzRYGz3F1tQ23Mn3l822LmGFb8KFCZxYs5eNyqrr9TmgeIAZBrYBDc2zZDO/MiRZwMhDFDPS1VnNo4deRl90OUs= Authentication-Results: lists.freedesktop.org; dkim=none (message not signed) header.d=none; lists.freedesktop.org; dmarc=none action=none header.from=amd.com; Received: from DM5PR12MB1753.namprd12.prod.outlook.com (2603:10b6:3:10d::16) by DM6PR12MB3595.namprd12.prod.outlook.com (2603:10b6:5:118::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3742.6; Thu, 7 Jan 2021 20:53:38 +0000 Received: from DM5PR12MB1753.namprd12.prod.outlook.com ([fe80::1cf5:9c9e:7374:4540]) by DM5PR12MB1753.namprd12.prod.outlook.com ([fe80::1cf5:9c9e:7374:4540%12]) with mapi id 15.20.3742.006; Thu, 7 Jan 2021 20:53:38 +0000 From: Rodrigo Siqueira To: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH 0/3] Revert "drm/amd/display: Expose new CRC window property" and changes associated with this commit Date: Thu, 7 Jan 2021 15:53:18 -0500 Message-Id: <20210107205321.166698-1-Rodrigo.Siqueira@amd.com> X-Mailer: git-send-email 2.25.1 X-Originating-IP: [2607:fea8:56e0:6d60:2ddc:b09e:3e2e:10b3] X-ClientProxiedBy: BN9PR03CA0064.namprd03.prod.outlook.com (2603:10b6:408:fc::9) To DM5PR12MB1753.namprd12.prod.outlook.com (2603:10b6:3:10d::16) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from atma2.hitronhub.home (2607:fea8:56e0:6d60:2ddc:b09e:3e2e:10b3) by BN9PR03CA0064.namprd03.prod.outlook.com (2603:10b6:408:fc::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3742.6 via Frontend Transport; Thu, 7 Jan 2021 20:53:37 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: d2cf8031-5167-4c7e-50d2-08d8b34e4eeb X-MS-TrafficTypeDiagnostic: DM6PR12MB3595: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:279; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yfVWAZ94sZkIRw1Aqf4RP4Eb7fPA7MNp9rKkk6wJ7WmfQlZ81+XqlxlabuGgf6kYkTM91ibco3FSMaMJltmgIFFzjPbsFF9k/0aqzbFSUf7poN0vDjge5WQ7vJMNyFySSkkt9/eycNifOslIj0vloyvAdMyYpCozjNksOO6vZyVybothaF36BLWvkTvMANKrCOsYh4KKGQe/1PfLrBTnXzbXv6Z7oR/rbh6jYOLYUGv/aC3csF1AcRZ5tBQCUU33a77BnWbgkgfEGwvVEbx/FUZLBCOS7BiC9qv9q/AeJp/3DgvIgr/jfxAYj8vFWtrJPDd5/gadQmNQu0Ry7Y1rgY3C2K0ztTRNb9YhMmqACyrbmACHwRjrZ2qwM/4wp+M8iCeGGbZoEEIDddQzUMLMXi1O1Oq43sjvU7l8J+ZLvvCvXEnHa8pwsyJeeL2yiR78MQLOEeU1tLIA/4c/R5kFlw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM5PR12MB1753.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(346002)(39860400002)(136003)(396003)(366004)(2906002)(86362001)(6512007)(6666004)(478600001)(4326008)(8676002)(54906003)(5660300002)(66946007)(2616005)(66556008)(66476007)(1076003)(83380400001)(186003)(6486002)(16526019)(52116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RRVy9fqctftbue0m42W6Du9W4NfA25h1WBSC/IoT4pmo0fKoUFovUveLgO8Ul+X8G5v6VbsReilwfyH4qmT X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-AuthSource: DM5PR12MB1753.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jan 2021 20:53:38.4511 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-Network-Message-Id: d2cf8031-5167-4c7e-50d2-08d8b34e4eeb X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: mks76EgOA0s5bxN5SKeayRNL5jHF7bCMdi/qt41l4D583z6FzBgDGaCTJbRS9QHd7aXfA5HcJ3qRwtyLzhC0OA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3595 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Roman Li , Wayne Lin , Alexander Deucher , Bindu R Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi, A couple of weeks ago, Daniel highlighted [1] some issue related to a patch entitle "drm/amd/display: Expose new CRC window property". After discussion, we realize that we can revert that patch because we will need to create a debugfs or full UAPI for CRC soon, which will make this code obsolete. We got two other patches related to this same code; for this reason, this patchset reverts all changes associated with that specific commit. Cc: Wayne Lin Cc: Alexander Deucher Cc: Harry Wentland Cc: Roman Li Cc: Bindu R Cc: Daniel Vetter 1. https://www.spinics.net/lists/dri-devel/msg283767.html Thanks Rodrigo Siqueira (3): Revert "drm/amd/display: Fix unused variable warning" Revert "drm/amdgpu/disply: fix documentation warnings in display manager" Revert "drm/amd/display: Expose new CRC window property" .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 142 ++---------------- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 38 ----- .../drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c | 56 +------ .../drm/amd/display/amdgpu_dm/amdgpu_dm_crc.h | 5 +- drivers/gpu/drm/amd/display/dc/core/dc_link.c | 2 + 5 files changed, 14 insertions(+), 229 deletions(-) Acked-by: Alex Deucher Acked-by: Daniel Vetter