armv8: ls1028a: use the official compatible string for the GPU
authorMichael Walle <michael@walle.cc>
Wed, 13 Oct 2021 16:14:00 +0000 (18:14 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 9 Nov 2021 11:48:23 +0000 (17:18 +0530)
There is no "fsl,ls1028a-gpu" compatible string. It is solely for the
proprietary driver which will never be open source. Lately, linux gained
support for the open source etnaviv driver for the GPU (although there
is still support for the DisplayPort PHY missing to get actual graphics
output). Thus, instead of supporting some proprietary driver, switch
over to the open source one, which also have an official device tree
binding.

Cc: Andy Tang <andy.tang@nxp.com>
Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/fdt.c
arch/arm/cpu/armv8/fsl-layerscape/ls1028_ids.c

index 6eb7f9c..4ec0dbf 100644 (file)
@@ -427,7 +427,7 @@ static void fdt_disable_multimedia(void *blob, unsigned int svr)
                fdt_status_disabled(blob, off);
 
        /* Disable GPU node */
-       off = fdt_node_offset_by_compatible(blob, -1, "fsl,ls1028a-gpu");
+       off = fdt_node_offset_by_compatible(blob, -1, "vivante,gc");
        if (off != -FDT_ERR_NOTFOUND)
                fdt_status_disabled(blob, off);
 }
index 49df8b3..86a49b1 100644 (file)
@@ -18,7 +18,7 @@ struct icid_id_table icid_tbl[] = {
        SET_SATA_ICID(1, "fsl,ls1028a-ahci", FSL_SATA1_STREAM_ID),
        SET_EDMA_ICID(FSL_EDMA_STREAM_ID),
        SET_QDMA_ICID("fsl,ls1028a-qdma", FSL_DMA_STREAM_ID),
-       SET_GPU_ICID("fsl,ls1028a-gpu", FSL_GPU_STREAM_ID),
+       SET_GPU_ICID("vivante,gc", FSL_GPU_STREAM_ID),
        SET_DISPLAY_ICID(FSL_DISPLAY_STREAM_ID),
 #ifdef CONFIG_FSL_CAAM
        SET_SEC_JR_ICID_ENTRY(0, FSL_SEC_JR1_STREAM_ID),