[PATCH RFC 05/12] drm/msm: use _shipped suffix for all xml.h files
Masahiro Yamada
masahiroy at kernel.org
Tue Feb 27 03:13:43 UTC 2024
On Mon, Feb 26, 2024 at 11:11 AM Dmitry Baryshkov
<dmitry.baryshkov at linaro.org> wrote:
>
> Move non-GPU xml.h files into the ./registers subdir and add the
> _shipped suffix. The GPU files are left intact for now, since they
> require processing via a gen_headers.py, while display headers are
> regenerated using headergen2
>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
> ---
> drivers/gpu/drm/msm/Makefile | 53 ++++++++++++++++++----
> .../{dsi/dsi.xml.h => registers/dsi.xml.h_shipped} | 0
> .../dsi_phy_10nm.xml.h_shipped} | 0
> .../dsi_phy_14nm.xml.h_shipped} | 0
> .../dsi_phy_20nm.xml.h_shipped} | 0
> .../dsi_phy_28nm.xml.h_shipped} | 0
> .../dsi_phy_28nm_8960.xml.h_shipped} | 0
> .../dsi_phy_7nm.xml.h_shipped} | 0
> .../hdmi.xml.h => registers/hdmi.xml.h_shipped} | 0
> .../mdp4.xml.h => registers/mdp4.xml.h_shipped} | 0
> .../mdp5.xml.h => registers/mdp5.xml.h_shipped} | 0
> .../mdp_common.xml.h_shipped} | 0
> .../sfpb.xml.h => registers/sfpb.xml.h_shipped} | 0
> 13 files changed, 43 insertions(+), 10 deletions(-)
>
> diff --git a/drivers/gpu/drm/msm/Makefile b/drivers/gpu/drm/msm/Makefile
> index 543e04fa72e3..89c9f5f93b85 100644
> --- a/drivers/gpu/drm/msm/Makefile
> +++ b/drivers/gpu/drm/msm/Makefile
> @@ -1,5 +1,6 @@
> # SPDX-License-Identifier: GPL-2.0
> ccflags-y := -I $(srctree)/$(src)
> +ccflags-y := -I $(obj)/registers
This accidentally overwrites ccflags-y defined above.
So, "-I $(srctree)/$(src)" is lost.
It should be
ccflags-y += -I $(obj)/registers
I see several build errors.
--
Best Regards
Masahiro Yamada
More information about the Freedreno
mailing list