From patchwork Thu Feb 14 01:19:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeykumar Sankaran X-Patchwork-Id: 10811519 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 348A713B5 for ; Thu, 14 Feb 2019 01:19:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 17C0F2DE0F for ; Thu, 14 Feb 2019 01:19:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0A4B72DE18; Thu, 14 Feb 2019 01:19:26 +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 90B7C2DE0F for ; Thu, 14 Feb 2019 01:19:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727986AbfBNBTY (ORCPT ); Wed, 13 Feb 2019 20:19:24 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:60110 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726165AbfBNBTY (ORCPT ); Wed, 13 Feb 2019 20:19:24 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 9A96760736; Thu, 14 Feb 2019 01:19:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1550107163; bh=3H4lhX03dIBBwSyMoIWeQkA6Xw1O7+3eZatW1eOie4I=; h=From:To:Cc:Subject:Date:From; b=neIdv+dueV+3tovmoSxxKNtBetj+dax8pf/3X87W/noeWThalCZL/qjYE+NwECom7 ZV4bnAzk/4dlvPwUYAFSq1DINsaXj4az/t94WO/mQxmfmTZ7Q0VrLCoWgD8n2pRxAP BO6caMCbOVgGbL2RsclqBvU1LRqAt7OJjnHp5ktI= 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 C47FF60736; Thu, 14 Feb 2019 01:19:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1550107163; bh=3H4lhX03dIBBwSyMoIWeQkA6Xw1O7+3eZatW1eOie4I=; h=From:To:Cc:Subject:Date:From; b=neIdv+dueV+3tovmoSxxKNtBetj+dax8pf/3X87W/noeWThalCZL/qjYE+NwECom7 ZV4bnAzk/4dlvPwUYAFSq1DINsaXj4az/t94WO/mQxmfmTZ7Q0VrLCoWgD8n2pRxAP BO6caMCbOVgGbL2RsclqBvU1LRqAt7OJjnHp5ktI= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org C47FF60736 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 Subject: [PATCH v2 0/7] move dpu resource parsing to encoder modeset Date: Wed, 13 Feb 2019 17:19:09 -0800 Message-Id: <1550107156-17625-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 Fixing some of the low hanging fruits by moving the hw resource parsing and assignment to encoder modeset. This series prepares DPU resource management to switch to state based resource tracking which is implemented in the next incoming changes. Thanks. Jeykumar Sankaran (7): drm/msm/dpu: move hw_inf encoder baseclass drm/msm/dpu: remove phys_vid subclass drm/msm/dpu: release resources on modeset failure drm/msm/dpu: dont use encoder->crtc in atomic path drm/msm/dpu: map mixer/ctl hw blocks in encoder modeset drm/msm/dpu: assign intf to encoder in mode_set drm/msm/dpu: check split role for single flush drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 64 +------- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 73 +++++++-- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys.h | 15 +- .../gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c | 177 ++++++--------------- 4 files changed, 118 insertions(+), 211 deletions(-)