From patchwork Mon Jul 9 17:31:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Paul X-Patchwork-Id: 10515371 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 0C3936032A for ; Mon, 9 Jul 2018 17:34:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E86EF28DCC for ; Mon, 9 Jul 2018 17:34:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DCC2C28DD3; Mon, 9 Jul 2018 17:34: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=-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 8BCD428DCC for ; Mon, 9 Jul 2018 17:34:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933753AbeGIRer (ORCPT ); Mon, 9 Jul 2018 13:34:47 -0400 Received: from mail-yw0-f193.google.com ([209.85.161.193]:40162 "EHLO mail-yw0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933537AbeGIReq (ORCPT ); Mon, 9 Jul 2018 13:34:46 -0400 Received: by mail-yw0-f193.google.com with SMTP id p129-v6so6824130ywg.7 for ; Mon, 09 Jul 2018 10:34:46 -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=ixaL0VvLJj9T/IWFkxFIw6EbelWKIyAEAjNAaW4/74c=; b=XiPN31psC39ok5vqSME8Xb0uipyNNMz+5utUyY0ZDmzn0FILTlaKib6RmceoIj18zW mi/dqp0q2OeWL3xBQLipu0V0NrZsRXM9WRI6luM/rDy/D16er3uImC4ytjx/mS3NHafD KfOgHMVbimDSjopEzqaxAzc3NNNHleR052Hu0= 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=ixaL0VvLJj9T/IWFkxFIw6EbelWKIyAEAjNAaW4/74c=; b=FMUZLzuwcHPAUeluSHQh7ZuZMOMwSORdUOPJ3xXw1WnZhjfCYGFpv5Yy0yuWTDW73F QPVhtyp/jOTDHMeadLmmOyIeAAJspIUqcc0MiTU4Kq+BabOAa7fHlM2GxL6Q9Y2g5zfJ ViLsLbRKYoOyAyvlHm0JmtxKGSJrHSZUlZjlqF4R5zaaUplG9X+FCZrN1kqUB1m9pNC/ fJ4B+kFmAfOzU7F31+cOCyohg4lrM5rRZCOgMYdldiz7asdYMF6nmN9loGOfWwuj8eOu xflusXhfprop8Eyd3ig9Qv2GLSkCo/ckVPTdaHjGZYbS656qSGM7GbEGCMsC8UiEiNw/ mjkA== X-Gm-Message-State: APt69E0mSkbaL4tadh8xU5x2zHTYICVTAW6LgWRecSj22ITCTzQX1ow8 UfHNmKEgbgP9Bpv5hB1W081r+w== X-Google-Smtp-Source: AAOMgpc9kbqNtbdq8WbxQoWRb89ngi71DbABjAMhvpXyR9F2oNWUunL+aYnxaJC6xtrFccfWuoBMXg== X-Received: by 2002:a81:c6:: with SMTP id 189-v6mr10262227ywa.169.1531157685749; Mon, 09 Jul 2018 10:34:45 -0700 (PDT) Received: from rosewood.cam.corp.google.com ([2620:0:1013:11:ad55:b1db:adfe:3b9f]) by smtp.gmail.com with ESMTPSA id s206-v6sm5885495ywc.55.2018.07.09.10.34.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Jul 2018 10:34:45 -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 12/21] drm/msm: Clean up dangling atomic_wq Date: Mon, 9 Jul 2018 13:31:48 -0400 Message-Id: <20180709173200.238457-13-seanpaul@chromium.org> X-Mailer: git-send-email 2.18.0.203.gfac676dfb9-goog In-Reply-To: <20180709173200.238457-1-seanpaul@chromium.org> References: <20180709173200.238457-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 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];