OE4T / linux-tegra-4.9

NVIDIA downstream Linux kernel source Jetson platforms in single-repo form, derived from the L4T R32.x series BSP
Other
57 stars 78 forks source link

Nouveau driver does not build #1

Open sashko opened 4 years ago

sashko commented 4 years ago

Building Nouveau driver (CONFIG_DRM_NOUVEAU) fails on branch patches-l4t-r32.2.1:

| .../kernel-source/drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c: In function 'nvkm_device_tegra_power_up':
| .../kernel-source/drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c:51:8: error: implicit declaration of function 'tegra_powergate_remove_clamping'; did you mean 'tegra_pmc_cpu_remove_clamping'? [-Werror=implicit-function-declaration]
|   ret = tegra_powergate_remove_clamping(TEGRA_POWERGATE_3D);
|         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|         tegra_pmc_cpu_remove_clamping
|   CC [M]  drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgm204.o
|   CC [M]  drivers/gpu/drm/nouveau/nvkm/engine/disp/dport.o
|   CC [M]  drivers/gpu/drm/nouveau/nvkm/engine/disp/conn.o
| .../kernel-source/drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c:51:40: error: 'TEGRA_POWERGATE_3D' undeclared (first use in this function); did you mean 'TEGRA_POWERGATE_3D0'?
|   ret = tegra_powergate_remove_clamping(TEGRA_POWERGATE_3D);
|                                         ^~~~~~~~~~~~~~~~~~
|                                         TEGRA_POWERGATE_3D0
madisongh commented 4 years ago

I doubt NVIDIA does any testing with this kernel for any configuration outside of what they support in their L4T BSP, so I'm not surprised that nouveau doesn't build. Upstream should have some support for nouveau on at least some of the Tegra SoCs.