From patchwork Tue Feb 12 16:43:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sean Paul X-Patchwork-Id: 10808433 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 3722C1390 for ; Tue, 12 Feb 2019 17:53:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 26C222C2BC for ; Tue, 12 Feb 2019 17:53:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 18FFF2C48A; Tue, 12 Feb 2019 17:53:32 +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,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 AC4962C2BC for ; Tue, 12 Feb 2019 17:53:31 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2ADDF6E6C9; Tue, 12 Feb 2019 17:52:01 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qt1-x844.google.com (mail-qt1-x844.google.com [IPv6:2607:f8b0:4864:20::844]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6E8CA6E0CE for ; Tue, 12 Feb 2019 16:44:08 +0000 (UTC) Received: by mail-qt1-x844.google.com with SMTP id p48so3718657qtk.2 for ; Tue, 12 Feb 2019 08:44:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=lZEGJZ+PKzvY6fbeLbtR36Cuqry1CHahUAdaimltnno=; b=uQ/QR4NKCNxShagOpz6iZUzIZhsV4rSh1jWieT0wwgiU92hUSpCerezn5juimknn2q MW53iNjE1zyiY7WRJT77Z1VKRttWPC7EtNfnvNN7CzMqVFkkYu78Djwr9ccNR9yc0cjS 4QXcoVPFoLYeRSHa7wqchreVg9Xw/3fVtY3UpAxa7F4mgrWBeSrM0wWzpKCX6JQMoYuV kTbIsh+Ejw5q47ImIwAC4DjBQnCWe37uelfeF9gFC7fW1TUE4uNOY/mNtfK1wOUQDWtE Quoixkj5QJKtAcWecn8riNmktavKMW+ZEGyxqIuz1nOLHwGIJdkJ/wO3jpXtHT8SFsJ2 8Cag== X-Gm-Message-State: AHQUAuZ4OdZfp4CcG7O+4xFk5lQw0UeVKvNoUYHimgMYa54QIsTvBxP6 3zWbSLVb4ip1sBFacn5990PB00RK94Q= X-Google-Smtp-Source: AHgI3IZ8mbPTNkQ37J0BMnfOgXY/IX9cEyonQBtFlN2nj3CLwLhzbIZfKZsbA2ZUPJqwrQaHotrO5Q== X-Received: by 2002:aed:20ca:: with SMTP id 68mr3565132qtb.296.1549989847279; Tue, 12 Feb 2019 08:44:07 -0800 (PST) Received: from rosewood.cam.corp.google.com ([2620:0:1013:11:89c6:2139:5435:371d]) by smtp.gmail.com with ESMTPSA id 10sm9084955qtx.40.2019.02.12.08.44.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Feb 2019 08:44:06 -0800 (PST) From: Sean Paul To: dri-devel@lists.freedesktop.org Subject: [PATCH] drm: Remove unused argument from __drm_atomic_helper_disable_all() Date: Tue, 12 Feb 2019 11:43:58 -0500 Message-Id: <20190212164405.177259-1-sean@poorly.run> X-Mailer: git-send-email 2.20.1.791.gb4d0f1c61a-goog MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=poorly.run; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=lZEGJZ+PKzvY6fbeLbtR36Cuqry1CHahUAdaimltnno=; b=JG4nBsi5MxkK/ABU3l+r+bQT7rd/o7pslRnzNnC0lW5etUj+L5/gib9kf9+nbUljSA uskoQY5Xbm1BX2bIYmA0G1nnvsWmNC9E9rc0nU2zHbENxIijvgjxs59ttwnZOnPlAhNi 2DMxf8F7tqzLyqe6H+WHmQ7wBCso4joyTwq3C34R/oOs1KBHzyfJj0olAMLO93vAF+9k gF6VDudYafxGogHqGXVL18Xatb1H7P7lhRT3eXIuDUPg3g4/E1KwAHQZscG0apT/ln2t umYecZ7+vgJcVTym5PopSS8BokyXhYo7qKandhkyr5t8DNdWto37gYPZKN/RB6WqQ2Yk Oh4A== 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: Sinclair Yeh , Maxime Ripard , Sean Paul , David Airlie , Sean Paul Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Sean Paul Its use was removed in an earlier commit, but it is still hanging around. Fixes: e00fb8564ee9 ("drm: Stop updating plane->crtc/fb/old_fb on atomic drivers") Cc: Ville Syrjälä Cc: Maarten Lankhorst Cc: Harry Wentland Cc: Sinclair Yeh Cc: Maxime Ripard Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Sean Paul --- drivers/gpu/drm/drm_atomic_helper.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/drm_atomic_helper.c b/drivers/gpu/drm/drm_atomic_helper.c index c53ecbd9abddd..460509ef180a6 100644 --- a/drivers/gpu/drm/drm_atomic_helper.c +++ b/drivers/gpu/drm/drm_atomic_helper.c @@ -3031,8 +3031,7 @@ int __drm_atomic_helper_set_config(struct drm_mode_set *set, } static int __drm_atomic_helper_disable_all(struct drm_device *dev, - struct drm_modeset_acquire_ctx *ctx, - bool clean_old_fbs) + struct drm_modeset_acquire_ctx *ctx) { struct drm_atomic_state *state; struct drm_connector_state *conn_state; @@ -3117,7 +3116,7 @@ static int __drm_atomic_helper_disable_all(struct drm_device *dev, int drm_atomic_helper_disable_all(struct drm_device *dev, struct drm_modeset_acquire_ctx *ctx) { - return __drm_atomic_helper_disable_all(dev, ctx, false); + return __drm_atomic_helper_disable_all(dev, ctx); } EXPORT_SYMBOL(drm_atomic_helper_disable_all); @@ -3139,7 +3138,7 @@ void drm_atomic_helper_shutdown(struct drm_device *dev) DRM_MODESET_LOCK_ALL_BEGIN(dev, ctx, 0, ret); - ret = __drm_atomic_helper_disable_all(dev, &ctx, true); + ret = __drm_atomic_helper_disable_all(dev, &ctx); if (ret) DRM_ERROR("Disabling all crtc's during unload failed with %i\n", ret);