From patchwork Sat Sep 8 00:24:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeykumar Sankaran X-Patchwork-Id: 10592727 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 CA874920 for ; Sat, 8 Sep 2018 00:24:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9F78A2B627 for ; Sat, 8 Sep 2018 00:24:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 913E82B646; Sat, 8 Sep 2018 00:24:37 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 653232B627 for ; Sat, 8 Sep 2018 00:24:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726063AbeIHFIC (ORCPT ); Sat, 8 Sep 2018 01:08:02 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:39502 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726032AbeIHFIC (ORCPT ); Sat, 8 Sep 2018 01:08:02 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id CC18960710; Sat, 8 Sep 2018 00:24:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1536366273; bh=Rbjq+L6zRARTIQIY8yLma7P9l6QqySbT5mWxJeHDNt4=; h=From:To:Cc:Subject:Date:From; b=ehW9zA9MAFx4gJStaLQq3WKJZUoy6p5YkuUrQcTutsYWeSYDAioj9Bq8NNTKWzfqZ xokbN7JYp5uFFEG56yYoJDsTnFR8JPlpZ/BTp1wEMOsK3k56/oxQ5kDtwRexGUY2tP GiR3+fcB9SX6OaLKAxIjXegaKGqa8AxVjTE6Fwg8= 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 99B8460540; Sat, 8 Sep 2018 00:24:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1536366273; bh=Rbjq+L6zRARTIQIY8yLma7P9l6QqySbT5mWxJeHDNt4=; h=From:To:Cc:Subject:Date:From; b=ehW9zA9MAFx4gJStaLQq3WKJZUoy6p5YkuUrQcTutsYWeSYDAioj9Bq8NNTKWzfqZ xokbN7JYp5uFFEG56yYoJDsTnFR8JPlpZ/BTp1wEMOsK3k56/oxQ5kDtwRexGUY2tP GiR3+fcB9SX6OaLKAxIjXegaKGqa8AxVjTE6Fwg8= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 99B8460540 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 v6 00/19] clean up DPU for RM refactor Date: Fri, 7 Sep 2018 17:24:08 -0700 Message-Id: <1536366267-22336-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 Based on the comments received for the patch series[1] and to make the review process a bit more easy, spliting up the patches for cleanup and resource manager refactor. This series cleans up and prepares the DPU for upcoming RM changes. [1] https://patchwork.freedesktop.org/series/44669/ changes in v4: - split clean up changes in separate commits changes in v5: - clean up dead code in RM - remove both topology enums and RM specific topology - update commit texts with reasons for removal changes in v6: - remove parameter checks in RM reserve - use BIT(x) to define power handle event macros - avoid head allocation for RM topology Thanks and Regards, Jeykumar S. Jeykumar Sankaran (19): drm/msm/dpu: remove debugfs support for misr drm/msm/dpu: squash power handle event types drm/msm/dpu: remove scalar config definitions drm/msm/dpu: remove resource pool manager drm/msm/dpu: remove ping pong split topology variables drm/msm/dpu: enable master-slave encoders explicitly drm/msm/dpu: use kms stored hw mdp block drm/msm/dpu: iterate for assigned hw ctl in virtual encoder drm/msm/dpu: avoid querying for hw intf before assignment drm/msm/dpu: make crtc get_mixer_width helper static drm/msm/dpu: move hw resource tracking to crtc state drm/msm/dpu: rename hw_ctl to lm_ctl drm/msm/dpu: clean up destination scaler residue drm/msm/dpu: remove cdm block support from resource manager drm/msm/dpu: remove LOCK/CLEAR support in RM drm/msm/dpu: remove display H_TILE from encoder drm/msm/dpu: remove RM dependency on connector state drm/msm/dpu: relax parameter validation in encoders drm/msm/dpu: remove RM topology definition drivers/gpu/drm/msm/Makefile | 1 - drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 467 +++------------------ drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h | 111 +---- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 216 ++-------- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.h | 10 +- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys.h | 23 +- .../gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c | 48 +-- .../gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c | 125 +----- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 56 +-- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 56 --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_cdm.c | 323 -------------- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_cdm.h | 139 ------ drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c | 14 - drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.h | 4 - drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c | 29 -- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.h | 7 - drivers/gpu/drm/msm/disp/dpu1/dpu_hw_lm.c | 29 -- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_lm.h | 7 - drivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.h | 33 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_top.c | 18 - drivers/gpu/drm/msm/disp/dpu1/dpu_hw_top.h | 17 - drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.c | 3 - drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.h | 16 - drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 8 +- drivers/gpu/drm/msm/disp/dpu1/dpu_power_handle.c | 15 +- drivers/gpu/drm/msm/disp/dpu1/dpu_power_handle.h | 14 +- drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c | 285 +++---------- drivers/gpu/drm/msm/disp/dpu1/dpu_rm.h | 44 -- drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h | 4 - 29 files changed, 214 insertions(+), 1908 deletions(-) delete mode 100644 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_cdm.c delete mode 100644 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_cdm.h