From patchwork Thu Feb 17 03:53:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 543349 Delivered-To: patch@linaro.org Received: by 2002:ac0:e142:0:0:0:0:0 with SMTP id r2csp88820imn; Wed, 16 Feb 2022 19:54:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJyqr7jtLB/W45B396TDmhgsyc6sOE+nWWTrg8BrqI6PrYcytye5L2YcqnD2m9lNlqnyW0Xp X-Received: by 2002:a05:6a00:21ca:b0:4c9:ff9:47e3 with SMTP id t10-20020a056a0021ca00b004c90ff947e3mr1327164pfj.10.1645070045500; Wed, 16 Feb 2022 19:54:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645070045; cv=none; d=google.com; s=arc-20160816; b=qLScVpgw1BGxUm+ATvUcyi/tjaaaiZT4ac+/cGyv+0LhqTgaC6DDe800xdu28ZVZjn jsb2xJ2c/zh20kMvNq4ttfyKm92IUFFqJM4aYw3u5XKQ20gwd9bl97XN9TJKZeDQNMwF iOlRWj+zDXJjOjN1PxiPSq0ww7zhy3+sqhw2WNMudQK95cmV+neFQz8613isVWH5QX9y Eltr+7zpQUMxKKRx48o1hKRYknXoNz5mh34DuRCjYlfI04RtTKQzohtBI0CqsIAIBbl+ ZOTeqQrQEi7ZgIlva591z7MgOPOqV5QD6ESmrMasf/cBcMQWfkYK2KkI+jB8aKiegxg/ cTZA== 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=NPj9DuFzc5wZ5qQDoHU9zhJ7waGhcTk9Ut8y80UuXAM=; b=KHZV/0RUKVdzKUjcOHMQ0SvA6tXEwZSc7jzLANYBO8wGeIwTZsfhdTbsCuymndjYr4 ylmihmcfNyWEgGuGULtFNHZX4Fyl45RlxfAEyR0gJoGDaqqa45BVCnxtZACvjW8zq+Af nxjFFF7Jd/Ms/ZIL32OdQwKoScyVlTdO75d6ELPUlI13mqUOfZw5d9TafI0IJyladz+7 FlaPX+LsoULa1SiPEopwWiLYyoFnG+L1SoraWmxySLPBdCIPcbROZTuJkQf7IrrCBrQx XY6mTAJjKdRoeab9T+EwihqqZc2xwFwmXXKtlyLdTWwmJ2vSN2//6APRZa8iHKx8rt/V QyhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="tFwAzo8/"; 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 n9si21110440plg.23.2022.02.16.19.54.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Feb 2022 19:54:05 -0800 (PST) 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=fail header.i=@linaro.org header.s=google header.b="tFwAzo8/"; 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 93CB010E731; Thu, 17 Feb 2022 03:54:02 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2D4F110E75E for ; Thu, 17 Feb 2022 03:54:02 +0000 (UTC) Received: by mail-lf1-x12f.google.com with SMTP id u20so7592985lff.2 for ; Wed, 16 Feb 2022 19:54:02 -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=NPj9DuFzc5wZ5qQDoHU9zhJ7waGhcTk9Ut8y80UuXAM=; b=tFwAzo8/ZkBmIsV8kBDnMGFLrFx0YVbo1/v1NkcCxew+ugdeUOkOLEF5s1l60HAIlg +UTcM3jBsiedN7bjiJAIJKVjlE5h6jJj6zOZOd2DzqQoitC2oq5iBFLy0c8dnIAnqJWj rghldG033hGjmte5SyVgNEFOEWDbG/w7Zi22lR7R1I475hMEycqGDSEsWG831dLwlHDD J6kTLO8Fkj1etrUG38xREAO8qn6lq1KKFkLkZjesz2WibititxP6O1VH3MYyrvllCEoS OSnK6cD4Ysk65dH/afwvZ6+tq88MJkR4Sruku8tmBIFTk69oOzHybRAU7KZdudRQUZjm rwjw== 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=NPj9DuFzc5wZ5qQDoHU9zhJ7waGhcTk9Ut8y80UuXAM=; b=Aqpc1fxNO6fDuRCgrj3haBC+DQvHMP13EhZqbvPmhKRo7oTIUBXXpyj71D3CzflYOE m6VKO65PPdnZ83xLcy6TXF0NbS9Tu0WpVPiitvO2I65FuGbBbA3wju7vbKx9sN969sVI xs3zVxwJHVeyHNHNGj5/u/ol5iY9agsZwL+ye3JT9Rq6a25Y44jl76LBE3Q0iqBfMadC 0ZVLeyiT0p9WNS3Xi19xJnC3hG6f4xYde986uQjpN3eyKz/9+k2ZAtn0y61yL87co5aW mziwhHdmWRQzGU+8FrFiwenjgbFiuR1kH9DJMWuE27mcYGyWpSzsgA2K7/YcSleOceR3 08PQ== X-Gm-Message-State: AOAM5318CkgS9VfMhe7k+MAYf0acboV2MfUeXhC1KPlhlFRHg4TqsfRf vhC9vG8H3VsEV10TYYGjfvq8eQ== X-Received: by 2002:ac2:4250:0:b0:443:3d07:7b5a with SMTP id m16-20020ac24250000000b004433d077b5amr805701lfl.305.1645070040403; Wed, 16 Feb 2022 19:54:00 -0800 (PST) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id h9sm1575454ljb.77.2022.02.16.19.53.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Feb 2022 19:54:00 -0800 (PST) From: Dmitry Baryshkov To: Bjorn Andersson , Rob Clark , Sean Paul , Abhinav Kumar Subject: [PATCH v2 0/7] drm/msm/dpu: cleanup dpu encoder code Date: Thu, 17 Feb 2022 06:53:51 +0300 Message-Id: <20220217035358.465904-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 v2: - Expand commit message of 7th patch (pull connector from dpu_encoder_phys to dpu_encoder_virt) - Drop intf_type patch for now, as it causes controversy Changes since v1: - Split dp audio fixup from the intf_type patch - Remove atomic_check() removal, used by the posted WB support Dmitry Baryshkov (7): 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 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 59 +++++-------------- 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/msm_drv.h | 18 ------ 6 files changed, 45 insertions(+), 120 deletions(-)