Re: [PATCH] arm64: dts: imx8mq: add GPU node

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Dienstag, den 09.04.2019, 01:54 +0000 schrieb Aisheng Dong:
> Hi Lucas,
> 
> > > > From: Lucas Stach [mailto:l.stach@xxxxxxxxxxxxxx]
> > Sent: Friday, April 5, 2019 12:52 AM
> > 
> > This enables the Vivante GC7000L GPU on the i.MX8MQ SoC.
> > 
> > Signed-off-by: Lucas Stach <l.stach@xxxxxxxxxxxxxx>
> 
> Just curious, does the driver already supports MX8QM GC7000L now?
> If yes, we probably could help test it.

The etnaviv kernel driver supports the i.MX8MQ GC7000 GPU. MX8QM will
require an addition to the HW database.

There are still some additions needed to the UAPI, to enable proper
support for the texture descriptor feature, which I hope to get around
to send out during this week. As those don't have an influence on the
DT nodes and things are running well in my setup, I figured the DT
patches are ready to be merged.

Regards,
Lucas

> Regards
> Dong Aisheng
>  
> > ---
> >  arch/arm64/boot/dts/freescale/imx8mq.dtsi | 22
> > ++++++++++++++++++++++
> >  1 file changed, 22 insertions(+)
> > 
> > diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
> > b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
> > index 4300781558f6..79d418b4f585 100644
> > --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
> > +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
> > @@ -792,6 +792,28 @@
> > > >  			};
> > > >  		};
> > 
> > > > > > +		gpu: gpu@38000000 {
> > > > +			compatible = "vivante,gc";
> > > > +			reg = <0x38000000 0x40000>;
> > > > +			interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
> > > > +			clocks = <&clk IMX8MQ_CLK_GPU_ROOT>,
> > > > +			         <&clk IMX8MQ_CLK_GPU_SHADER_DIV>,
> > > > +			         <&clk IMX8MQ_CLK_GPU_AXI>,
> > > > +			         <&clk IMX8MQ_CLK_GPU_AHB>;
> > > > +			clock-names = "core", "shader", "bus", "reg";
> > > > +			assigned-clocks = <&clk IMX8MQ_CLK_GPU_CORE_SRC>,
> > > > +			                  <&clk IMX8MQ_CLK_GPU_SHADER_SRC>,
> > > > +			                  <&clk IMX8MQ_CLK_GPU_AXI>,
> > > > +			                  <&clk IMX8MQ_CLK_GPU_AHB>;
> > > > +			assigned-clock-parents = <&clk IMX8MQ_GPU_PLL_OUT>,
> > > > +			                         <&clk IMX8MQ_GPU_PLL_OUT>,
> > > > +			                         <&clk IMX8MQ_GPU_PLL_OUT>,
> > > > +			                         <&clk IMX8MQ_GPU_PLL_OUT>;
> > > > +			assigned-clock-rates = <800000000>, <800000000>,
> > > > +			                       <800000000>, <800000000>;
> > > > +			power-domains = <&pgc_gpu>;
> > > > +		};
> > +
> > > > > >  		usb_dwc3_0: usb@38100000 {
> > > >  			compatible = "fsl,imx8mq-dwc3", "snps,dwc3";
> > > >  			reg = <0x38100000 0x10000>;
> > --
> > 2.20.1
> 
> 



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux