From patchwork Wed Sep 19 15:44:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruce Wang X-Patchwork-Id: 10606037 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 EABFB1390 for ; Wed, 19 Sep 2018 15:44:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DB145286DC for ; Wed, 19 Sep 2018 15:44:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CEE072874A; Wed, 19 Sep 2018 15:44:22 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 7C2E528714 for ; Wed, 19 Sep 2018 15:44:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732492AbeISVWv (ORCPT ); Wed, 19 Sep 2018 17:22:51 -0400 Received: from mail-yb1-f181.google.com ([209.85.219.181]:34967 "EHLO mail-yb1-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732294AbeISVWv (ORCPT ); Wed, 19 Sep 2018 17:22:51 -0400 Received: by mail-yb1-f181.google.com with SMTP id o63-v6so2563659yba.2 for ; Wed, 19 Sep 2018 08:44:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=le20dmI1HIFWBfMDAFZQbShxNzHR7Bj6MIKagt6ISWk=; b=jWWLpMy7ezBM2tONKhU/A5bKEyfGvugIyNDgZFExZxoH8/yeYewDcdS9m9dHamRFQt 1HIJJWMCzHrz4LFnqW1EKqUdntQL3ygkDRJZ19bmdRP766yfEwtzBLgGJFri+LOICvVk LcoQ7UIT3iZVLTaa52pfLk9Yd1RzRBPeWGEvE= 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=le20dmI1HIFWBfMDAFZQbShxNzHR7Bj6MIKagt6ISWk=; b=clNQtSAaYi1sKvia3RIJo8dnSfLr+fJl/dbl56Y/GDqk6SXMMopznwMku6HjJ/ZWbM AD1XvL5e+rXJe5m2XxSyoQ8PvtsmgZ2Jr2cwze8y4aHY0X7yLU+MvwUSajIXYxBAxAvT SwcNON7K35+xK+VQlo8F7qk7i4v9vXF0aShbhBZWzEUObefXB+A2BdT/DVGUg7dmUSyp mWtC+/DvrTkN6pTm11A76hTcBFvxxyi3P4XQU6dEgp2070ih/bhhlgHdujxTAdpHSS/t I52rdgc6O1cFKrN3IGSdeLq9jT+nSs3pGvGjZg7r0ZmoQfSXD/kuqMbh+nA1cwDx7DcT dCQA== X-Gm-Message-State: APzg51AxXph412QjOwTDenQMNSaaR+MhjT/UUlPkKnmHmJdLGkfWIIUs l0jWukOf4FoWX8QqEnOc1Pq2Fg== X-Google-Smtp-Source: ANB0Vdav+VLIqcOv6wCyKU5aG/I0QTPK8IK8Okb7uQhVssCANXscAiSZthQ/l0rJL1lwEFYOzQT9wg== X-Received: by 2002:a25:6344:: with SMTP id x65-v6mr8541594ybb.273.1537371859970; Wed, 19 Sep 2018 08:44:19 -0700 (PDT) Received: from bzwang.cnc.corp.google.com ([2620:0:1013:11:6f9e:dcbe:41ef:a61]) by smtp.gmail.com with ESMTPSA id h10-v6sm4425921ywa.35.2018.09.19.08.44.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Sep 2018 08:44:18 -0700 (PDT) From: Bruce Wang To: freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org Cc: seanpaul@chromium.org, jsanka@codeaurora.org, robdclark@gmail.com, abhinavk@codeaurora.org, Bruce Wang Subject: [PATCH 0/5] drm/msm/dpu: Clean up dpu code Date: Wed, 19 Sep 2018 11:44:10 -0400 Message-Id: <20180919154415.131292-1-bzwang@chromium.org> X-Mailer: git-send-email 2.19.0.397.gdd90340f6a-goog MIME-Version: 1.0 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 Removes unneeded checks and unused variables. Changes some functions that do not need return values to void. Bruce Wang (5): [patch 1/5] drm/msm/dpu: Remove unneeded checks from dpu_plane [patch 2/5] drm/msm/dpu: Clean up plane atomic disable/update [patch 3/5] drm/msm/dpu: Remove impossible checks [patch 4/5] drm/msm/dpu: Change _dpu_crtc_power_enable to void [patch 5/5] drm/msm/dpu: Change _dpu_crtc_vblank_enable_no_lock to void drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 198 +++------------------- drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 100 ++--------- 2 files changed, 42 insertions(+), 256 deletions(-)