#RISC-V. GENTOO. GPU DOESN"T WORK. LINUX

1 messages · Page 1 of 1 (latest)

languid fulcrum
#

my work:

gpu: gpu@18000000 {
            compatible = "starfive,jh7110-gpu", "imagination,powervr-rogue";
              reg = <0x0 0x18000000 0x0 0x100000>;
                clocks = <&syscrg JH7110_SYSCLK_GPU_CORE>,
                     <&syscrg JH7110_SYSCLK_GPU_CORE_CLK>,
                 <&syscrg JH7110_SYSCLK_GPU_SYS_CLK>,
                 <&syscrg JH7110_SYSCLK_GPU_APB>,
                 <&syscrg JH7110_SYSCLK_GPU_RTC_TOGGLE>,
                 <&syscrg JH7110_SYSCLK_NOC_BUS_GPU_AXI>;
            clock-names = "gpu_core", "gpu_core_clk", "gpu_sys_clk",
                      "gpu_apb", "gpu_rtc_toggle", "gpu_axi";
                resets = <&syscrg JH7110_SYSRST_GPU_DOMA>,
                 <&syscrg JH7110_SYSRST_GPU_APB>,
                 <&syscrg JH7110_SYSRST_NOC_BUS_GPU_AXI>;
            reset-names = "gpu_doma", "gpu_apb", "gpu_axi";

            power-domains = <&pwrc JH7110_PD_GPUA>;

            clock-frequency =    <400000>;
            status="okay";
        };
#

6.19.12-gentoo dmesg:
[ 16.243410] jh71xx-pmu 17030000.power-controller: sync_state() pending due to 18000000.gpu

#

Or I just missed with reg address???

#
Start Address     End Address     Size     Attribute     Device/Description
0x00_130C_0000     0x00_130C_FFFF     64KB     RW A     GPU timer
0x00_1800_0000     0x00_180F_FFFF     1MB     RW A     GPU
#

I saw the i2c and uart reg addr from this table AND it's the same that in .dts, so I suppose 18000000 is the right addr

#

Like, I believe linux support it, because the powervr driver is in the kernel and I enabled it

languid fulcrum
#
[T] <I​cenowy> it won't work
[T] <I​cenowy> the mainline kernel lacks uncached mapping support for SiFive CPUs
[T] <I​cenowy> all known embedded SoCs with SiFive CPU suffer from this problem
#

It's a dead end