From patchwork Thu Sep 20 16:49:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruce Wang X-Patchwork-Id: 10608205 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 1694215E8 for ; Thu, 20 Sep 2018 16:49:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 04F0D2E179 for ; Thu, 20 Sep 2018 16:49:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EC3DD2E1A1; Thu, 20 Sep 2018 16:49:28 +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 9BD792E179 for ; Thu, 20 Sep 2018 16:49:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727786AbeITWdt (ORCPT ); Thu, 20 Sep 2018 18:33:49 -0400 Received: from mail-yw1-f67.google.com ([209.85.161.67]:40008 "EHLO mail-yw1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727476AbeITWdt (ORCPT ); Thu, 20 Sep 2018 18:33:49 -0400 Received: by mail-yw1-f67.google.com with SMTP id z143-v6so4023824ywa.7 for ; Thu, 20 Sep 2018 09:49:27 -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=47D+G1xjV6/bIZZovuwAw0YWmgzj3IjzU9MD35Ivn1s=; b=np8pK4JtaWQfcXRz4gMXe424B98A+QB1yzS4o1Nu9k5Auu1nb83fB5KLBn5FsripBD 8x2PbnFdESmjERAE9ooXyoSyPV+ijOSf1qLmwhT406kVb+V7beSrAydg9PcfK5whjEoY fv6CpQlJpZHr3prWSZLLko5ZjtrhB0SL6cOSE= 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=47D+G1xjV6/bIZZovuwAw0YWmgzj3IjzU9MD35Ivn1s=; b=lOiHOkozX8dXiyW1A2CQX4i1NIjni//oJGbdumZTG20qf6Voy5ALLYkUBmt0kSgoWZ VMKYX0gZ0+4gOzUOOXqUNeClh3vST9YC54mu6jy37g9W7PyW8LCgts2seufE+HoKm11G KQ6yo52TB0Bq/kHyAfqStwU1+QmUS29kltyzE7DvvEowwdwX5x9w6LWwpY9tjf/j1Sd6 vuTmG94b00C2w3EZmIE+4cmReu50lB/boeDofU/RPhrYwDokxVk9+2X5oIYGdx6g7x5i +4oIbtb/hFRZzC2GErpWFjD434hFd09YTlDwNospcOy1Swsd45ZmCSsY2J8wgQQYZnlW 1NJg== X-Gm-Message-State: APzg51Akif/bLv7RPKsWZ7hnPZFWaNPpL6AhDZMzP6D9YifQqOyXaEao nIwMXWCMvs5so8e58ZS1bv6UsQ== X-Google-Smtp-Source: ANB0VdY3/EHFz5zgfAfrSTtH7OKwlZchum8vS6eq1wAkyzWXoFcBwGYZflV9q2Yj0mXUqeE+TEB83w== X-Received: by 2002:a81:e70b:: with SMTP id x11-v6mr17771678ywl.36.1537462167213; Thu, 20 Sep 2018 09:49:27 -0700 (PDT) Received: from bzwang.cnc.corp.google.com ([2620:0:1013:11:6f9e:dcbe:41ef:a61]) by smtp.gmail.com with ESMTPSA id e126-v6sm6332688ywf.72.2018.09.20.09.49.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Sep 2018 09:49:26 -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 Subject: [PATCH v2 0/7] drm/msm/dpu: Clean up dpu code Date: Thu, 20 Sep 2018 12:49:17 -0400 Message-Id: <20180920164924.225847-1-bzwang@chromium.org> X-Mailer: git-send-email 2.19.0.444.g18242da7ef-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 uneeded checks and unused variables. Changes some function that do not need return values to void. Bruce Wang (7): drm/msm/dpu: Remove unneeded checks in dpu_plane.c drm/msm/dpu: Clean up plane atomic disable/update drm/msm/dpu: Remove unneeded checks in dpu_crtc.c drm/msm/dpu: Change _dpu_crtc_power_enable to void drm/msm/dpu: Change _dpu_crtc_vblank_enable_no_lock to void drm/msm/dpu: Make dpu_plane_danger_signal_ctrl void drm/msm/dpu: Make _dpu_plane_get_aspace void drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 247 +++----------------- drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 273 +++------------------- 2 files changed, 68 insertions(+), 452 deletions(-)