From patchwork Wed Mar 24 15:00:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 407840 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp484525jai; Wed, 24 Mar 2021 08:00:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw5yPA9flK3eeV06HprW7vx5zkGfHug14SJaFKb4bXpCedJy4FpZcRau/4DpeZrOLK8ou2C X-Received: by 2002:a62:7ac3:0:b029:1f1:5d13:5ec6 with SMTP id v186-20020a627ac30000b02901f15d135ec6mr3705951pfc.14.1616598032408; Wed, 24 Mar 2021 08:00:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616598032; cv=none; d=google.com; s=arc-20160816; b=wKd6vJeTJaK7qA4t6Rq47fBG4H6bWzo8NxjIqRVBUwAcVG7slMxaUx1cIkqjOc4KUQ h3KSuGJjxXbbU5dva9Xi9hQzwFSajnX48kUBMV+D8qKif7fGNQeKPiHwMrG3rkdC35uQ dNVC64iHlYhEqf3gy8JkbILS+8HlP55g++IMoQEs64IV5PZTdsLhJnT2FgG3VmPWXexi ZTZWZ+vBQFrVWb2fZCrHjtiFfnhFrN3cEce20/XZhj2YLOaxXv5fdj2jpWozXvIrwyjk ZF1mWITaXHnXKnkhX7NB42e4gzBuq2oSECr8+7yVdUqt7xTPxV/9ie+xTK1zT+rUORxp qgeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=6OLBQLyL8YvPesCVtqYzucEdmbZdyw5WddT/SBHoWPU=; b=H9CXTjO6V4GLSFj6vsd1pCvvOmIc/OxhaLNQwju+9o9+g4tEYgZnRwpTTBh6Utjtze W7c7CLQF5Gb8wqxg9Ia4BKa5BC6yGRN0fm3cqV/AxR7Zj1Cu0jD7bT6C34tliCjqvNax hMOEO5DIIQyBTbi2v0ipYW1/jXOgUWs3V4wBCfdrMklbZGQ16GLMO6+s5AN6CBp14fHS k9R7dfGyW2mTr0m8AHp2FfQ+0Ucrlf4TXEVZJsSE+wb2Em8Es5c/Y21+JiYt7dlbA6lW DcRlT4k1WFsQHtghVe7+z+qKsR4EzEuyodBPo0H84/X3ueRKuqdUZ7FO6vWkuBNSEffC TGcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=A6DZRaZ1; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id i15si2477649pgk.188.2021.03.24.08.00.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Mar 2021 08:00:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=A6DZRaZ1; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 315B16EA1D; Wed, 24 Mar 2021 15:00:31 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1BD2F6EA1D for ; Wed, 24 Mar 2021 15:00:30 +0000 (UTC) Received: by mail-lf1-x130.google.com with SMTP id o126so22937108lfa.0 for ; Wed, 24 Mar 2021 08:00:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=weTz6m5LXcFdcbmDULQSn+jsUrGC4/6OEmDiA/doP4o=; b=A6DZRaZ1ty5zT2tsq2EEmG7FYfPgiPI1yD48orj2sYeEunnaZ7My7QsOfr6BadnkfM xIzkJXosNHm6qtUS9jTnKI/8VKgRfv8qqNFDJGClJ6ZrKqhsnM/pUPuLSCpcHypNsYq0 wf4j3574QjNCVMZ+ieGEgd3W5dc1lNmCDW3iq938TM/oNoECos14PllGZlEx6ZSMwPvt 3/XPuCxY55Qyc1XaqhZOeqaC0F3oq5BeGk0pqQ86cfCJthl3r5+RbbEFp/JFA7Xl9u/Y pe1oZwnChyYZYHi2O95bJ8vXk3mh2ws8Szm0TDyT5SuXQeSQtNMQDF/7CHTqH4Xz8tY9 9gkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=weTz6m5LXcFdcbmDULQSn+jsUrGC4/6OEmDiA/doP4o=; b=GaS15axT70poiSgnEx6fECbf4zCX4VBobf/Q+sgimj0VtibBM7LXhTLSkwSP+Fw8SS +sn7amaDT+ncU0WdZjhzPGQyc/uNjSznODDefQCbkt3WZYuxazJVai0ITDkbRdaaDwS7 JenILXvgIkLps6jSSUfdY1LKf47WViBm8DDIaKvpqPWujEhJJDvOOSlNGu3TD+H/2rx5 Fx9c31jT5HHeBZGXkIIuGjh8SSFjFxmeGdneYsQHFvL0tcmF+mkHjJ4XkYiDmRh0yh1h TBdVKtk82tGEuANpikm+gd17V2Xi68RPFQkbibXIRuJO37d5GCG+cFX9NLGDzhBojDCY +JPg== X-Gm-Message-State: AOAM533rkWQxeoSofEajkf4z44Hr2sP9vpa0DZZLon3u4tSuNz81N+Ka WPHdw4w9Fbmyff7vWMkgJ7+GQA== X-Received: by 2002:ac2:454d:: with SMTP id j13mr2259398lfm.129.1616598028459; Wed, 24 Mar 2021 08:00:28 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id p5sm252463lfe.154.2021.03.24.08.00.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Mar 2021 08:00:27 -0700 (PDT) From: Dmitry Baryshkov To: Rob Clark , Sean Paul , Jonathan Marek Subject: [PATCH 00/21] drm/msm/dpu: cleanup callbacks, resource manager Date: Wed, 24 Mar 2021 18:00:03 +0300 Message-Id: <20210324150024.2768215-1-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stephen Boyd , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, David Airlie , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" In the DPU driver each and every component would provide callbacks, which are mostly static. Other components would use callbacks to receive functionality instead of calling functions directly. Drop (most) of this indirection, replacing with direct function calls. CTL and SSPP blocks are left unconverted for now. As we are at it, significant part of RM (resource manager) work is dedicated to allocating statically linked components. Each LM is tied to the single PP. Each MERGE_3D can be used by the specified pair of PPs. Each DSPP is also tied to single LM. So instead of allocating them through the RM, get them via static configuration. _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel