From patchwork Fri Nov 16 18:42:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Paul X-Patchwork-Id: 10686777 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 D39201747 for ; Fri, 16 Nov 2018 18:42:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C54B52D823 for ; Fri, 16 Nov 2018 18:42:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B86EC2D836; Fri, 16 Nov 2018 18:42:43 +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 5B3CA2D823 for ; Fri, 16 Nov 2018 18:42:43 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0F8B86E7DE; Fri, 16 Nov 2018 18:42:42 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-yw1-xc44.google.com (mail-yw1-xc44.google.com [IPv6:2607:f8b0:4864:20::c44]) by gabe.freedesktop.org (Postfix) with ESMTPS id 314D36E7DE for ; Fri, 16 Nov 2018 18:42:41 +0000 (UTC) Received: by mail-yw1-xc44.google.com with SMTP id l66-v6so10479918ywl.7 for ; Fri, 16 Nov 2018 10:42:41 -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=NWJYRQ6sTJ4EWPIjuk3Ns9242jCsLMzinujGenahiME=; b=RWiEnFMEal4+jV0ksGacB6M+B949jmrfmLdIEyjmIcAPe62kPMP0sYgktbXUpT+xee nGULrIcMrqAn9qONyRtyed7+f8/xEG2zLALmRnS+0LmNsPG5O1vNDcQv4kBt8KO6ay38 zz3jbxXhROkkRermTCE7vhERnf7NnULu9EF2w2jJ1q9hgm3xdHIns8h6rGPxOiRLUxAd 8QCI6BeftbDsz5K68n0dEnV7RF+qc5YoK6eTAFQKt0PYz7aFkxQJuVfV/sgspNyL6tB3 Ww0mloxgo+zWKT+1qJbeGjGfXCjC/TsjP/Mbh3DZFwZyfafFQBtZsOi6T2N5jK3G/XPm GlTw== X-Gm-Message-State: AGRZ1gJUKLYnALGUwBRLCsRGHFjkOL87AHHUdOzrwYf3C6FsFdfVscg7 pUxncboznurPHUHcU7O8RKkNDod/2Xyw/A== X-Google-Smtp-Source: AJdET5cdQQwgiMnZmmNlWJziECcNvfEk1uZQoari3NzZGNufT4ubNA7jD1NtvlHjZZJpn4ZcHko2iA== X-Received: by 2002:a81:6f03:: with SMTP id k3mr10996163ywc.424.1542393760130; Fri, 16 Nov 2018 10:42:40 -0800 (PST) Received: from rosewood.cam.corp.google.com ([2620:0:1013:11:ad55:b1db:adfe:3b9f]) by smtp.gmail.com with ESMTPSA id b144sm5359134ywa.33.2018.11.16.10.42.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Nov 2018 10:42:39 -0800 (PST) From: Sean Paul To: dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v2 00/24] drm/msm: Various dpu locking and legacy cleanups Date: Fri, 16 Nov 2018 13:42:10 -0500 Message-Id: <20181116184238.170034-1-sean@poorly.run> X-Mailer: git-send-email 2.19.1.1215.g8438c0b245-goog MIME-Version: 1.0 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: Sean Paul Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Sean Paul This was originally 3 patchsets, but none have gotten full review, so I figured I'd package the v2's all up into one set so it's easier to track. Set 1- https://lists.freedesktop.org/archives/dri-devel/2018-November/196170.html Set 2- https://lists.freedesktop.org/archives/dri-devel/2018-November/196184.html Set 3- https://lists.freedesktop.org/archives/dri-devel/2018-November/196276.html Thanks, Sean Sean Paul (24): drm/msm: dpu: Remove dpu_power_handle_get_dbus_name() drm/msm: dpu: Remove unused trace_dpu_perf_update_bus() drm/msm: dpu: Remove dpu_power_client drm/msm: dpu: Don't use power_event for vbif_init_memtypes drm/msm: dpu: Handle crtc pm_runtime_resume() directly drm/msm: dpu: Remove power_handle from core_perf drm/msm: dpu: Include dpu_io_util.h directly in dpu_kms.h drm/msm: dpu: Move DPU_POWER_HANDLE_DBUS_ID to core_perf drm/msm: dpu: Remove dpu_power_handle drm/msm: dpu: Fix typo in dpu_encoder drm/msm: dpu: Add ->enabled to dpu_encoder_virt drm/msm: dpu: Move crtc runtime resume to encoder drm/msm: dpu: Don't drop locks in crtc_vblank_enable drm/msm: dpu: Grab the modeset locks in frame_event drm/msm: dpu: Stop using encoder->crtc pointer drm/msm: dpu: Add modeset lock checks where applicable drm/msm: dpu: Move pm_runtime_(get|put) from vblank_enable drm/msm: dpu: Remove crtc_lock from setup_mixers drm/msm: dpu: Remove vblank_callback from encoder drm/msm: dpu: Use atomic_disable for dpu_crtc_disable drm/msm: dpu: Don't bother checking ->enabled in dpu_crtc_vblank drm/msm: dpu: Separate crtc assignment from vblank enable drm/msm: dpu: Remove vblank_requested flag from dpu_crtc drm/msm: dpu: Remove crtc_lock drivers/gpu/drm/msm/Makefile | 1 - drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c | 37 ++- drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.h | 22 +- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 216 +++++----------- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h | 15 +- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 97 ++++--- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.h | 24 +- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 76 ++---- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h | 6 +- .../gpu/drm/msm/disp/dpu1/dpu_power_handle.c | 240 ------------------ .../gpu/drm/msm/disp/dpu1/dpu_power_handle.h | 217 ---------------- drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h | 43 +--- 12 files changed, 204 insertions(+), 790 deletions(-) delete mode 100644 drivers/gpu/drm/msm/disp/dpu1/dpu_power_handle.c delete mode 100644 drivers/gpu/drm/msm/disp/dpu1/dpu_power_handle.h