From patchwork Tue Feb 15 14:16:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 542783 Delivered-To: patch@linaro.org Received: by 2002:ac0:e142:0:0:0:0:0 with SMTP id r2csp501757imn; Tue, 15 Feb 2022 06:16:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJxcn8bj9XzPuN4hSiwVkYRRhyqY22xJLRjkoA3IV50g2ssiYcLwE8wbZ3GkksvUT/KPcUmk X-Received: by 2002:a17:902:eb90:: with SMTP id q16mr4135528plg.76.1644934610571; Tue, 15 Feb 2022 06:16:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644934610; cv=none; d=google.com; s=arc-20160816; b=NzTu+E8tgtJv5Yyvs8N6GWLX9UTlx+2YPrSgdBpi8uQeymfNB++INjRsA8rMiNZTwH P9lcSQyxRiPLnXWse38WUdc9G/pyejBBZj8PDtPssroSDluMQj9JV/t11B3cZUzbA2Zv sCG6zArlW8CUiKY+FyyMutHXlnpfRQ6h04KXKPk1/jWy628j4MsSLnmXYpod+I6l1WjR wxC4OZjtToMMHU7u6Qw7nbmE4+WXIyMX4rKDprMWz+UqlkEGjXFWD8tHeahLAVdifw5Q cWo3w+SlnSVne7yvKAZpyXqsnp5n4f16O4g894lqkPpwJPZUVgW2WmBo3ebPZoyE4M4z JN6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature :delivered-to; bh=22TX4LYstdLNVIjkGd2GuVsGQO8yGKAR+N5sETL9hVQ=; b=g4RhxDniM/2MfZGX/n3nTNe4lkgzlO6csxJ1JDSdgPq9Kn4/D1+D2fLusD2+5Sd+Rn MIJnhGSPHf0YT77LJYYOkA+T7axnDS+p66T//229jfHV0oQ+wOXkAAFD499CFs2P0BYr ojQV/L08r5HClewfoRTby6qp0oC1CemB5GjENzKubeQ6a4ZWwDGpSdGK+uMZVmh69uED XfCalDc8BCTvN4sYmKqbwQo+/d2/WE7Jillv3IWxxEcfwCjMVlCMZHWLLB8TytZzVBPZ oKjY7KnzGHTHW8QVjI90cZOifdc06wOaVI0BUUp5g1JNVyWLQkYNG/PnLQiykj1yZeCm XfcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=PMbfdPlF; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id cp21si14019280pjb.35.2022.02.15.06.16.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Feb 2022 06:16:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=PMbfdPlF; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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 6CCC110E57E; Tue, 15 Feb 2022 14:16:48 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by gabe.freedesktop.org (Postfix) with ESMTPS id 612DB10E579 for ; Tue, 15 Feb 2022 14:16:46 +0000 (UTC) Received: by mail-lf1-x12d.google.com with SMTP id u6so37147958lfc.3 for ; Tue, 15 Feb 2022 06:16:46 -0800 (PST) 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=22TX4LYstdLNVIjkGd2GuVsGQO8yGKAR+N5sETL9hVQ=; b=PMbfdPlFSOsOXZ+TfL72dreiL7ntrfsZYcK/k0PURLikQS3bZtEf7zIJjd7BQZKQjo VI6/8QL8FME5YR1NfVZqtMdybr/q7Md1vISskflD4+YP9B3P2SQp24wKjMBtETzlk7tj Ycf7XBZjaEWQSjTCuMw/SOQLzKrGzWZanz8pM/U/a4X1c8K67cL3GCJM8qqVyUeKLoRI j6H3jpfsL8EybwMBy2mIvEIq+UFfoCVchcAmyWuz3DKsAm1GMpGDx5EWDtRLAUD1MyfD euxvXpEObSBFMP+1sQX7th6z7GlL8H+t3QOEc3p2u7KXIi4SH+WhomrrwGR2s3z4dJR+ QmSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=22TX4LYstdLNVIjkGd2GuVsGQO8yGKAR+N5sETL9hVQ=; b=hoiGEhBmM3bfB/oX+Z75ywmdQrzkF3wZyN0Z4ldNvYkQJLXc2GfXLCdiBGutvVML4o uaLWcoiHrPPvmkx+Se90rTgw38U7cKtyGbk1hzo/GlPcIrH3bsPLdse34B2fw+0oq60M TNYo8KZDCCtzce/YLKraobb7uXvuZjQYtY2Eu5NiP31ZWF6R2K4hSHVg8hcdTXmpB7dB e/VTlX/u+NQ0TxXtYLuKNtLNooS4mL2NtrrdNOAMHSgYIy/EF6qi1bgXBoAtOPYs1ce2 M0okM/eKzG4YsCRAtk5mDrTdhYqzMcrrjtfPdG9fY34GTdwT9ezmiNLv6Xu/bgzWuNvI xDpA== X-Gm-Message-State: AOAM530Hgpkq8NEqRbceaUZkT0HcbVtW2n84C9HXf+KDHmE6e7+gA+Nu 5yIdg0SzHL8s/HKzaoK6mxA7KA== X-Received: by 2002:a05:6512:ac3:: with SMTP id n3mr3157187lfu.379.1644934604637; Tue, 15 Feb 2022 06:16:44 -0800 (PST) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id m16sm1018044ljb.131.2022.02.15.06.16.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Feb 2022 06:16:44 -0800 (PST) From: Dmitry Baryshkov To: Bjorn Andersson , Rob Clark , Sean Paul , Abhinav Kumar Subject: [PATCH v2 0/8] drm/msm/dpu: cleanup dpu encoder code Date: Tue, 15 Feb 2022 17:16:35 +0300 Message-Id: <20220215141643.3444941-1-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.34.1 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: David Airlie , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, Stephen Boyd , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This patchset targets DPU encoder code, removing unused artifacts (empty callbacks, MSM bus client id, etc). Changes since v1: - Split dp audio fixup from the intf_type patch - Remove atomic_check() removal, used by the posted WB support Dmitry Baryshkov (8): drm/msm/dpu: fix dp audio condition drm/msm: move struct msm_display_info to dpu driver drm/msm/dpu: remove msm_dp cached in dpu_encoder_virt drm/msm/dpu: drop bus_scaling_client field drm/msm/dpu: encoder: drop unused mode_fixup callback drm/msm/dpu: switch dpu_encoder to use atomic_mode_set drm/msm/dpu: pull connector from dpu_encoder_phys to dpu_encoder_virt drm/msm/dpu: simplify intf allocation code drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 83 +++++-------------- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.h | 18 ++++ .../gpu/drm/msm/disp/dpu1/dpu_encoder_phys.h | 14 +--- .../drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c | 28 +------ .../drm/msm/disp/dpu1/dpu_encoder_phys_vid.c | 28 +------ drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 5 +- drivers/gpu/drm/msm/msm_drv.h | 18 ---- 7 files changed, 55 insertions(+), 139 deletions(-)