Message ID | 20180911161333.5334-10-nicholas.kazlauskas@amd.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <dri-devel-bounces@lists.freedesktop.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 568C315E2 for <patchwork-dri-devel@patchwork.kernel.org>; Tue, 11 Sep 2018 16:16:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 44E1D299B9 for <patchwork-dri-devel@patchwork.kernel.org>; Tue, 11 Sep 2018 16:16:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 39256299DA; Tue, 11 Sep 2018 16:16:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D5784299B9 for <patchwork-dri-devel@patchwork.kernel.org>; Tue, 11 Sep 2018 16:16:55 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AF28B6E3B1; Tue, 11 Sep 2018 16:16:54 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from NAM05-CO1-obe.outbound.protection.outlook.com (mail-co1nam05on0620.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe50::620]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2CC3C6E3B1; Tue, 11 Sep 2018 16:16:53 +0000 (UTC) Received: from SN1PR12CA0080.namprd12.prod.outlook.com (2603:10b6:802:21::15) by BY1PR12MB0421.namprd12.prod.outlook.com (2a01:111:e400:51b0::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1122.17; Tue, 11 Sep 2018 16:16:50 +0000 Received: from CO1NAM03FT004.eop-NAM03.prod.protection.outlook.com (2a01:111:f400:7e48::202) by SN1PR12CA0080.outlook.office365.com (2603:10b6:802:21::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1101.18 via Frontend Transport; Tue, 11 Sep 2018 16:16:49 +0000 Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) Received: from SATLEXCHOV01.amd.com (165.204.84.17) by CO1NAM03FT004.mail.protection.outlook.com (10.152.80.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.1143.11 via Frontend Transport; Tue, 11 Sep 2018 16:16:49 +0000 Received: from kazbox.amd.com (10.180.168.240) by SATLEXCHOV01.amd.com (10.181.40.71) with Microsoft SMTP Server id 14.3.389.1; Tue, 11 Sep 2018 11:16:47 -0500 From: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> To: <dri-devel@lists.freedesktop.org>, <amd-gfx@lists.freedesktop.org> Subject: [PATCH 9/9] drm/amdgpu: Drop unneeded freesync properties from amdpgu Date: Tue, 11 Sep 2018 12:13:33 -0400 Message-ID: <20180911161333.5334-10-nicholas.kazlauskas@amd.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180911161333.5334-1-nicholas.kazlauskas@amd.com> References: <20180911161333.5334-1-nicholas.kazlauskas@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:165.204.84.17; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(376002)(346002)(136003)(39860400002)(396003)(2980300002)(428003)(189003)(199004)(105586002)(126002)(81166006)(8936002)(336012)(76176011)(446003)(2616005)(11346002)(2906002)(486006)(47776003)(86362001)(72206003)(50226002)(51416003)(77096007)(316002)(478600001)(356003)(110136005)(16586007)(7696005)(68736007)(305945005)(476003)(81156014)(426003)(4326008)(54906003)(186003)(26005)(50466002)(8676002)(5660300001)(6666003)(48376002)(44832011)(104016004)(53416004)(97736004)(36756003)(106466001)(53936002)(1076002); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR12MB0421; H:SATLEXCHOV01.amd.com; FPR:; SPF:None; LANG:en; PTR:InfoDomainNonexistent; MX:1; A:1; X-Microsoft-Exchange-Diagnostics: 1; CO1NAM03FT004; 1:dMniF/mQbeFKXl9cyzoi3+eMqmqCFMx1+m0ESL3uy5lZ9JA7Rg8VfHZa6YBUgvuIa2RFRYTf8N2+M6T3vcYLv1pp4Kn6DdrI7OItqJK8jdRJtHl+YSF9uu8KzFbfNIGM X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 24fc44e1-7fa1-430e-9223-08d61801fa94 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(2017052603328)(7153060); SRVR:BY1PR12MB0421; X-Microsoft-Exchange-Diagnostics: 1; BY1PR12MB0421; 3:Nf5GfSFN9pUACty6bPy+HO/2VwD04hit8WUvsHxRbvUyTtgWjG9Hi8yYETPqFB8MGbXDq16sJTAXZwraXRh2Tmk4Z5o+zXKynLsoKZFJEkoI0XKAfCq8lGJKzl3by+QmiKYTrt7Ak3otdVf2UV5CdumAQtj/moNaZCb92fRFo203RRLUCr3wXJvdgqoU1hUeXKo0ULAXVqhu+ZFHOfMt/iV8x/X9iLRB547Yh9V8GfFlzhIEQvSepVwlvIj1Bd14Fd6iP4aatKP5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ZN0pLbLjspcQzLDLrfE+D2tevTfINPXrCxQx9O5lHoeHYEXiNeh3ub4PjUlYtPrlSIzxIpVDCYbWjCOVqP80zy/uP1pwRZQa4lPiWLA0XkQUxXAuyVkdjw8OmD4GE8yiHGgBim9mvzPQE6cLpKC13DR2kbQ7ynBO7PqZ5/ZAPURjO2xL44vWq X-Microsoft-Antispam-PRVS: <BY1PR12MB042160406708815C11A548FAEC040@BY1PR12MB0421.namprd12.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(3231311)(944501410)(52105095)(93006095)(93003095)(3002001)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123558120)(20161123562045)(20161123564045)(201708071742011)(7699050); SRVR:BY1PR12MB0421; BCL:0; PCL:0; RULEID:; SRVR:BY1PR12MB0421; X-Microsoft-Exchange-Diagnostics: 1; BY1PR12MB0421; 4:2/iUNIMqOwFuZYRh5cXNQ2dCDRnWzxoKsSCVpvfH+ocLRY6BtmWdzkhcI1V4v/B4una33axXljLW/Hw0iGMfzrvuXL58dGs/dHPGyffC+LZFXmpQHsnljcGHfZEMZ9DI4PZ0GkgGt8LZwKrwUVcu4ZWDBuqCMvX3P9Md8vRkj5OXDP6IIE8UlH623JnlNt/MrPHeM43KXioJfO5Ss2PwuBLbrLdqKXLxWyBwjMRc5Y7ySwHtbOkxA/H9/stuIfeu3+CACJZ6r36Quz+r48rs90JuOwbnPmdvy1o6ssEFaRrzVONHMCQKdJFiZ79tTQYA X-Forefront-PRVS: 0792DBEAD0 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR12MB0421; 23:jl/57NsBg/3qUlPfi0yiwI9EECM2TUtfFRgBzf5w4?= +5z1Q73yAKMgQDbUEo9mu63ehGB5sR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O6fHJ8hw+DPGbs880B/hJW4fgBpiZ1jgpS/ONDvyvg/DPvUnOOx6yH/6eN5XWzOq5Nszpjxpvre65FAGw=; 7:HFeXK8uj/RvI9SpRbxtBZn9W8aKcs5IuwED4ec3z5K8hSmPd7WH1lj3rLuUx4cUXYv6n7zVHIfZV49FYJ453xLxDNm6ZgkjtqjsUAEvfQkV6diVFN4gYC59WVTHYX7b8IYLktZ3wX9i3CqMsUdUPP/dFUnVFaNrsGocaZLSX2j7do3BzIlBW+xtfx5rzBI/PMzWiJ67UodDSvqvwa7cRbwKsVpvlY45EPBJuOOkRrxQSkLGhGlndeTw95f0GM7rL SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY1PR12MB0421; 20:bMPaeoCHcBUN1m6aow7R3u8ZghwSMqbtHqQS3+lLdBM/vFlOGj0Ka9lVl5ctFlpVNn10Lrd/98qjiP8MXmkuFsQwLoLw9OlGkRuwiSHu5Mt8nU/d3C14wwdW/R0Pnpr9uCSe5aMx26xI82DTp4yXGr32p4KveN0eDD/2fk5w1S4W5ZLTMF+Fklm0OyYcPOFXmhP9iTTsBb3fj87Fn2TMoUZHdbflFeJ0G78sn/OqACKk0esMhe8mbD5tuwmASPVw X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Sep 2018 16:16:49.4297 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 24fc44e1-7fa1-430e-9223-08d61801fa94 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=[SATLEXCHOV01.amd.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR12MB0421 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Cc: nicolai.haehnle@amd.com, michel@daenzer.net, Christian.Koenig@amd.com, manasi.d.navare@intel.com, Alexander.Deucher@amd.com, Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>, Marek.Olsak@amd.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
A DRM API for adaptive sync and variable refresh rate support
|
expand
|
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c index 7d6a36bca9dd..4f2928e91f9c 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c @@ -626,18 +626,6 @@ int amdgpu_display_modeset_create_props(struct amdgpu_device *adev) "dither", amdgpu_dither_enum_list, sz); - if (amdgpu_device_has_dc_support(adev)) { - adev->mode_info.freesync_property = - drm_property_create_bool(adev->ddev, 0, "freesync"); - if (!adev->mode_info.freesync_property) - return -ENOMEM; - adev->mode_info.freesync_capable_property = - drm_property_create_bool(adev->ddev, - 0, - "freesync_capable"); - if (!adev->mode_info.freesync_capable_property) - return -ENOMEM; - } return 0; } diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h index f91a9bdcd63c..b9e9e8b02fb7 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h @@ -339,10 +339,6 @@ struct amdgpu_mode_info { struct drm_property *audio_property; /* FMT dithering */ struct drm_property *dither_property; - /* it is used to allow enablement of freesync mode */ - struct drm_property *freesync_property; - /* it is used to know about display capability of freesync mode */ - struct drm_property *freesync_capable_property; /* hardcoded DFP edid from BIOS */ struct edid *bios_hardcoded_edid; int bios_hardcoded_edid_size;
With the introduction of new properties in DRM these amdgpu driver specific ones are no longer necessary. Change-Id: Idc88f2e3e036aacc8fe726b15db03d900e509e7c Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> --- drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 12 ------------ drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | 4 ---- 2 files changed, 16 deletions(-)