From patchwork Fri Jul 20 20:43:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Paul X-Patchwork-Id: 10538327 X-Patchwork-Delegate: agross@codeaurora.org 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 1B557604D3 for ; Fri, 20 Jul 2018 20:45:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0910328E92 for ; Fri, 20 Jul 2018 20:45:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EF81528ECC; Fri, 20 Jul 2018 20:45:05 +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=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9514428E92 for ; Fri, 20 Jul 2018 20:45:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728297AbeGTVfA (ORCPT ); Fri, 20 Jul 2018 17:35:00 -0400 Received: from mail-yb0-f196.google.com ([209.85.213.196]:45802 "EHLO mail-yb0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728157AbeGTVfA (ORCPT ); Fri, 20 Jul 2018 17:35:00 -0400 Received: by mail-yb0-f196.google.com with SMTP id h127-v6so5113999ybg.12 for ; Fri, 20 Jul 2018 13:45:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references; bh=1S3DXVf4iXizvMTJ5+VocUvECwKbWhx5xRGTUSzSSBI=; b=j2wQ25IwFx66rJWDUKszsIFgCMwBRX9+m8Yx1OXbLrMPEQiQlmxV4JN38JXEafUKaO NmxzpU6SFmZ8dnviY9ioz5zTtkRSZ0CrDo2LI4rqVbLrYKS/MsTdBA4ovzQE4KZpPEjt YtlU8UCaLpKyaqgcIDJkVc7/1gaD0iGbwPeL8= 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:in-reply-to :references; bh=1S3DXVf4iXizvMTJ5+VocUvECwKbWhx5xRGTUSzSSBI=; b=RG+EV9H32fKZlNX+4iHRIYIYgxUjoBJfz4IUN9Laa00tuqjOGL7P2hPg1DL7MKNN9j bxpoK0XXdVKQfmfyTiXuwGG0hTMje1N6p/NX1C6sdLxlhp38WDAyc2RZBO1qB/M0tuBI jWgoW8X6HfddB2oMaGs54ldGRyr5O+8FV/oc1ivSCPMfx1+nuUZbOL+DFRdypFhtuue0 fQGPp48S5V8oBBiFYU1pW5kkBrHYuwmhUGYdReUoD8dtKJnSUswI6NnfVH2ttLFKz8k5 1hPMpr/TqNIfEcUoeOCF/iDkFduEacQ8sOgEZBvwp649q3uatT4aS4r0F64Ep+qEB9Ig 5jNQ== X-Gm-Message-State: AOUpUlFEJRRXZSvMDt3AgvtpLuX/uMwUq8puj45VUgSKYmUe+savXFqB MzDgv5z2mzJE1B07xGwp8RPigA== X-Google-Smtp-Source: AAOMgpd2F8MC9TErJ05DGfpl2f40/2U82BWP0Q0TzwI/gLNxyvDyMSFxFmGz4AN3eALDXbtaUbNamg== X-Received: by 2002:a25:b347:: with SMTP id k7-v6mr779402ybg.208.1532119503987; Fri, 20 Jul 2018 13:45:03 -0700 (PDT) Received: from rosewood.cam.corp.google.com ([2620:0:1013:11:ad55:b1db:adfe:3b9f]) by smtp.gmail.com with ESMTPSA id a2-v6sm2453831ywm.7.2018.07.20.13.45.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Jul 2018 13:45:03 -0700 (PDT) From: Sean Paul To: abhinavk@codeaurora.org, architt@codeaurora.org, chandanu@codeaurora.org, jsanka@codeaurora.org, jcrouse@codeaurora.org, ryadav@codeaurora.org, seanpaul@chromium.org, skolluku@codeaurora.org, dri-devel@lists.freedesktop.org, robdclark@gmail.com, airlied@linux.ie, freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, nganji@codeaurora.org, hoegsberg@chromium.org, dovizu@chromium.org, robh+dt@kernel.org Subject: [PATCH v3 12/19] drm/msm: Clean up dangling atomic_wq Date: Fri, 20 Jul 2018 16:43:03 -0400 Message-Id: <20180720204315.19054-13-seanpaul@chromium.org> X-Mailer: git-send-email 2.18.0.233.g985f88cf7e-goog In-Reply-To: <20180720204315.19054-1-seanpaul@chromium.org> References: <20180720204315.19054-1-seanpaul@chromium.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP I missed this during the atomic conversion Changes in v3: - None Signed-off-by: Sean Paul --- drivers/gpu/drm/msm/msm_drv.c | 4 ---- drivers/gpu/drm/msm/msm_drv.h | 1 - 2 files changed, 5 deletions(-) diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/msm/msm_drv.c index 9c760cee5156..b73acdd52931 100644 --- a/drivers/gpu/drm/msm/msm_drv.c +++ b/drivers/gpu/drm/msm/msm_drv.c @@ -244,9 +244,6 @@ static int msm_drm_uninit(struct device *dev) flush_workqueue(priv->wq); destroy_workqueue(priv->wq); - flush_workqueue(priv->atomic_wq); - destroy_workqueue(priv->atomic_wq); - if (kms && kms->funcs) kms->funcs->destroy(kms); @@ -389,7 +386,6 @@ static int msm_drm_init(struct device *dev, struct drm_driver *drv) mdss = priv->mdss; priv->wq = alloc_ordered_workqueue("msm", 0); - priv->atomic_wq = alloc_ordered_workqueue("msm:atomic", 0); INIT_LIST_HEAD(&priv->inactive_list); INIT_LIST_HEAD(&priv->vblank_ctrl.event_list); diff --git a/drivers/gpu/drm/msm/msm_drv.h b/drivers/gpu/drm/msm/msm_drv.h index 17cefca1d566..fa0376b0f42b 100644 --- a/drivers/gpu/drm/msm/msm_drv.h +++ b/drivers/gpu/drm/msm/msm_drv.h @@ -115,7 +115,6 @@ struct msm_drm_private { struct list_head inactive_list; struct workqueue_struct *wq; - struct workqueue_struct *atomic_wq; unsigned int num_planes; struct drm_plane *planes[16];