From nobody Mon Nov 25 08:37:00 2024 Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) (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 BAC7320969B for ; Tue, 29 Oct 2024 20:28:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730233719; cv=none; b=ZCajvxKcDIfxBY6l3C5YMdGsHb/h5y2oYYHs9/olDDn5B7n33Ja1NsQftWwyEgHVuBQCdqXFqeHuQspAguDE9jo3HjItPZeHXJF5Kil/JY9/n+YI+Z7MFK0Qgbkm8GSfAQD1aEgfECTZt6tlMn7pOwMqwK9tUxhvTeLa3erPeIg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730233719; c=relaxed/simple; bh=0CfbxTye5gSogyDuujv60SUYTMbj7IHTroKhJCVLqZY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ttJOmszZlJ6dK9bPWukAXFLeXBcScCRCK8Q6Il7LoZYDeDMxxspqVh7uh+vBRpFbA3W3g0yCKO5UYxFYVhlFNeTENd8PQm16WtFPxJlTrzGk4dFtH9b+tRnMeIpppdFJ95HbMomz2cCfceWLvbtxIwCWbkzFlROdtJBZOBOd8FM= 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=Rga5CBmz; arc=none smtp.client-ip=209.85.167.54 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="Rga5CBmz" Received: by mail-lf1-f54.google.com with SMTP id 2adb3069b0e04-53a007743e7so6787836e87.1 for ; Tue, 29 Oct 2024 13:28:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1730233715; x=1730838515; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=SEtPoch1KoR98uLkD2M/MwAujNigB9ri8LwRUBc+TqU=; b=Rga5CBmzEA9IJZO+XSWNB93ZYRwcR9+980gIrbM1u4AIqVfkNzIjtcjS0q3qw46ftf SmCM9ZVGBgw1EEoZzHpkzqMP/pZH1qvb0tOGUp9nBtWZdw16J7zRYPwC48fF/Pa26n/u J5JXlCouq/tTpRw63pjaz9b+X0AD8RfEjosP2S9/7QI7XTcZ8ZyljhDZOnFWaxP5nbsI ZeGVNWJBHNFNGq2feZQjRv/qYErZdAdSN0YtLZs9jYxvKRwVoCCsbq0mTxP5tEooq0L9 DWViO+mZ2UyyVrnllDiBWziH7ikK/Q/WzlbrMYPWEqb0ZxkzdFGrXDUaWOlZxaar48Ap WSgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730233715; x=1730838515; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SEtPoch1KoR98uLkD2M/MwAujNigB9ri8LwRUBc+TqU=; b=uwQ4f3aFOXzwpCeOgc3lKZ0fHbUVQcTtIldWm20qSUdzoqGxius6PedOkDq+5rXx8o 5X4ifwDTjE4H0oTiRhaqd3CeVRKu7FRRAeoCPqCcNCYw2O6lvAbWdgN+yJ4+9T+Py8Ah pJXFR7A5tEDs2CAgZHkEitxGa1IVcoYDiwF7bol0A9bHY0mruPk23FmukDlXpvqHigGs GUGZggxxUpSnPiSe+h5n3vO9uqdjkInLFYCchXgGywLUUTt3Z8E+LuMaVKTvtXbPeNQ+ jkSWMB91luI8AZY4lWhWBRtbNkePsFXmCnbcCs23ky8125N5A2ntXLgd7H+BwJMANFyr lk0A== X-Forwarded-Encrypted: i=1; AJvYcCVr+bzh6QYKV+5s/CT/yJ9a6wXPghFiwPNRF78wHIQ7HuAKjucWnrWajS0Hl8Fy1Vqp1pro9jqTBMdhNDc=@vger.kernel.org X-Gm-Message-State: AOJu0YzBMFQO93YrAflRHSIg4LdLhfrQh2cNmvPGD3aSqgU5rB23kayv KIZj9nBJ5uIs6HhNOy56UkVszJQ0sTlj9ocnzyrb7JmX7OFmwFb3y9yWwXOlb/8ERPvYc51gqZ1 p X-Google-Smtp-Source: AGHT+IERcizDS9gxoPr08iGXhgpfd8+mcHYlosMRiOwuvcl9jqLkC4m+bfUVOpVFHaRSyvQMCWY9Zw== X-Received: by 2002:a05:6512:1310:b0:535:d4e6:14e2 with SMTP id 2adb3069b0e04-53b348f1399mr7054410e87.36.1730233714555; Tue, 29 Oct 2024 13:28:34 -0700 (PDT) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53bb81a597fsm46449e87.96.2024.10.29.13.28.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Oct 2024 13:28:34 -0700 (PDT) From: Dmitry Baryshkov Date: Tue, 29 Oct 2024 22:28:26 +0200 Subject: [PATCH v2 3/3] drm/msm/dp: tidy up platform data names Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241029-msm-dp-rename-v2-3-13c5c03fad44@linaro.org> References: <20241029-msm-dp-rename-v2-0-13c5c03fad44@linaro.org> In-Reply-To: <20241029-msm-dp-rename-v2-0-13c5c03fad44@linaro.org> To: Rob Clark , Abhinav Kumar , Sean Paul , Marijn Suijten , David Airlie , Simona Vetter Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4881; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=0CfbxTye5gSogyDuujv60SUYTMbj7IHTroKhJCVLqZY=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnIUVsQmH5ZyvBTVveOX4cpYYZmmle+02lT6ir+ LVDzfff9taJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZyFFbAAKCRCLPIo+Aiko 1U93B/9aUs8eRWL0sH+TrGv6cp4qJ4qgz5KlVwtLFTcx0c1vWf2ymgh2i5qdzkCQKXKX7jpzBEM P6rEmCdUBf+qStZ214uuiq+SrpAVndKKqlbRCway/G4Jynbul0P3KptzufTPAEbz39JzXEbFvVh V+OS7amu4cGdjEnf14moA6HSGl82rOauaXzZJe5FzzCx7nL5i3XTN2bnYJEH+j2rqDad1fiWg6i zO2PR/jZh4ChFnMp2e0bWg/ca4yG0YpWd5nFmqykGNtICOsnf0z0fs1CTj8XAYnG9/OK02yXNGb 3X/5RUhfPLXO2iekx3tSsiOPF/JH68lDxRjJYegZDSZMyqnF X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A Follow the established symbol name pattern and rename platform data structures. Reviewed-by: Abhinav Kumar Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/dp/dp_display.c | 38 ++++++++++++++++++---------------= ---- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/drivers/gpu/drm/msm/dp/dp_display.c b/drivers/gpu/drm/msm/dp/d= p_display.c index 5cc349f672c0..aba925aab7ad 100644 --- a/drivers/gpu/drm/msm/dp/dp_display.c +++ b/drivers/gpu/drm/msm/dp/dp_display.c @@ -118,7 +118,7 @@ struct msm_dp_desc { bool wide_bus_supported; }; =20 -static const struct msm_dp_desc sa8775p_dp_descs[] =3D { +static const struct msm_dp_desc msm_dp_desc_sa8775p[] =3D { { .io_start =3D 0x0af54000, .id =3D MSM_DP_CONTROLLER_0, .wide_bus_suppor= ted =3D true }, { .io_start =3D 0x0af5c000, .id =3D MSM_DP_CONTROLLER_1, .wide_bus_suppor= ted =3D true }, { .io_start =3D 0x22154000, .id =3D MSM_DP_CONTROLLER_2, .wide_bus_suppor= ted =3D true }, @@ -126,25 +126,25 @@ static const struct msm_dp_desc sa8775p_dp_descs[] = =3D { {} }; =20 -static const struct msm_dp_desc sc7180_dp_descs[] =3D { +static const struct msm_dp_desc msm_dp_desc_sc7180[] =3D { { .io_start =3D 0x0ae90000, .id =3D MSM_DP_CONTROLLER_0, .wide_bus_suppor= ted =3D true }, {} }; =20 -static const struct msm_dp_desc sc7280_dp_descs[] =3D { +static const struct msm_dp_desc msm_dp_desc_sc7280[] =3D { { .io_start =3D 0x0ae90000, .id =3D MSM_DP_CONTROLLER_0, .wide_bus_suppor= ted =3D true }, { .io_start =3D 0x0aea0000, .id =3D MSM_DP_CONTROLLER_1, .wide_bus_suppor= ted =3D true }, {} }; =20 -static const struct msm_dp_desc sc8180x_dp_descs[] =3D { +static const struct msm_dp_desc msm_dp_desc_sc8180x[] =3D { { .io_start =3D 0x0ae90000, .id =3D MSM_DP_CONTROLLER_0, .wide_bus_suppor= ted =3D true }, { .io_start =3D 0x0ae98000, .id =3D MSM_DP_CONTROLLER_1, .wide_bus_suppor= ted =3D true }, { .io_start =3D 0x0ae9a000, .id =3D MSM_DP_CONTROLLER_2, .wide_bus_suppor= ted =3D true }, {} }; =20 -static const struct msm_dp_desc sc8280xp_dp_descs[] =3D { +static const struct msm_dp_desc msm_dp_desc_sc8280xp[] =3D { { .io_start =3D 0x0ae90000, .id =3D MSM_DP_CONTROLLER_0, .wide_bus_suppor= ted =3D true }, { .io_start =3D 0x0ae98000, .id =3D MSM_DP_CONTROLLER_1, .wide_bus_suppor= ted =3D true }, { .io_start =3D 0x0ae9a000, .id =3D MSM_DP_CONTROLLER_2, .wide_bus_suppor= ted =3D true }, @@ -156,12 +156,12 @@ static const struct msm_dp_desc sc8280xp_dp_descs[] = =3D { {} }; =20 -static const struct msm_dp_desc sm8650_dp_descs[] =3D { +static const struct msm_dp_desc msm_dp_desc_sm8650[] =3D { { .io_start =3D 0x0af54000, .id =3D MSM_DP_CONTROLLER_0, .wide_bus_suppor= ted =3D true }, {} }; =20 -static const struct msm_dp_desc x1e80100_dp_descs[] =3D { +static const struct msm_dp_desc msm_dp_desc_x1e80100[] =3D { { .io_start =3D 0x0ae90000, .id =3D MSM_DP_CONTROLLER_0, .wide_bus_suppor= ted =3D true }, { .io_start =3D 0x0ae98000, .id =3D MSM_DP_CONTROLLER_1, .wide_bus_suppor= ted =3D true }, { .io_start =3D 0x0ae9a000, .id =3D MSM_DP_CONTROLLER_2, .wide_bus_suppor= ted =3D true }, @@ -170,18 +170,18 @@ static const struct msm_dp_desc x1e80100_dp_descs[] = =3D { }; =20 static const struct of_device_id msm_dp_dt_match[] =3D { - { .compatible =3D "qcom,sa8775p-dp", .data =3D &sa8775p_dp_descs }, - { .compatible =3D "qcom,sc7180-dp", .data =3D &sc7180_dp_descs }, - { .compatible =3D "qcom,sc7280-dp", .data =3D &sc7280_dp_descs }, - { .compatible =3D "qcom,sc7280-edp", .data =3D &sc7280_dp_descs }, - { .compatible =3D "qcom,sc8180x-dp", .data =3D &sc8180x_dp_descs }, - { .compatible =3D "qcom,sc8180x-edp", .data =3D &sc8180x_dp_descs }, - { .compatible =3D "qcom,sc8280xp-dp", .data =3D &sc8280xp_dp_descs }, - { .compatible =3D "qcom,sc8280xp-edp", .data =3D &sc8280xp_dp_descs }, - { .compatible =3D "qcom,sdm845-dp", .data =3D &sc7180_dp_descs }, - { .compatible =3D "qcom,sm8350-dp", .data =3D &sc7180_dp_descs }, - { .compatible =3D "qcom,sm8650-dp", .data =3D &sm8650_dp_descs }, - { .compatible =3D "qcom,x1e80100-dp", .data =3D &x1e80100_dp_descs }, + { .compatible =3D "qcom,sa8775p-dp", .data =3D &msm_dp_desc_sa8775p }, + { .compatible =3D "qcom,sc7180-dp", .data =3D &msm_dp_desc_sc7180 }, + { .compatible =3D "qcom,sc7280-dp", .data =3D &msm_dp_desc_sc7280 }, + { .compatible =3D "qcom,sc7280-edp", .data =3D &msm_dp_desc_sc7280 }, + { .compatible =3D "qcom,sc8180x-dp", .data =3D &msm_dp_desc_sc8180x }, + { .compatible =3D "qcom,sc8180x-edp", .data =3D &msm_dp_desc_sc8180x }, + { .compatible =3D "qcom,sc8280xp-dp", .data =3D &msm_dp_desc_sc8280xp }, + { .compatible =3D "qcom,sc8280xp-edp", .data =3D &msm_dp_desc_sc8280xp }, + { .compatible =3D "qcom,sdm845-dp", .data =3D &msm_dp_desc_sc7180 }, + { .compatible =3D "qcom,sm8350-dp", .data =3D &msm_dp_desc_sc7180 }, + { .compatible =3D "qcom,sm8650-dp", .data =3D &msm_dp_desc_sm8650 }, + { .compatible =3D "qcom,x1e80100-dp", .data =3D &msm_dp_desc_x1e80100 }, {} }; =20 --=20 2.39.5