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: 10631813 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 DE3C016B1 for ; Tue, 9 Oct 2018 04:27:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C77E329A28 for ; Tue, 9 Oct 2018 04:27:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B96DB29A36; Tue, 9 Oct 2018 04:27:50 +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=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,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 5840029A28 for ; Tue, 9 Oct 2018 04:27:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725808AbeJILmr (ORCPT ); Tue, 9 Oct 2018 07:42:47 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:58144 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725803AbeJILmr (ORCPT ); Tue, 9 Oct 2018 07:42:47 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id B810260C5F; Tue, 9 Oct 2018 04:27:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1539059268; bh=PXdEfmxR1QL7q08FsSonk7FW3lIOmK5bqX58TAG9ST4=; h=From:To:Cc:Subject:Date:From; b=FWCCjEaVogutHUH+lSjKJh0n7zn+BdHBMLawCtAGFyiC6p4bNKW2wDDKaBoKp7c2i 0jEeQarN1dwvIZ0LhrBv96TXTI+JbsXWrifTBqaFK4J+zdlbwpbe/arTeQ1C2FQ0AX eQTmVWh9hAjaZ0etWIFw3oZ2GebbiW3uOt3KXzz8= 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1539059268; bh=PXdEfmxR1QL7q08FsSonk7FW3lIOmK5bqX58TAG9ST4=; h=From:To:Cc:Subject:Date:From; b=FWCCjEaVogutHUH+lSjKJh0n7zn+BdHBMLawCtAGFyiC6p4bNKW2wDDKaBoKp7c2i 0jEeQarN1dwvIZ0LhrBv96TXTI+JbsXWrifTBqaFK4J+zdlbwpbe/arTeQ1C2FQ0AX eQTmVWh9hAjaZ0etWIFw3oZ2GebbiW3uOt3KXzz8= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org AB44960C4B Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=jsanka@codeaurora.org From: Jeykumar Sankaran To: dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org Cc: Jeykumar Sankaran , seanpaul@chromium.org, robdclark@gmail.com, hoegsberg@google.com, jcrouse@codeaurora.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 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 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(-)