From patchwork Tue Oct 9 04:27:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeykumar Sankaran X-Patchwork-Id: 10631815 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 8707F16B1 for ; Tue, 9 Oct 2018 04:27:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 78B9329A28 for ; Tue, 9 Oct 2018 04:27:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6C93C29A36; Tue, 9 Oct 2018 04:27:52 +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 2534829A28 for ; Tue, 9 Oct 2018 04:27:52 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D82656E13F; Tue, 9 Oct 2018 04:27:49 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from smtp.codeaurora.org (smtp.codeaurora.org [198.145.29.96]) by gabe.freedesktop.org (Postfix) with ESMTPS id D5E0D6E124; Tue, 9 Oct 2018 04:27:48 +0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 9B69560C4F; Tue, 9 Oct 2018 04:27:48 +0000 (UTC) Received: from jeykumar-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jsanka@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id AB44960C4B; Tue, 9 Oct 2018 04:27:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org AB44960C4B From: Jeykumar Sankaran To: dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org Subject: [PATCH 00/25] reserve RM resources in CRTC state Date: Mon, 8 Oct 2018 21:27:17 -0700 Message-Id: <1539059262-8326-1-git-send-email-jsanka@codeaurora.org> X-Mailer: git-send-email 1.9.1 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: hoegsberg@google.com, seanpaul@chromium.org MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Submitting series of patches to clean up DPU resource manager (RM) of complicated hw iterations, redundant data maintenence and eventually modifying the DPU to reserve display HW blocks only in atomic check and caching the assigned HW blocks in atomic CRTC state. Thanks, Jeykumar S. Jeykumar Sankaran (25): drm/msm/dpu: fix hw ctl retrieval for mixer muxing drm/msm/dpu: avoid tracking reservations in RM drm/msm/dpu: remove dev from RM drm/msm/dpu: clean up dpu_rm_check_property_topctl declaration drm/msm/dpu: remove encoder from crtc mixer struct drm/msm/dpu: clean up redundant hw type drm/msm/dpu: reserve using crtc state drm/msm/dpu: release reservation using crtc state drm/msm/dpu: make RM iterator static drm/msm/dpu: maintain hw_mdp in kms drm/msm/dpu: remove reserve in encoder mode_set drm/msm/dpu: remove mode_set_complete drm/msm/dpu: make RM iterator hw type specific drm/msm/dpu: remove enc_id tagging for hw blocks drm/msm/dpu: avoid redundant hw blk reference drm/msm/dpu: clean up test_only flag for RM reservation drm/msm/dpu: remove RM HW block list iterator drm/msm/dpu: merge RM interface reservation helpers drm/msm/dpu: remove msm_display_topology drm/msm/dpu: refine layer mixer reservations drm/msm/dpu: merge RM reservation helpers drm/msm/dpu: make crtc and encoder specific HW reservation drm/msm/dpu: remove max_width from RM drm/msm/dpu: remove mutex locking for RM interfaces drm/msm/dpu: maintain RM init check internally drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 98 ++- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h | 16 +- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 96 +-- .../gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c | 20 +- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 16 +- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h | 1 - drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c | 728 ++++++--------------- drivers/gpu/drm/msm/disp/dpu1/dpu_rm.h | 107 +-- drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h | 28 +- drivers/gpu/drm/msm/msm_drv.h | 12 - 10 files changed, 322 insertions(+), 800 deletions(-)