From patchwork Thu Feb 14 01:52:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeykumar Sankaran X-Patchwork-Id: 10811581 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 E1ACB13B4 for ; Thu, 14 Feb 2019 01:52:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C93BF2DF4A for ; Thu, 14 Feb 2019 01:52:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BCBD32DF4C; Thu, 14 Feb 2019 01:52:34 +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 8239D2DF4A for ; Thu, 14 Feb 2019 01:52:34 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 21BFB6E831; Thu, 14 Feb 2019 01:52:31 +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 1FDAB6E831; Thu, 14 Feb 2019 01:52:30 +0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1000) id EEEBC607DF; Thu, 14 Feb 2019 01:52:29 +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 F2DE5607DF; Thu, 14 Feb 2019 01:52:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org F2DE5607DF From: Jeykumar Sankaran To: dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v2 0/4] reserve RM resources in private obj state Date: Wed, 13 Feb 2019 17:52:18 -0800 Message-Id: <1550109142-28303-1-git-send-email-jsanka@codeaurora.org> X-Mailer: git-send-email 1.9.1 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1550109150; bh=dEK7OGGDYnQyJxjr+E8Ugc3dRuf3uJ5EhsrhrofNpSU=; h=From:To:Cc:Subject:Date:From; b=NCH+HrI1JYModO+WnWwxkzFfJwEZGfhYsayv2c+TFN+8jKKWLe74TTUc3/SUW52da ArYAND1ANe80XLleEEMXsIMIe2Eh5UjSEZDTRFLbOs3KGaQRa2x5UhbifsYnKBJtmD vMiNMxYtJFKfL8Yvv7968EyOfn1nSoyaAEsEpWIM= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1550109149; bh=dEK7OGGDYnQyJxjr+E8Ugc3dRuf3uJ5EhsrhrofNpSU=; h=From:To:Cc:Subject:Date:From; b=RoBzUJMv+GKBv9yYxAwL17A7MLMrHYznwWCi9kA2sXfBM4Bq5LSmUWmhZ4ZjXbcIy g7FE+3TxdrXCsX69i/zLFGVGzYc/9gsM+fw+JK4HHPP0+trBRaTXO6+GMdyXCwyu40 pwEPXTVNwCAix/xHJKYAk/NH1BZjaNECEN7xtscc= X-Mailman-Original-Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org X-Mailman-Original-Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=jsanka@codeaurora.org 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 v2 patches for [1]. changes in v2: - Reserve and track hw resources allocated per display in subclassed drm private object states. - Private objects are created per CRTC. [1] https://patchwork.freedesktop.org/series/50722/ Follow up series will be submitted to clean up RM iterator API's. Thanks and Regards, Jeykumar S. Jeykumar Sankaran (4): drm/msm/dpu: add atomic private object to dpu crtc drm/msm/dpu: track HW resources using private object state drm/msm/dpu: remove reserve in encoder mode_set drm/msm/dpu: remove mode_set_complete drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h | 10 +- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 163 ++++++++++------------------ drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 73 ++++++++++++- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h | 32 ++++++ drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c | 131 +++++++++++++++------- drivers/gpu/drm/msm/disp/dpu1/dpu_rm.h | 8 +- 6 files changed, 257 insertions(+), 160 deletions(-)