Received: from BN8PR12MB3026.namprd12.prod.outlook.com (2603:10b6:300:103::12) by MWHPR12MB1453.namprd12.prod.outlook.com with HTTPS via MWHPR12CA0050.NAMPRD12.PROD.OUTLOOK.COM; Tue, 2 Apr 2019 14:28:23 +0000 Received: from DM3PR12CA0111.namprd12.prod.outlook.com (2603:10b6:0:55::31) by BN8PR12MB3026.namprd12.prod.outlook.com (2603:10b6:408:64::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1750.17; Tue, 2 Apr 2019 14:28:21 +0000 Received: from DM3NAM03FT034.eop-NAM03.prod.protection.outlook.com (2a01:111:f400:7e49::209) by DM3PR12CA0111.outlook.office365.com (2603:10b6:0:55::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1750.16 via Frontend Transport; Tue, 2 Apr 2019 14:28:21 +0000 Authentication-Results: spf=none (sender IP is 131.252.210.177) smtp.mailfrom=lists.freedesktop.org; amd.com; dkim=none (message not signed) header.d=none;amd.com; dmarc=fail action=none header.from=gmail.com;compauth=none reason=406 Received-SPF: None (protection.outlook.com: lists.freedesktop.org does not designate permitted sender hosts) Received: from gabe.freedesktop.org (131.252.210.177) by DM3NAM03FT034.mail.protection.outlook.com (10.152.82.192) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1750.16 via Frontend Transport; Tue, 2 Apr 2019 14:28:19 +0000 Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2AF2189FAC; Tue, 2 Apr 2019 14:28:18 +0000 (UTC) X-Original-To: amd-gfx@lists.freedesktop.org Delivered-To: amd-gfx@lists.freedesktop.org Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by gabe.freedesktop.org (Postfix) with ESMTPS id AFF9B89FAC for ; Tue, 2 Apr 2019 14:28:16 +0000 (UTC) Received: by mail-wm1-x344.google.com with SMTP id h18so4017327wml.1 for ; Tue, 02 Apr 2019 07:28:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=FiYXxCYOOJfRI0VMUQf5Xs1H/IhaBLL7Hc4d86UyvGw=; b=YjfaAUBvwg+hZJ4iA9RQC2hmCHBab61p9tjDB9k74jDFhI91uNgc/XPWTolLp+zSyr 6XxPa7/zr4neuptC6MabhuPNwz9MJPHDLqrajQbVo+htayVQI0YCj6XYx0K7ExtgI3b9 Big8W/j7qh2wZGJExxjKsDMN+xM621MZaeGXmC3h8LwGRYY2oeBJeLyEO5QXYcCTJkAG FxD1NhNQ3psoF3YIR9YoRyJ74KNT5QFbx0AsoivQlc/ho1kNgrGdvPfdLl2RHMgLcek3 ArdpHqOxx3nfCOKO7yJGSC6PFm7sxDxFkyxqeS1UVumdF8mUQpg6lMC/UXJgOAElrb9u roBw== X-Gm-Message-State: APjAAAWhD72AXDRL5SW+zseyNVYaf8Oj/Pn6HmJ59M+f17U1v2Gy82zs oCZ6jE5hlDXNj35650yyhon7qSPM X-Google-Smtp-Source: APXvYqyasmLkQn49Podtv1c9MuYqEJhOXgqe2dEMbDl0wQh0I+WpCNsv/iqGZIpTkT5jcbDAXNrtSA== X-Received: by 2002:a1c:a58f:: with SMTP id o137mr3702686wme.104.1554215295416; Tue, 02 Apr 2019 07:28:15 -0700 (PDT) Received: from abel.fritz.box ([2a02:908:1252:fb60:9090:7ac9:3702:c98a]) by smtp.gmail.com with ESMTPSA id j9sm19402029wrr.93.2019.04.02.07.28.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Apr 2019 07:28:14 -0700 (PDT) From: =?UTF-8?q?Christian=20K=C3=B6nig?= X-Google-Original-From: =?UTF-8?q?Christian=20K=C3=B6nig?= To: , , Subject: [PATCH] drm/amd/display: wait for fence without holding reservation lock Date: Tue, 2 Apr 2019 16:28:13 +0200 Message-ID: <20190402142813.8381-1-christian.koenig@amd.com> X-Mailer: git-send-email 2.17.1 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=FiYXxCYOOJfRI0VMUQf5Xs1H/IhaBLL7Hc4d86UyvGw=; b=AceWl9LXvU6ctHx93ZQGUOOfNCEY5oO8H1w+WqFpo2wXFB9y/4VLljHdgcVciln++C NpHWa31jZ9w8khJOZzQBBMuJhZ7lJN+dFnYpIWd4KO+9+mwhdS/SIk/4ep6pty6eBiuE PEm/C6FqYzo5xiwXrDo4v30myxBgNhMX/9rNrtm5z9Q7VWmWzekEjstxR0WNjBH6Rvst q+7P92rfKu9eQzluzISvqh8JF9dYVfocmnfdBgKqGNQOmJnOFaX44E9IEdLu+oNiNNH6 V71SgxMf2Eth+i7/6dGWvbe/cY1dNVhQPMj1ZHC/N3TgyKuhutn2AdOnZV/GH5GuXNAy 3bRg== X-BeenThere: amd-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussion list for AMD gfx List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: amd-gfx-bounces@lists.freedesktop.org Sender: amd-gfx Return-Path: amd-gfx-bounces@lists.freedesktop.org X-MS-Exchange-Organization-ExpirationStartTime: 02 Apr 2019 14:28:21.3309 (UTC) X-MS-Exchange-Organization-ExpirationStartTimeReason: OriginalSubmit X-MS-Exchange-Organization-ExpirationInterval: 2:00:00:00.0000000 X-MS-Exchange-Organization-ExpirationIntervalReason: OriginalSubmit X-MS-Exchange-Organization-Network-Message-Id: 2d143a62-ce86-4783-af6a-08d6b777751c X-EOPAttributedMessage: 0 X-EOPTenantAttributedMessage: 3dd8961f-e488-4e60-8e11-a82d994e183d:0 X-MS-Exchange-Organization-MessageDirectionality: Incoming X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:131.252.210.177;IPV:NLI;CTRY:US;EFV:NLI;SFV:SKN;SFS:;DIR:INB;SFP:;SCL:-1;SRVR:BN8PR12MB3026;H:gabe.freedesktop.org;FPR:;SPF:None;LANG:en; X-MS-Exchange-Organization-AuthSource: DM3NAM03FT034.eop-NAM03.prod.protection.outlook.com X-MS-Exchange-Organization-AuthAs: Anonymous X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2d143a62-ce86-4783-af6a-08d6b777751c X-Microsoft-Antispam: BCL:1;PCL:0;RULEID:(2390118)(7020095)(4652040)(5600139)(711020)(4605104)(1401320)(1421009)(71702078);SRVR:BN8PR12MB3026; X-MS-TrafficTypeDiagnostic: BN8PR12MB3026: X-MS-Exchange-PUrlCount: 2 X-MS-Exchange-Organization-SCL: -1 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Apr 2019 14:28:19.2212 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2d143a62-ce86-4783-af6a-08d6b777751c X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR12MB3026 X-MS-Exchange-Transport-EndToEndLatency: 00:00:03.9366088 X-MS-Exchange-Processed-By-BccFoldering: 15.20.1750.010 X-Microsoft-Antispam-Mailbox-Delivery: ucf:1;jmr:0;ex:0;auth:0;dest:I;OFR:CustomRules;ENG:(750119)(520011016); X-Microsoft-Antispam-Message-Info: =?utf-8?B?eUlyNDFPdkhZY3M2eDE2NzY2U1pmVm5HSW1nMzAxTG9KeUd3OXc4VXBGYjdz?= =?utf-8?B?UkxFSkRyVDNMN1BZb0liQ3QzS0JKVUl0SzBaQm5jWHgrSWhValF3SC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