From patchwork Mon Apr 22 22:36:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13639042 Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 098C81CF9B for ; Mon, 22 Apr 2024 22:37:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713825433; cv=none; b=iZ22OKyIhWQioR1Xfnv7g9HIfZeUWeLRUbBVxXdACqbCrHOnXZUg3zaL9cMUMNGQjhh0ciLxmHHBNK66+v7cdoLJgcehMrjaoJUcrx7DXpZYNQTZxiEZxrRijDHr5RvnaciMYv3QKK8D8g5UgZv4QGJYEuWIQl7UbTZtsb5i9Ds= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713825433; c=relaxed/simple; bh=JsxZ38XdkNgp9UD9W21uEmvYgPFSGAp83NClI4k5JWg=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=EkQtXDanhXY1lKs9S2kmASyQfDoprH/YRiLzA4B2lQkdXrpKz9fOaWVmp456LkO3S5RWxGjP5wzhtsuPJTCfXAejsrwa3cAJzr8TyrupZ2pirmJaDKTq7jedHZioohVoCqMMS+/htpNxF1DgeqbedM2PtZB+dsqvALSxn4tNTlE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=jC0Se1Au; arc=none smtp.client-ip=209.85.167.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="jC0Se1Au" Received: by mail-lf1-f41.google.com with SMTP id 2adb3069b0e04-5193363d255so6589987e87.3 for ; Mon, 22 Apr 2024 15:37:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713825430; x=1714430230; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=ohFmgglIcQlxE3MPNy1+YrogD02CaIJJKPILpDHEK2E=; b=jC0Se1AuSIXi6m1zu9rYPo9813c1QcqMMGb1u2IEdG4WNHdlD3rF0J4y1eYFJfC3+z rnGv8jhl3ksmyr8TC4W0Teh621nqMfJDBlxZyk5ObPmjALhwGGTNjZALZODb++D7kygW dFFp+WSWUGBF6EKM3nMma3jaXgaISJHi58XZY/8iD3/uT117i3PAQSETOUjtiGwDTBMX 3POqQ39aiPHoOf4pRq4KTd4TsKLIp3UsW51lJn6nfCYHcCLLLT4BsEBiQtsuEXLMvWHr QEawIjWvugtYxI/kWgIyDOgZQ338yS5Uj8KZQDIFcphnbnZCOElxuC3vHsRhNjblcITd 69zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713825430; x=1714430230; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ohFmgglIcQlxE3MPNy1+YrogD02CaIJJKPILpDHEK2E=; b=U5eMCE++5/hBCq2lKofIzZ0szaV8jrU8AVTkIvOFMvDCifDajUZuspeK+jmvrXCfjJ l+jHPIxUOmCE0o0j63FBUlo0VFb7Meju8cJoNy/Jom7Q/odAi0x/r63Kdp14Kd88fSfL RVeeZhOUNFq5gL0jCMvn23AVNxlstenACxQlL4GE/pP9qf56UpmXWwhIMiy0vaCP1uOI Dp0lq3cBbJ33IjdybJkNNj2c0YhzNUd0M9N7cjEXdz/lqT+kFTC7j+BC6WJzXkRqzr13 o5mz6huaQuX0qH9ahORseo1bq3/46DtCYoL6KO4dHKVO7ycqAflgdM/+3doUz+mc+I6F eHZg== X-Gm-Message-State: AOJu0YxCI3nJ5Ynhq0WR6tW9rotOrNMAT4TgxrUj3vnr8kpAfdr6OKiB NTRvv3+Hs40TQzmabPBxnymhCyyESAvw/jqeFAOZHsEBhSqePYfUoLT3OpsCQoBGGaMrQLojGgX e X-Google-Smtp-Source: AGHT+IE3m5uOC+ZmUmnZKf0riA6458/IhT/zPbv8SmhhSaid1ucuuBTYN37T3Pzrf8uaJHQYmrV0OA== X-Received: by 2002:a19:381a:0:b0:515:cfaf:737 with SMTP id f26-20020a19381a000000b00515cfaf0737mr6928150lfa.9.1713825429819; Mon, 22 Apr 2024 15:37:09 -0700 (PDT) Received: from [127.0.1.1] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id r3-20020ac25f83000000b00513c4e41140sm1841271lfe.204.2024.04.22.15.37.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 15:37:09 -0700 (PDT) From: Konrad Dybcio Subject: [PATCH 0/2] Remove more useless wrappers Date: Tue, 23 Apr 2024 00:36:58 +0200 Message-Id: <20240423-topic-msm_cleanup-v1-0-b30f39f43b90@linaro.org> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAIvmJmYC/x3MWwqAIBBA0a3EfCfkA4q2EhFpUw3kA60Iwr0nf Z6Pe19IGAkT9NULEW9K5F0Brysw++w2ZLQUg2iEapSQ7PSBDLPJTubA2V2BaYmq1aZTnC9QuhB xped/DmPOH+Q0mQBjAAAA To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.14-dev Shaving off some cruft obj files seem to be identical pre and post cleanup which is always a good sign Signed-off-by: Konrad Dybcio --- Konrad Dybcio (2): drm/msm/dsi: Remove dsi_phy_read/write() drm/msm/dsi: Remove dsi_phy_write_[un]delay() drivers/gpu/drm/msm/dsi/phy/dsi_phy.h | 5 - drivers/gpu/drm/msm/dsi/phy/dsi_phy_10nm.c | 273 +++++++++----------- drivers/gpu/drm/msm/dsi/phy/dsi_phy_14nm.c | 218 ++++++++-------- drivers/gpu/drm/msm/dsi/phy/dsi_phy_20nm.c | 109 ++++---- drivers/gpu/drm/msm/dsi/phy/dsi_phy_28nm.c | 305 +++++++++++----------- drivers/gpu/drm/msm/dsi/phy/dsi_phy_28nm_8960.c | 205 +++++++-------- drivers/gpu/drm/msm/dsi/phy/dsi_phy_7nm.c | 320 ++++++++++++------------ 7 files changed, 699 insertions(+), 736 deletions(-) --- base-commit: 33edc5592466996fe9610efc712da0a3539027ae change-id: 20240423-topic-msm_cleanup-b3e47bc8411d Best regards,