From patchwork Wed Apr 11 15:22:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandru-Cosmin Gheorghe X-Patchwork-Id: 10335683 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 622966053B for ; Wed, 11 Apr 2018 15:23:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 554EE2897C for ; Wed, 11 Apr 2018 15:23:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 49FCF28980; Wed, 11 Apr 2018 15:23:10 +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.1 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED, T_DKIM_INVALID 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 CD2262897C for ; Wed, 11 Apr 2018 15:23:09 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AFC7B6E5FF; Wed, 11 Apr 2018 15:23:07 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20088.outbound.protection.outlook.com [40.107.2.88]) by gabe.freedesktop.org (Postfix) with ESMTPS id DEBE36E5FF for ; Wed, 11 Apr 2018 15:23:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=4b9OUOLQ55HsQqGW0YIaOZu3Uvvptwh+49RAwNksac0=; b=fpW84tV8fWtiyc+uEUNF4yu0nZJNim69aMXH9yNsW4FqlBUWLyAUiYRpvVxEXgikO5krEQVStEjbP7fjfikmWA+x7v5VHpCfIURlbiq7BzxDmx9g3i102xRB4LG0TWhIrykdZxxdmFyLUsRJVXTdnXhCPqlj/J2LzBb/Wr4As9g= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Alexandru-Cosmin.Gheorghe@arm.com; Received: from e114479-lin.cambridge.arm.com (217.140.96.140) by AM5PR0801MB1249.eurprd08.prod.outlook.com (2603:10a6:203:1e::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.675.10; Wed, 11 Apr 2018 15:23:03 +0000 From: Alexandru Gheorghe To: dri-devel@lists.freedesktop.org, liviu.dudau@arm.com, brian.starkey@arm.com, ayan.halder@arm.com, seanpaul@chromium.org Subject: [PATCH hwc v2 01/18] drm_hwcomposer: vsyncworker: Fix uninitialized enabled_ field Date: Wed, 11 Apr 2018 16:22:12 +0100 Message-Id: <1523460149-1740-2-git-send-email-alexandru-cosmin.gheorghe@arm.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1523460149-1740-1-git-send-email-alexandru-cosmin.gheorghe@arm.com> References: <1523460149-1740-1-git-send-email-alexandru-cosmin.gheorghe@arm.com> MIME-Version: 1.0 X-Originating-IP: [217.140.96.140] X-ClientProxiedBy: VI1PR0701CA0066.eurprd07.prod.outlook.com (2603:10a6:800:5f::28) To AM5PR0801MB1249.eurprd08.prod.outlook.com (2603:10a6:203:1e::8) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(2017052603328)(7153060)(7193020); SRVR:AM5PR0801MB1249; X-Microsoft-Exchange-Diagnostics: 1; AM5PR0801MB1249; 3:1pP8JvvT0GA2aPdz0LRrPQFRrOmKeRhV6IAg3S9oKoz91RVOuvlBuEh+7X+zDh+MAEi7/Z8RtMna/o/IY6dyvaIctVNNJE0OVS8Rrr4zynTwNIvyI6c/xqHQqDvicAJzPvpZZRONpAevYsS4OO8MU+vIWIggvDBtgotVLM6eApSny0q91hdhKFzLKvUfEdIkQWCMoOXg1fby0+aG5SbTyjpMcjIbBZMHLGHwk9+kNObY1aljka5ff0FmhwSNo2eK; 25:JIylZ/BDoYVUxYDAtEhq+YjUkZ7EZdkSnWSvGd1lAR0jbbwV5KswLB/eLX/8Pz6XepXitC1myB6Ax4XjzANdUVSM9B2BgAh1kgtq1cTeCxA1J4U7YYmZbys8HMVX1KLVeL/gOHgVJtVqnuUuklt5GaiLJEiMc9eB+fvB0IczzM/R206Jz/l02XO5K8lGacF0qJa2O+DaiWFAR6Vx+4mmWxfkB1ZEbiF9K8kdoZLYxCW0/LAN3/KJAd9+74zHXTZHMva7/1Nu17S/Kg/BAfPbKWKPrbM0f0qJovqt42+yerSdJGGQdzlg+9myLpP66/Esan7z3e7hOdcb2frHH0fSdQ==; 31:3Q2yZba9qTKO1NaimJo4AyjCZCobRlhm4Zl2vN2MZRvmRHIQWun778MTtQtyKHnK3PrhjuKfws8mOigCjhI2uoOsuf8mNzcXgkQvuCcJ/xUTD5k4vzgsqFnaGJ/GDbq1W5SVc7K2Qo/Y3ERZmNYw8v9fyLhTVD2Pr958LC56Rv2890YQIEdUa443/zoqIMJB22lEiPvza6bIlUXEKsN/5ywyTrA3Ni+bC5z/ifz9HAg= X-MS-TrafficTypeDiagnostic: AM5PR0801MB1249: NoDisclaimer: True X-Microsoft-Exchange-Diagnostics: 1; AM5PR0801MB1249; 20:fsZycM1tL6e7ScUgClcWhC7Aihn2YfaS/fS6LKEikNqeIJzwWyIOn8agrdALbZjsQvP8ScZxWTzpQdIB1K6mJlOhJDLAoW11pL8D7FSE/2WFY6yhqItZVoKIbhcorSOEZVRH8i3GLpKNaViL50iuGGnTe8P64qKGXcp0XLGgyjo=; 4:/FSk1CtZwcWLGG4JfPW2FHS210Oh+0gE2cEdbS7egjN81t9S24ui08OQqOuFlfK7FVj1azFbLiyaRo9iWSeqEwmWE5xLWg41Xd2neQ04yA/GaaaCcUWDqIt+BoMyEVyzwlG7uVH11ALhv7ldQHfBo0uaMSBUGP98oXJpoRpO5cveaM75SFm9cYABF9GpaI7CfHY9oJKhTJSSuaIsA90TQM9IRlKE+z8njMzLPprJpt8XLZcLisIBqMgwB0qgu+3B5k43vqQQrVZkcBw9P3vxWrNuWxHNB7YqRmfi7VHh9N2kkoxAMVG2BGpDFcr4oJhQ X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(180628864354917); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(10201501046)(93006095)(93001095)(3231221)(944501327)(52105095)(6055026)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(6072148)(201708071742011); SRVR:AM5PR0801MB1249; BCL:0; PCL:0; RULEID:; SRVR:AM5PR0801MB1249; X-Forefront-PRVS: 0639027A9E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39380400002)(346002)(396003)(376002)(366004)(39860400002)(189003)(199004)(16526019)(478600001)(305945005)(50226002)(16586007)(68736007)(7736002)(86362001)(81156014)(8676002)(316002)(81166006)(4326008)(25786009)(2906002)(50466002)(8936002)(6486002)(105586002)(48376002)(186003)(956004)(5660300001)(6666003)(72206003)(106356001)(476003)(53936002)(3846002)(76176011)(51416003)(52116002)(47776003)(7696005)(36756003)(66066001)(11346002)(446003)(386003)(97736004)(6116002)(2616005)(26005)(486006); DIR:OUT; SFP:1101; SCL:1; SRVR:AM5PR0801MB1249; H:e114479-lin.cambridge.arm.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM5PR0801MB1249; 23:ZldQ79vq2y5c0b0M8cCQSK2BGJD/7oj5vuVBm2H?= =?us-ascii?Q?9nQYmfS9qPsLZfSFTfzDn56rxGXCoCaEcOBgUg4GpBvS5yzWyqpOQzKJB2lQ?= =?us-ascii?Q?KdMyAGOSFQFrXx0AmzdQt5KeakGJB5aQ6AogftDnTgHQ0fLyLj7Qo+G4cwA2?= =?us-ascii?Q?pMroAKCqGiK8AwnYttCTYiPjG/ILRSwRYPr3tKjybO2dpBvZX0uNpVWeI0lO?= =?us-ascii?Q?QvrtRVHDoa8ruLcZHrh61yw35luco0cFC8Vr58VulG1BHPrmSgZ0Rb6QerYr?= =?us-ascii?Q?bTFQu6U6Pmb1Y1LdHlRdklAeT57sku4aHOrb0lfEDdK/5NRPk9qIxMi3XnxM?= =?us-ascii?Q?BZw1LBzJb2wRNdgBhOixQSR+10bUydyFX+M5DesIdGZExQE04zaz+omQlOnS?= =?us-ascii?Q?LtIzPjhOz3DE5t+LAuDWrZFuO1YymEiLqud+oAp5/Z6uRJDpmV/ti8y4iVHj?= =?us-ascii?Q?N1w86lJlnh55lAxJ1A/GrNJkxkhsD1isduI/fb6GHD6ZwNXwqaV5YT+s6oO2?= =?us-ascii?Q?VkNBdkYM1CrRoqoeuNxvqVYkb/ab3UnrgqKGSdw2cRL8pyF0DGEbPyK6vJBs?= =?us-ascii?Q?65n42UjFSE71dRIktx47+x2v5vB+AXjbuOSuXlq/F0fdznRpovQD2rrXSgN7?= =?us-ascii?Q?9ZZDGqXC5wX1+CGDgJQtkq8QIHleyOzGz3olTQ+x1x7dNfMbt8TvBNGClP6P?= =?us-ascii?Q?vr5+m5DE5x1spHnmOAu/1LARg1YB1WBtOV33njiptKKtmyPzniBlgOBkWJCG?= =?us-ascii?Q?83/DjHap7a20D9B3Zqn77FSQZBp57JL4pFMu7u7pwUueOK7pPsC0RRYo/PiC?= =?us-ascii?Q?qgEZz3jqYvm5NNwxqh3g88KtXSGmql6o/0sZjGOU4aHvwahmmzwQ8zpdy7X1?= =?us-ascii?Q?8CxiXx4eYNgxnzWfI2lXiB6tB999ot6VtW1j2vDrsrF/xmKUvj9rPRmslpz4?= =?us-ascii?Q?XfIgmkrNrNHMd3zcVRwJS6do5meFyfThr6vrOmf/g9Q6LfY6LjnxhoDE3UZ6?= =?us-ascii?Q?Zh3h0aXPiNkBxlBTJhUJHd5fiQ07s0zRiPrznc7Shnl+FLeW2gtEGQha+buY?= =?us-ascii?Q?rFiZnyConUMG3lOaLIObhFobe3WJcELI5FLKMAkRvFs4QZubZh+elcJ1YXmQ?= =?us-ascii?Q?0CsTJJcrtKVssXXxE+SxaQPns4/Ktz7zAXwvlC44FuQ+SPatGuWdyGw=3D?= =?us-ascii?Q?=3D?= X-Microsoft-Antispam-Message-Info: 2LM0g4e98F5FYd3DCepl9KDhF+GkFBVUbfHq5a3JfwNE67Oc+EfZ6SO6LBVgYhSVTTWMkDGw88IAO9jOfdrmZkZ3vsiTKZNdwb+K4IpQUlJAFC6WIab2eUxH/UTVD8yhwE/hVdkjv2syI4wzCJXxpHwuueBXM1+eyesknizCZDC9oAGy0PuEh22dnlRuNTM5 X-Microsoft-Exchange-Diagnostics: 1; AM5PR0801MB1249; 6:radJUbH5kWvu7ZUHfd1pa1YnYmYmHI7joSQjEfOQjJYJRJN4ZGWlwKKddgYDRl39Zpnxu/oCnLp/XAgR49eqejfSOz1areU2QQhkp/MkmVKzVFOtgwuGLInMlpLaC+q7pfo5BGgN9f+vAVA3s63a+pxRUwCp+qg8FyGUF9lTOIRGJ8umasJjIKzT+413k5JUGlLfKfVQdpzG8NmpM3bu/TH5kw2JJSZDQFhG8m5HxlIpdFADOH0q7eab1SrYfAzgEx5s+8s9AJK9TNhKshcC1Ia2eD8Zdhhklb1NJdR97gJhcpLLVG1HoaWid35JL8jVZuGvSU4xVQ2GcZ5CeHxJ6JMIuTq+d1B6AZT7v2NsjuE0cUKew9gdKt8RzI9AUgpeuESQVAVgcVR63nvyoo0XauLHUWUvS7WNLWgn/1U+pOaxz2B+mL4ZH5flya+NKmHupXHwN1ig5I7Fl27VVWAWjg==; 5:auZvKU0LPtRj4zL0G/iOSq4WutJGhcyXy8xjhzcYCx+H0l6gCt1J049SLKSeiygH+/HGN318i/tpuTsnZOo63Tx6WDwlidflj5aCRMKh//+VBfyTjd3wZBXdKXG9sbl3UUr7OP82pN79TbGC3eE2faSN8NUkZpvj0xbfVE6AJ/o=; 24:Hr1Ee47tjaUdHsv3JV1cS04WuKyBdb3P/3e+0WfEbbDW6AMpb+1IBPtlM/wK0dw3sueutynhNtR+UCEvAHCLpLlK8P6Xva/QjETXvYgOqiw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM5PR0801MB1249; 7:Xn6qz7eW6+PU/M3CEY6uQmalC+VXRnbESCYRB8+csb5HUkwSOSoMN+nbjLY9VZiWVhU1AABreljRKpOzn2TaJxS3jmR2A6ZHJ8IJXUXVMba6X01wG+17sLK2jy0YEscGXwRAbu4XWcO27MRSz2O8Tf67/hWJ0+/02N/NTicJRB45TDNljl9/7cR8/4OdZTU/HLZ/KYxVXIskiTPEM+jMC9Gr2UroNxEVZ1oMA0k8fkmOHqkRFriCg7XiMeoddHM/ X-MS-Office365-Filtering-Correlation-Id: ac025da8-a0a5-4f13-825b-08d59fc01e96 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Apr 2018 15:23:03.3596 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ac025da8-a0a5-4f13-825b-08d59fc01e96 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0801MB1249 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: nd@arm.com, Alexandru Gheorghe Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Alexandru Gheorghe Signed-off-by: Robert Foss --- vsyncworker.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/vsyncworker.cpp b/vsyncworker.cpp index 3ad16fe..3bfe4be 100644 --- a/vsyncworker.cpp +++ b/vsyncworker.cpp @@ -35,6 +35,7 @@ VSyncWorker::VSyncWorker() : Worker("vsync", HAL_PRIORITY_URGENT_DISPLAY), drm_(NULL), display_(-1), + enabled_(false), last_timestamp_(-1) { }