From patchwork Wed Jan 30 16:05:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shayenne Moura X-Patchwork-Id: 10788903 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 192B7184E for ; Wed, 30 Jan 2019 16:05:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 06A6D2582C for ; Wed, 30 Jan 2019 16:05:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EECC12FAF9; Wed, 30 Jan 2019 16:05:34 +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=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,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 A7C392582C for ; Wed, 30 Jan 2019 16:05:34 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 753F989AB7; Wed, 30 Jan 2019 16:05:32 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qk1-x744.google.com (mail-qk1-x744.google.com [IPv6:2607:f8b0:4864:20::744]) by gabe.freedesktop.org (Postfix) with ESMTPS id BBAEF89AB7 for ; Wed, 30 Jan 2019 16:05:31 +0000 (UTC) Received: by mail-qk1-x744.google.com with SMTP id q8so48675qke.1 for ; Wed, 30 Jan 2019 08:05:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=xG2q6zSVLb/CKjj0ZyUrp1UNP3hIVTU/EMKwAvw/5O8=; b=YkxcyKBPs7lFL45bOIoEurl1Bipev5l6OCtcJdRb17CrTnR4UUFao6yUjvIeqXMKWj 7m9iSnIrJExxIy5y/Sjiz1O+oCRCgUkj+hO7RviTLPY15B3qxF/phz9MtSuQ4NuOt/kf bTqOjs47TT2MQUf4tzgeox9BHx9ecfq11syKsJCRwZvKboNJdm5CXS7vcXdSpouBip32 J5/Y3qa/CcSRfF/tzMybg+QlwhqHRHeJeKr8+qIJZLDcDSIUyWmRMmuzqUlhzlj9NuzC EauHgqndzAIrWHP37XLOknHDDV+6aa5GWemriSQIr6Zj1UMyDohUv5abCLZUcZJ2s//G UAsw== X-Gm-Message-State: AJcUukeveOMoYF7Eznq2woCPEqS9rVTROF+FJbdRwek3khWIfzfMyslI pN3PkVUvxowEMlY+my9e2IA= X-Google-Smtp-Source: ALg8bN68zzAmj1aFILMap1jsCPDwOFFW8NAHTploxW5Jbznb48amDLzWFF6awuIJ6K00MlyAEHfwuA== X-Received: by 2002:a37:a0c3:: with SMTP id j186mr28407928qke.18.1548864330656; Wed, 30 Jan 2019 08:05:30 -0800 (PST) Received: from smtp.gmail.com ([143.107.45.1]) by smtp.gmail.com with ESMTPSA id o129sm1552498qke.5.2019.01.30.08.05.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 30 Jan 2019 08:05:30 -0800 (PST) Date: Wed, 30 Jan 2019 14:05:26 -0200 From: Shayenne Moura To: Rodrigo Siqueira , Haneen Mohammed , Daniel Vetter , David Airlie Subject: [PATCH 0/2] drm/vkms: Bugfix for igt-tests Message-ID: MIME-Version: 1.0 Content-Disposition: inline User-Agent: NeoMutt/20171215 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: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP This patchset contains patches to fix the extra frame bug on kms_flip igt-test. First patch solves the extra vblank frame that breaks many tests on kms_flip and second patch solves the race condition caused by the solution added in the first one. Shayenne Moura (2): drm/vkms: Bugfix extra vblank frame drm/vkms: Bugfix racing hrtimer vblank handle drivers/gpu/drm/vkms/vkms_crtc.c | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) Reviewed-by: Rodrigo Siqueira