From patchwork Tue Sep 11 16:13:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Kazlauskas, Nicholas" X-Patchwork-Id: 10595843 Return-Path: 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 A9038112B for ; Tue, 11 Sep 2018 16:13:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9671F28EF9 for ; Tue, 11 Sep 2018 16:13:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8A30B28F5A; Tue, 11 Sep 2018 16:13:47 +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 0287928EF9 for ; Tue, 11 Sep 2018 16:13:46 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id EC15A89CC9; Tue, 11 Sep 2018 16:13:44 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from NAM04-CO1-obe.outbound.protection.outlook.com (mail-eopbgr690077.outbound.protection.outlook.com [40.107.69.77]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0003789CC9; Tue, 11 Sep 2018 16:13:43 +0000 (UTC) Received: from CY4PR12CA0044.namprd12.prod.outlook.com (2603:10b6:903:129::30) by CY1PR12MB0742.namprd12.prod.outlook.com (2a01:111:e400:59d1::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1122.16; Tue, 11 Sep 2018 16:13:41 +0000 Received: from CO1NAM03FT035.eop-NAM03.prod.protection.outlook.com (2a01:111:f400:7e48::202) by CY4PR12CA0044.outlook.office365.com (2603:10b6:903:129::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1122.16 via Frontend Transport; Tue, 11 Sep 2018 16:13:41 +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 CO1NAM03FT035.mail.protection.outlook.com (10.152.80.179) 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:13:41 +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:13:40 -0500 From: Nicholas Kazlauskas To: , Subject: [PATCH 0/9] A DRM API for adaptive sync and variable refresh rate support Date: Tue, 11 Sep 2018 12:13:24 -0400 Message-ID: <20180911161333.5334-1-nicholas.kazlauskas@amd.com> X-Mailer: git-send-email 2.17.1 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)(39860400002)(396003)(136003)(346002)(376002)(2980300002)(428003)(199004)(189003)(36756003)(478600001)(47776003)(77096007)(72206003)(81166006)(104016004)(966005)(50226002)(2906002)(1076002)(8936002)(50466002)(81156014)(186003)(106466001)(2616005)(5024004)(476003)(51416003)(126002)(7696005)(14444005)(217873002)(26005)(336012)(486006)(53936002)(8676002)(6666003)(53416004)(6306002)(86362001)(305945005)(105586002)(4326008)(44832011)(48376002)(426003)(68736007)(54906003)(110136005)(316002)(16586007)(5660300001)(356003)(97736004); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR12MB0742; H:SATLEXCHOV01.amd.com; FPR:; SPF:None; LANG:en; PTR:InfoDomainNonexistent; A:1; MX:1; X-Microsoft-Exchange-Diagnostics: 1; CO1NAM03FT035; 1:gNiQJUqBInbwTmNZ8AwDpC2yfRHvKvFABXJ0HMNWo/Zu2Rr2UHIFNMiA273rflKvn8vIV8ceZKb+UeU50ZyPXaylkG2DWP2+apfZ2a9dZ127etWZfaxipuY32tG97P0+ X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: bc0e3113-0066-4757-1fec-08d618018a5f X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(2017052603328)(7153060); SRVR:CY1PR12MB0742; X-Microsoft-Exchange-Diagnostics: 1; CY1PR12MB0742; 3:0y9WOpdAPJoQcVVOT5WO3FbfaQP42Zqkx2rJ6Ipy+lqFY5ZbiafnB71O6hSNPCx3oL4lwTXbp68UfriHvYYof1NitKN8ZRwG2dnSyS8dnXyPzBxPzD7xOPW/B5p5cN0AWfe2uG78RjS1SHZyJJnyUgm0pV2fvxyDpbGY4+aJ8QWIagZ6mbyIYlbhCi3OR9pG6h2jC1+bB7IiZOkaqbCJLGwfIihHr084GLbuhLQ+WjY96pFakvLMrHHpA7DwpCKL150SnzcUh+ZS4gTHmkiQDNMLrBHEqN4JKfkPhe7eiI66ZteFtWg6gv9B2R+6cjn8+/SebhlGz5lM6FOEhy5OuF0jb1WdmwPRg2UTZX5a2rg=; 25:gMvoUHST/1gFzEJqX61IfSPgGBqyIeRqDgK3o6Sei8IgqfwdzCI5zISQ8iMTB6LFWp4s3GcjO10nglmfLdC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iyEgfmsgwiyFMIbW X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(788757137089)(217544274631240)(5213294742642); 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:CY1PR12MB0742; BCL:0; PCL:0; RULEID:; SRVR:CY1PR12MB0742; X-Microsoft-Exchange-Diagnostics: 1; CY1PR12MB0742; 4:8ChLfvaw6geRPswMH7Q0N/hNZdA3E7kjp56FXR46pRi/b1HZkOjdq23D7bKK/shlQV58Dzo2lf2I+ey7ydWyjSM08qZn1ubo++j/TZ1Yga/Grx43SDnBm7co4LblV2LS3IPcV1vvZb2rAKIqNORy7YScgH+KYgKpcI7VGSHemMTFF+gJ3SNpGoGBDg2NrhpGheLxliFyIBKHaszGgQ8sNyfbuNY53Rh03Q3JQaCCuhKsU3t0njrYmuxxgbYp44CFQsmmD5+2Qtnohy+s4BNigWPFJ/4E2ONreKdWVyqtmFv6tyspyW2Ro/IymP+XWY6OK74OVyxjBYjLZ8MUMxN29jUwIKMy1Aal/irT2SBYLqwhRxo38JaXmLdS2FDnARj6 X-Forefront-PRVS: 0792DBEAD0 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR12MB0742; 23:zN70Mv/VUV94tBoNt/48lAlFid26jiPWZl+IF+D01?= FtdpC5Tz1MEvRusr9VfVX0s9x3jSAL+KVxs9EzFqbu5I0MD0n5AQ9V/PKN89OCybZsZYPZNmAkXQn79J2R2zkBc8WXgHtJDKdWOwWWBGTDOosHwQIgQD0AMNffPQK6H8LGI5FlihpTV8qpKMlmUdwte6hI//xlalx9i1S78c4LA8mRp4ESy43prZ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cQIBQehRpNiBhpYEIGpzPyXA+i2YJpU8djqg6Pee4XYXPSpPmxqzlm+qyMac1EGy1dgilJkDAZnInQApl3up9T2B33kaUN8pZIADCR9K08u3isCTUvQM6UkL1ctTICPEZ/YIoWQ/PNfFCGOUQfEjuda7luG77oCgpY/bx+G7ys8B+02a8tWQ1vT SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR12MB0742; 20:pbmNdErIywVAKLbk/ucTrTdbbCdAww9KU0SDetZnnj59tAztHZQCgvkLyRCZTHMZHpq3d2COn6vHFDmSKXJijWQbUguexczuT0HJPwO3fa1E8LASLDlcjzlGeoVRvD+0NvGmueN3f8EKmYNB6gfEuV/0UvUCsPsFs5g3EXFVzcBGxg9xtu3XcGoeZ1HTxXGG+Z2cSU7cW4PAP5HAlGPZ8gg1KSnQrSM3Nxwyfn9wSSf+oZjRFiMsz5Tjs3tQbImM X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Sep 2018 16:13:41.1590 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bc0e3113-0066-4757-1fec-08d618018a5f 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: CY1PR12MB0742 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: nicolai.haehnle@amd.com, michel@daenzer.net, Christian.Koenig@amd.com, manasi.d.navare@intel.com, Alexander.Deucher@amd.com, Nicholas Kazlauskas , Marek.Olsak@amd.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP === Adaptive sync and variable refresh rate === Adaptive sync is part of the DisplayPort spec and allows for graphics adapters to drive displays with varying frame timings. Variable refresh rate (VRR) is essentially the same, but defined for HDMI. === Use cases for variable refresh rate === Variable frame (flip) timings don't align well with fixed refresh rate displays. This results in stuttering, tearing and/or input lag. By adjusting the display refresh rate dynamically these issues can be reduced or eliminated. However, not all content is suitable for dynamic refresh adaptation. Content that is flipped infrequently or at random intervals tends to fair poorly. Multiple clients trying to flip under the same screen can similarly interfere with prediction. Userland needs a way to let the driver know when the content on the screen is suitable for variable refresh rate and if the user wishes to have the feature enabled. === DRM API to support variable refresh rates === This patch introduces a new API via atomic properties on the DRM connector and CRTC. The connector has two new optional properties: * bool variable_refresh_capable - set by the driver if the hardware is capable of supporting variable refresh tech * bool variable_refresh_enabled - set by the user to enable variable refresh adjustment over the connector The CRTC has one additional default property: * bool variable_refresh - a content hint to the driver specifying that the CRTC contents are suitable for variable refresh adjustment == Overview for DRM driver developers === Driver developers can attach the optional connector properties via drm_connector_attach_variable_refresh_properties on connectors that support variable refresh (typically DP or HDMI). The variable_refresh_capable property should be managed as the output on the connector changes. The property is read only from userspace. The variable_refresh_enabled property is intended to be a property controlled by userland as a global on/off switch for variable refresh technology. It should be checked before enabling variable refresh rate. === Overview for Userland developers == The variable_refresh property on the CRTC should be set to true when the CRTCs are suitable for variable refresh rate. In practice this is probably an application like a game - a single window that covers the whole CRTC surface and is the only client issuing flips. To demonstrate the suitability of the API for variable refresh and dynamic adaptation there are additional patches using this API that implement adaptive variable refresh across kernel and userland projects: - DRM (dri-devel) - amdgpu DRM kernel driver (amd-gfx) - xf86-video-amdgpu (amd-gfx) - mesa (mesa-dev) These patches enable adaptive variable refresh on X for AMD hardware provided that the user sets the variable_refresh_enabled property to true on supported connectors (ie. using xrandr --set-prop). They have been tested on upstream userland under GNOME/KDE desktop environments under single and multi-monitor setups for a number of GL applications. Most games and benchmarks should work as expected provided that the compositor correctly unredirects the application's surface. KDE seems to have the best support for this with an explicit option to disable tearing support. Full implementation details for these changes can be reviewed in their respective mailing lists. === Previous discussions === These patches are based upon feedback from patches and feedback from two previous threads on the subject which are linked below for reference: https://lists.freedesktop.org/archives/amd-gfx/2018-April/021047.html https://lists.freedesktop.org/archives/dri-devel/2017-October/155207.html Nicholas Kazlauskas Anthony Koo (1): drm/amd/display: Refactor FreeSync module Harry Wentland (3): drm/amdgpu: fill in amdgpu_dm_remove_sink_from_freesync_module drm/amdgpu/display: add freesync drm properties drm/amdgpu: add freesync ioctl Nicholas Kazlauskas (5): drm: Add variable refresh rate properties to DRM connector drm: Add variable refresh property to DRM CRTC drm/amd/display: Replace FreeSync props with DRM VRR props drm/amd/display: Drop FreeSync ioctl notification support drm/amdgpu: Drop unneeded freesync properties from amdpgu drivers/gpu/drm/amd/amdgpu/amdgpu.h | 3 + drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 16 + drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 3 +- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 240 +-- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 17 +- .../display/amdgpu_dm/amdgpu_dm_mst_types.c | 10 +- drivers/gpu/drm/amd/display/dc/core/dc.c | 60 +- .../gpu/drm/amd/display/dc/core/dc_link_dp.c | 3 + .../gpu/drm/amd/display/dc/core/dc_resource.c | 110 +- drivers/gpu/drm/amd/display/dc/dc_hw_types.h | 6 - drivers/gpu/drm/amd/display/dc/dc_stream.h | 29 +- drivers/gpu/drm/amd/display/dc/dc_types.h | 22 +- .../display/dc/dce110/dce110_hw_sequencer.c | 34 +- .../amd/display/dc/dcn10/dcn10_hw_sequencer.c | 27 +- .../drm/amd/display/include/set_mode_types.h | 12 - .../amd/display/modules/freesync/freesync.c | 1837 ++++++----------- .../amd/display/modules/inc/mod_freesync.h | 144 +- drivers/gpu/drm/drm_atomic.c | 15 + drivers/gpu/drm/drm_atomic_helper.c | 1 + drivers/gpu/drm/drm_connector.c | 35 + drivers/gpu/drm/drm_crtc.c | 2 + drivers/gpu/drm/drm_mode_config.c | 6 + include/drm/drm_connector.h | 27 + include/drm/drm_crtc.h | 13 + include/drm/drm_mode_config.h | 8 + include/uapi/drm/amdgpu_drm.h | 16 + 26 files changed, 1026 insertions(+), 1670 deletions(-)