Good afternoon, dear Nvidia! I need to build kernel for my Jetson Nano with the DRM because I want to run Sway that need it. Now, without any DRM I cannot run any DE on my board based on Arch Linux. When I tried simply to add TAGRA_DRM=y config then I received:
In file included from /home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/drivers/crypto/tegra-se-nvhost.c:36:0:
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h: In function ‘nvhost_syncpt_read_ext_check’:
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h:501:2: error: implicit declaration of function ‘host1x_syncpt_update_min’; did you mean ‘host1x_syncpt_read_min’? [-Werror=implicit-function-declaration]
host1x_syncpt_update_min(syncpt);
^~~~~~~~~~~~~~~~~~~~~~~~
host1x_syncpt_read_min
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h: In function ‘nvhost_syncpt_is_expired_ext’:
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h:540:9: error: implicit declaration of function ‘host1x_syncpt_is_expired’; did you mean ‘host1x_syncpt_base_id’? [-Werror=implicit-function-declaration]
return host1x_syncpt_is_expired(syncpt, thresh);
^~~~~~~~~~~~~~~~~~~~~~~~
host1x_syncpt_base_id
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h: In function ‘nvhost_syncpt_set_min_eq_max_ext’:
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h:549:2: error: implicit declaration of function ‘host1x_syncpt_reset’; did you mean ‘host1x_syncpt_free’? [-Werror=implicit-function-declaration]
host1x_syncpt_reset(syncpt);
^~~~~~~~~~~~~~~~~~~
host1x_syncpt_free
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h: In function ‘nvhost_intr_register_notifier’:
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h:567:9: error: implicit declaration of function ‘host1x_intr_register_notifier’; did you mean ‘nvhost_intr_register_notifier’? [-Werror=implicit-function-declaration]
return host1x_intr_register_notifier(syncpt, thresh, callback,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nvhost_intr_register_notifier
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h: In function ‘nvhost_sync_create_fence’:
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h:594:9: error: implicit declaration of function ‘host1x_sync_create_fence’; did you mean ‘nvhost_sync_create_fence’? [-Werror=implicit-function-declaration]
return host1x_sync_create_fence(host, (void *)pts, num_pts, name);
^~~~~~~~~~~~~~~~~~~~~~~~
nvhost_sync_create_fence
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h:594:9: error: return makes pointer from integer without a cast [-Werror=int-conversion]
return host1x_sync_create_fence(host, (void *)pts, num_pts, name);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h: In function ‘nvhost_sync_create_fence_fd’:
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h:606:9: error: implicit declaration of function ‘host1x_sync_create_fence_fd’; did you mean ‘nvhost_sync_create_fence_fd’? [-Werror=implicit-function-declaration]
return host1x_sync_create_fence_fd(host, (void *)pts, num_pts,
^~~~~~~~~~~~~~~~~~~~~~~~~~~
nvhost_sync_create_fence_fd
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h: In function ‘nvhost_sync_fdget’:
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h:612:9: error: implicit declaration of function ‘host1x_sync_fdget’; did you mean ‘host1x_syncpt_get’? [-Werror=implicit-function-declaration]
return host1x_sync_fdget(fd);
^~~~~~~~~~~~~~~~~
host1x_syncpt_get
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h:612:9: error: return makes pointer from integer without a cast [-Werror=int-conversion]
return host1x_sync_fdget(fd);
^~~~~~~~~~~~~~~~~~~~~
CC drivers/i2c/i2c-core.o
CC drivers/gpu/host1x/bus.o
CC drivers/hwmon/gpio-tachometer.o
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h: In function ‘nvhost_sync_num_pts’:
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h:617:9: error: implicit declaration of function ‘host1x_sync_num_fences’; did you mean ‘host1x_syncpt_free’? [-Werror=implicit-function-declaration]
return host1x_sync_num_fences(fence);
^~~~~~~~~~~~~~~~~~~~~~
host1x_syncpt_free
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h: In function ‘nvhost_sync_pt_id’:
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h:622:9: error: implicit declaration of function ‘host1x_sync_pt_id’; did you mean ‘host1x_syncpt_id’? [-Werror=implicit-function-declaration]
return host1x_sync_pt_id(pt);
^~~~~~~~~~~~~~~~~
host1x_syncpt_id
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h: In function ‘nvhost_sync_pt_thresh’:
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h:627:9: error: implicit declaration of function ‘host1x_sync_pt_thresh’; did you mean ‘nvhost_sync_pt_thresh’? [-Werror=implicit-function-declaration]
return host1x_sync_pt_thresh(pt);
^~~~~~~~~~~~~~~~~~~~~
nvhost_sync_pt_thresh
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h: In function ‘nvhost_sync_fence_set_name’:
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h:632:9: error: implicit declaration of function ‘host1x_sync_fence_set_name’; did you mean ‘nvhost_sync_fence_set_name’? [-Werror=implicit-function-declaration]
return host1x_sync_fence_set_name(fence_fd, name);
^~~~~~~~~~~~~~~~~~~~~~~~~~
nvhost_sync_fence_set_name
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h: In function ‘nvhost_syncpt_create_fence_single_ext’:
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h:642:9: error: implicit declaration of function ‘host1x_sync_create_fence_single’; did you mean ‘nvhost_syncpt_create_fence_single_ext’? [-Werror=implicit-function-declaration]
return host1x_sync_create_fence_single(host, id, thresh,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nvhost_syncpt_create_fence_single_ext
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h: At top level:
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h:678:69: error: parameter 6 (‘kind’) has incomplete type
enum nvdev_fence_kind kind,
^~~~
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h:673:20: error: function declaration isn’t a prototype [-Werror=strict-prototypes]
static inline void nvhost_eventlib_log_fences(struct platform_device *pdev,
^~~~~~~~~~~~~~~~~~~~~~~~~~
LD drivers/firmware/broadcom/built-in.o
CC drivers/hwmon/generic-pwm-tachometer.o
CC drivers/gpu/host1x/syncpt.o
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/drivers/crypto/tegra-se-nvhost.c: In function ‘tegra_se_channel_submit_gather’:
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/drivers/crypto/tegra-se-nvhost.c:869:9: error: implicit declaration of function ‘nvhost_channel_map’; did you mean ‘nvhost_channel_unmap’? [-Werror=implicit-function-declaration]
err = nvhost_channel_map(pdata, &se_dev->channel, pdata);
^~~~~~~~~~~~~~~~~~
nvhost_channel_unmap
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/drivers/crypto/tegra-se-nvhost.c:876:8: error: implicit declaration of function ‘nvhost_job_alloc’; did you mean ‘host1x_job_alloc’? [-Werror=implicit-function-declaration]
job = nvhost_job_alloc(se_dev->channel, 1, 0, 0, 1);
^~~~~~~~~~~~~~~~
host1x_job_alloc
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/drivers/crypto/tegra-se-nvhost.c:876:6: error: assignment makes pointer from integer without a cast [-Werror=int-conversion]
job = nvhost_job_alloc(se_dev->channel, 1, 0, 0, 1);
^
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/drivers/crypto/tegra-se-nvhost.c:907:8: error: implicit declaration of function ‘nvhost_job_add_client_gather_address’; did you mean ‘nvhost_job_add_gather’? [-Werror=implicit-function-declaration]
err = nvhost_job_add_client_gather_address(job, num_words,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nvhost_job_add_gather
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/drivers/crypto/tegra-se-nvhost.c:914:8: error: implicit declaration of function ‘nvhost_channel_submit’; did you mean ‘nvhost_channel_abort’? [-Werror=implicit-function-declaration]
err = nvhost_channel_submit(job);
^~~~~~~~~~~~~~~~~~~~~
nvhost_channel_abort
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/drivers/crypto/tegra-se-nvhost.c:944:9: error: implicit declaration of function ‘nvhost_intr_register_fast_notifier’; did you mean ‘nvhost_intr_register_notifier’? [-Werror=implicit-function-declaration]
err = nvhost_intr_register_fast_notifier(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nvhost_intr_register_notifier
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/drivers/crypto/tegra-se-nvhost.c:989:2: error: implicit declaration of function ‘nvhost_job_put’; did you mean ‘nvhost_job_pin’? [-Werror=implicit-function-declaration]
nvhost_job_put(job);
^~~~~~~~~~~~~~
nvhost_job_pin
CC drivers/gpu/drm/drm_crtc_helper.o
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/drivers/crypto/tegra-se-nvhost.c:992:2: error: implicit declaration of function ‘nvhost_module_idle’; did you mean ‘nvhost_module_do_idle’? [-Werror=implicit-function-declaration]
nvhost_module_idle(se_dev->pdev);
^~~~~~~~~~~~~~~~~~
nvhost_module_do_idle
CC drivers/i2c/i2c-dev.o
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/drivers/crypto/tegra-se-nvhost.c: In function ‘tegra_se_nvhost_prepare_poweroff’:
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/drivers/crypto/tegra-se-nvhost.c:4089:3: error: implicit declaration of function ‘nvhost_putchannel’; did you mean ‘nvhost_check_channel’? [-Werror=implicit-function-declaration]
nvhost_putchannel(se_dev->channel, 1);
^~~~~~~~~~~~~~~~~
nvhost_check_channel
CC drivers/gpu/host1x/dev.o
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/drivers/crypto/tegra-se-nvhost.c: In function ‘tegra_se_probe’:
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/drivers/crypto/tegra-se-nvhost.c:4257:8: error: implicit declaration of function ‘nvhost_client_device_get_resources’; did you mean ‘nvhost_client_request_firmware’? [-Werror=implicit-function-declaration]
err = nvhost_client_device_get_resources(pdev);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nvhost_client_request_firmware
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/drivers/crypto/tegra-se-nvhost.c:4265:8: error: implicit declaration of function ‘nvhost_module_init’; did you mean ‘nvhost_module_busy’? [-Werror=implicit-function-declaration]
err = nvhost_module_init(pdev);
^~~~~~~~~~~~~~~~~~
nvhost_module_busy
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/drivers/crypto/tegra-se-nvhost.c:4272:8: error: implicit declaration of function ‘nvhost_client_device_init’; did you mean ‘host1x_device_init’? [-Werror=implicit-function-declaration]
err = nvhost_client_device_init(pdev);
^~~~~~~~~~~~~~~~~~~~~~~~~
host1x_device_init
CC drivers/input/input.o
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/drivers/crypto/tegra-se-nvhost.c: In function ‘tegra_se_remove’:
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/drivers/crypto/tegra-se-nvhost.c:4568:2: error: implicit declaration of function ‘nvhost_client_device_release’; did you mean ‘nvhost_channel_release’? [-Werror=implicit-function-declaration]
nvhost_client_device_release(pdev);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
nvhost_channel_release
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/drivers/crypto/tegra-se-nvhost.c: At top level:
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/drivers/crypto/tegra-se-nvhost.c:4581:10: error: ‘nvhost_module_pm_ops’ undeclared here (not in a function); did you mean ‘nvhost_module_powered’?
.pm = &nvhost_module_pm_ops,
^~~~~~~~~~~~~~~~~~~~
nvhost_module_powered
CC drivers/gpu/host1x/intr.o
cc1: all warnings being treated as errors
CC drivers/input/serio/serio.o
make[3]: *** [../scripts/Makefile.build:339: drivers/crypto/tegra-se-nvhost.o] Error 1
make[3]: *** Waiting for unfinished jobs....
CC drivers/iio/industrialio-core.o
CC drivers/input/input-mt.o
CC drivers/input/input-compat.o
CC drivers/input/ff-core.o
LD drivers/firmware/meson/built-in.o
CC drivers/input/mousedev.o
CC drivers/firmware/tegra/bpmp_t210.o
LD drivers/hwmon/built-in.o
CC drivers/iio/industrialio-event.o
CC drivers/iio/inkern.o
CC drivers/input/serio/ambakmi.o
CC drivers/input/serio/libps2.o
CC drivers/gpu/host1x/cdma.o
CC drivers/gpu/host1x/channel.o
CC drivers/input/evdev.o
CC drivers/firmware/tegra/fwdebug.o
CC drivers/gpu/host1x/job.o
CC drivers/gpu/drm/drm_dp_helper.o
CC drivers/gpu/drm/drm_probe_helper.o
CC drivers/gpu/drm/drm_plane_helper.o
CC drivers/hid/hid-input.o
CC drivers/i2c/i2c-mux.o
CC drivers/gpu/drm/drm_dp_mst_topology.o
CC drivers/hid/hid-debug.o
CC drivers/input/keyboard/gpio_keys.o
CC drivers/input/keyboard/atkbd.o
CC drivers/gpio/gpiolib-of.o
CC drivers/gpio/gpiolib-sysfs.o
LD drivers/input/serio/built-in.o
CC drivers/iio/industrialio-buffer.o
CC drivers/gpu/drm/drm_atomic_helper.o
CC drivers/gpu/drm/drm_kms_helper_common.o
CC drivers/gpu/nvgpu/common/bus/bus_gk20a.o
CC drivers/firmware/tegra/nv_bpmp.o
CC drivers/gpio/gpio-max77620.o
CC drivers/gpu/host1x/debug.o
CC drivers/gpio/gpio-pca953x.o
CC drivers/gpu/drm/drm_dp_dual_mode_helper.o
CC drivers/gpu/nvgpu/common/bus/bus_gm20b.o
CC drivers/i2c/algos/i2c-algo-bit.o
CC drivers/gpu/drm/drm_simple_kms_helper.o
make[2]: *** [../scripts/Makefile.build:652: drivers/crypto] Error 2
make[2]: *** Waiting for unfinished jobs....
CC drivers/gpio/gpio-tegra.o
CC drivers/input/misc/gpio_event.o
CC drivers/gpu/host1x/mipi.o
CC drivers/i2c/busses/i2c-tegra.o
CC drivers/i2c/busses/i2c-tegra-vi.o
CC drivers/gpio/gpio-tegra186.o
CC drivers/input/misc/gpio_matrix.o
CC drivers/i2c/muxes/i2c-mux-gpio.o
LD drivers/input/keyboard/built-in.o
CC drivers/hid/hidraw.o
CC drivers/i2c/muxes/i2c-mux-pca954x.o
CC drivers/gpu/nvgpu/common/bus/bus_gp10b.o
CC drivers/firmware/tegra/bpmp_tty.o
CC drivers/hid/uhid.o
CC drivers/hid/hid-generic.o
CC drivers/iio/industrialio-trigger.o
CC drivers/gpio/gpio-tmpm32xi2c.o
LD drivers/i2c/muxes/built-in.o
LD drivers/i2c/algos/built-in.o
LD drivers/iio/accel/built-in.o
CC drivers/input/misc/gpio_input.o
CC drivers/gpu/nvgpu/common/bus/bus_gv100.o
CC drivers/firmware/tegra/mail.o
CC drivers/firmware/tegra/mail_t186.o
CC drivers/firmware/tegra/mail_t210.o
CC drivers/gpu/host1x/hw/host1x01.o
CC drivers/firmware/tegra/mailman.o
CC drivers/gpu/host1x/hw/host1x02.o
CC drivers/hid/usbhid/hid-core.o
CC drivers/hid/usbhid/hid-quirks.o
CC drivers/gpu/host1x/hw/host1x04.o
CC drivers/gpu/host1x/hw/host1x05.o
CC drivers/gpu/nvgpu/common/priv_ring/priv_ring_gm20b.o
CC drivers/gpu/nvgpu/common/priv_ring/priv_ring_gp10b.o
LD drivers/gpio/built-in.o
CC drivers/input/misc/gpio_output.o
CC drivers/gpu/nvgpu/common/ptimer/ptimer.o
CC drivers/gpu/drm/drm_modeset_helper.o
CC drivers/i2c/busses/i2c-bpmp-tegra.o
CC drivers/i2c/busses/i2c-ivc-single.o
CC drivers/i2c/busses/i2c-ivc-multi.o
LD drivers/iio/adc/built-in.o
LD drivers/iio/amplifiers/built-in.o
CC drivers/gpu/drm/drm_fb_helper.o
CC drivers/gpu/nvgpu/common/ptimer/ptimer_gk20a.o
LD drivers/iio/chemical/built-in.o
CC drivers/iio/buffer/industrialio-triggered-buffer.o
LD drivers/input/mouse/built-in.o
LD drivers/firmware/tegra/built-in.o
LD drivers/iio/common/hid-sensors/built-in.o
CC drivers/iio/buffer/kfifo_buf.o
LD drivers/firmware/built-in.o
LD drivers/iio/common/ms_sensors/built-in.o
CC drivers/gpu/nvgpu/common/fb/fb_gm20b.o
LD drivers/iio/common/st_sensors/built-in.o
CC drivers/input/misc/gpio_axis.o
LD drivers/iio/common/ssp_sensors/built-in.o
LD drivers/input/touchscreen/built-in.o
CC drivers/input/misc/uinput.o
CC drivers/gpu/host1x/dev_t186.o
CC drivers/input/keyreset.o
LD drivers/iio/dac/built-in.o
LD drivers/iio/common/built-in.o
CC drivers/input/keycombo.o
CC drivers/gpu/nvgpu/common/fb/fb_gp10b.o
LD drivers/iio/dummy/built-in.o
LD drivers/iio/frequency/built-in.o
CC drivers/gpu/nvgpu/common/fb/fb_gp106.o
CC drivers/gpu/nvgpu/common/fb/fb_gv11b.o
CC drivers/gpu/drm/drm_auth.o
LD drivers/input/input-core.o
CC drivers/gpu/nvgpu/common/fb/fb_gv100.o
LD drivers/hid/hid.o
LD drivers/iio/generic/built-in.o
CC drivers/gpu/drm/drm_bufs.o
In file included from /home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/drivers/gpu/host1x/dev_t186.c:18:0:
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/drivers/gpu/host1x/dev_t186.h: In function ‘host1x_hw_sync_get_mutex_owner’:
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/drivers/gpu/host1x/dev_t186.h:32:17: error: ‘const struct host1x_syncpt_ops’ has no member named ‘get_mutex_owner’
host->syncpt_op->get_mutex_owner(sp, mutex_id, cpu, ch, chid);
^~
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/drivers/gpu/host1x/dev_t186.c: At top level:
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/drivers/gpu/host1x/dev_t186.c:29:3: error: ‘struct host1x_info’ has no member named ‘gather_filter_enabled’
.gather_filter_enabled = true,
^~~~~~~~~~~~~~~~~~~~~
make[4]: *** [../scripts/Makefile.build:338: drivers/gpu/host1x/dev_t186.o] Error 1
make[3]: *** [../scripts/Makefile.build:652: drivers/gpu/host1x] Error 2
make[3]: *** Waiting for unfinished jobs....
LD drivers/iio/gyro/built-in.o
CC drivers/gpu/nvgpu/common/xve/xve_gp106.o
CC drivers/gpu/nvgpu/common/therm/therm.o
CC drivers/gpu/drm/drm_cache.o
CC drivers/gpu/nvgpu/common/therm/therm_gm20b.o
LD drivers/iio/health/built-in.o
CC drivers/i2c/busses/i2c-rtcpu.o
LD drivers/iio/humidity/built-in.o
CC drivers/gpu/drm/drm_context.o
CC drivers/gpu/drm/drm_dma.o
CC drivers/i2c/busses/i2c-rtcpu-clk-config.o
CC drivers/gpu/nvgpu/common/therm/therm_gp10b.o
LD drivers/iio/light/built-in.o
LD drivers/iio/buffer/built-in.o
CC drivers/gpu/drm/drm_fops.o
CC drivers/gpu/nvgpu/common/therm/therm_gv11b.o
CC drivers/gpu/nvgpu/common/therm/therm_gp106.o
LD drivers/iio/imu/bmi088/built-in.o
LD drivers/hid/usbhid/usbhid.o
LD drivers/iio/imu/bmi160/built-in.o
LD drivers/hid/usbhid/built-in.o
LD drivers/hid/built-in.o
CC drivers/gpu/drm/drm_gem.o
LD drivers/iio/imu/inv_mpu/inv_compass/built-in.o
LD drivers/iio/imu/inv_mpu6050/built-in.o
LD drivers/iio/imu/inv_mpu/inv_test/built-in.o
LD drivers/input/misc/built-in.o
LD drivers/iio/imu/inv_mpu/built-in.o
LD drivers/input/built-in.o
CC drivers/gpu/nvgpu/common/fuse/fuse_gm20b.o
CC drivers/gpu/drm/drm_ioctl.o
LD drivers/iio/imu/nvi_mpu/built-in.o
CC drivers/gpu/drm/drm_irq.o
LD drivers/iio/imu/nvs_bmi/built-in.o
LD drivers/iio/imu/tsfw_icm20628/built-in.o
CC drivers/gpu/nvgpu/common/fuse/fuse_gp10b.o
CC drivers/gpu/drm/drm_lock.o
LD drivers/iio/magnetometer/built-in.o
LD drivers/iio/imu/built-in.o
LD drivers/iio/orientation/built-in.o
CC drivers/gpu/nvgpu/common/fuse/fuse_gp106.o
LD drivers/iio/potentiometer/built-in.o
LD drivers/iio/pressure/built-in.o
CC drivers/gpu/nvgpu/common/top/top_gv100.o
CC drivers/gpu/drm/drm_memory.o
LD drivers/iio/proximity/built-in.o
LD drivers/iio/temperature/built-in.o
LD drivers/iio/trigger/built-in.o
LD drivers/iio/industrialio.o
CC drivers/gpu/nvgpu/common/mc/mc.o
CC drivers/gpu/drm/drm_drv.o
CC drivers/gpu/drm/drm_vm.o
CC drivers/gpu/drm/drm_scatter.o
LD drivers/i2c/busses/built-in.o
CC drivers/gpu/nvgpu/common/mc/mc_gm20b.o
LD drivers/i2c/built-in.o
LD drivers/iio/built-in.o
CC drivers/gpu/nvgpu/common/mc/mc_gp10b.o
CC drivers/gpu/drm/drm_pci.o
CC drivers/gpu/nvgpu/common/mc/mc_gv11b.o
CC drivers/gpu/drm/drm_platform.o
CC drivers/gpu/drm/drm_sysfs.o
CC drivers/gpu/drm/drm_hashtab.o
CC drivers/gpu/drm/drm_crtc.o
CC drivers/gpu/drm/drm_mm.o
CC drivers/gpu/drm/drm_fourcc.o
CC drivers/gpu/nvgpu/common/mc/mc_gv100.o
CC drivers/gpu/drm/drm_modes.o
CC drivers/gpu/nvgpu/common/sync/channel_sync.o
CC drivers/gpu/nvgpu/common/power_features/power_features.o
CC drivers/gpu/drm/drm_edid.o
CC drivers/gpu/drm/drm_info.o
CC drivers/gpu/drm/drm_debugfs.o
CC drivers/gpu/nvgpu/common/power_features/cg/cg.o
CC drivers/gpu/nvgpu/common/power_features/pg/pg.o
CC drivers/gpu/drm/drm_encoder_slave.o
CC drivers/gpu/drm/drm_trace_points.o
CC drivers/gpu/nvgpu/os/linux/os_ops.o
CC drivers/gpu/nvgpu/os/linux/os_ops_gm20b.o
CC drivers/gpu/drm/drm_global.o
CC drivers/gpu/drm/drm_prime.o
CC drivers/gpu/drm/drm_rect.o
CC drivers/gpu/nvgpu/os/linux/os_ops_gp10b.o
CC drivers/gpu/drm/drm_vma_manager.o
CC drivers/gpu/drm/drm_flip_work.o
CC drivers/gpu/nvgpu/os/linux/os_ops_gp106.o
CC drivers/gpu/nvgpu/os/linux/os_ops_gv100.o
CC drivers/gpu/drm/drm_modeset_lock.o
CC drivers/gpu/drm/drm_atomic.o
CC drivers/gpu/drm/drm_bridge.o
CC drivers/gpu/drm/drm_framebuffer.o
CC drivers/gpu/nvgpu/os/linux/os_ops_gv11b.o
CC drivers/gpu/drm/drm_connector.o
CC drivers/gpu/nvgpu/os/linux/kmem.o
CC drivers/gpu/drm/drm_blend.o
CC drivers/gpu/drm/drm_encoder.o
CC drivers/gpu/nvgpu/os/linux/timers.o
CC drivers/gpu/nvgpu/os/linux/ioctl.o
CC drivers/gpu/drm/drm_mode_object.o
CC drivers/gpu/drm/drm_property.o
CC drivers/gpu/nvgpu/os/linux/ioctl_ctrl.o
CC drivers/gpu/drm/drm_plane.o
CC drivers/gpu/nvgpu/os/linux/ioctl_as.o
CC drivers/gpu/drm/drm_ioc32.o
CC drivers/gpu/drm/drm_color_mgmt.o
CC drivers/gpu/drm/ati_pcigart.o
CC drivers/gpu/drm/drm_panel.o
CC drivers/gpu/drm/drm_of.o
CC drivers/gpu/drm/drm_mipi_dsi.o
CC drivers/gpu/nvgpu/os/linux/ioctl_channel.o
CC drivers/gpu/nvgpu/os/linux/ioctl_tsg.o
CC drivers/gpu/nvgpu/os/linux/ioctl_dbg.o
CC drivers/gpu/nvgpu/os/linux/ioctl_clk_arb.o
LD drivers/gpu/drm/bridge/built-in.o
CC drivers/gpu/nvgpu/os/linux/log.o
LD drivers/gpu/drm/i2c/built-in.o
LD drivers/gpu/drm/hisilicon/built-in.o
CC drivers/gpu/nvgpu/os/linux/cond.o
LD drivers/gpu/drm/omapdrm/displays/built-in.o
LD drivers/gpu/drm/omapdrm/dss/built-in.o
LD drivers/gpu/drm/panel/built-in.o
LD drivers/gpu/drm/omapdrm/built-in.o
CC drivers/gpu/nvgpu/os/linux/nvgpu_mem.o
LD drivers/gpu/drm/tilcdc/built-in.o
LD drivers/gpu/drm/drm_kms_helper.o
CC drivers/gpu/drm/tegra_udrm/tegra_udrm_drv.o
CC drivers/gpu/nvgpu/os/linux/linux-dma.o
CC drivers/gpu/nvgpu/os/linux/driver_common.o
CC drivers/gpu/nvgpu/os/linux/thread.o
CC drivers/gpu/nvgpu/os/linux/firmware.o
CC drivers/gpu/nvgpu/os/linux/vm.o
CC drivers/gpu/nvgpu/os/linux/intr.o
CC drivers/gpu/nvgpu/os/linux/sysfs.o
CC drivers/gpu/nvgpu/os/linux/io.o
CC drivers/gpu/nvgpu/os/linux/io_usermode.o
CC drivers/gpu/nvgpu/os/linux/rwsem.o
CC drivers/gpu/nvgpu/os/linux/comptags.o
CC drivers/gpu/nvgpu/os/linux/dmabuf.o
CC drivers/gpu/nvgpu/os/linux/sched.o
CC drivers/gpu/drm/tegra/drm.o
CC drivers/gpu/nvgpu/os/linux/linux-channel.o
CC drivers/gpu/nvgpu/os/linux/sim.o
CC drivers/gpu/nvgpu/os/linux/sim_pci.o
CC drivers/gpu/nvgpu/os/linux/os_sched.o
CC drivers/gpu/nvgpu/os/linux/nvlink.o
CC drivers/gpu/nvgpu/os/linux/dt.o
CC drivers/gpu/drm/tegra/gem.o
CC drivers/gpu/drm/tegra/fb.o
CC drivers/gpu/drm/tegra/dc.o
CC drivers/gpu/nvgpu/os/linux/ecc_sysfs.o
CC drivers/gpu/nvgpu/os/linux/ltc.o
CC drivers/gpu/drm/tegra/output.o
CC drivers/gpu/drm/tegra/rgb.o
CC drivers/gpu/nvgpu/os/linux/vpr.o
CC drivers/gpu/nvgpu/os/linux/sdl.o
CC drivers/gpu/drm/tegra/hdmi.o
LD drivers/gpu/drm/tegra_udrm/tegra-udrm.o
CC drivers/gpu/drm/tegra/mipi-phy.o
LD drivers/gpu/drm/tegra_udrm/built-in.o
CC drivers/gpu/drm/tegra/dsi.o
CC drivers/gpu/drm/tegra/sor.o
CC drivers/gpu/nvgpu/os/linux/dmabuf_vidmem.o
CC drivers/gpu/drm/tegra/dpaux.o
CC drivers/gpu/nvgpu/os/linux/debug.o
CC drivers/gpu/nvgpu/os/linux/debug_gr.o
CC drivers/gpu/nvgpu/os/linux/debug_fifo.o
CC drivers/gpu/drm/tegra/gr2d.o
CC drivers/gpu/nvgpu/os/linux/debug_ce.o
CC drivers/gpu/nvgpu/os/linux/debug_pmu.o
CC drivers/gpu/nvgpu/os/linux/debug_pmgr.o
CC drivers/gpu/nvgpu/os/linux/debug_sched.o
../drivers/gpu/drm/tegra/dc.c: In function ‘tegra_dc_probe’:
../drivers/gpu/drm/tegra/dc.c:1987:20: error: ‘TEGRA_POWERGATE_DIS’ undeclared (first use in this function); did you mean ‘TEGRA_POWERGATE_3D0’?
dc->powergate = TEGRA_POWERGATE_DIS;
^~~~~~~~~~~~~~~~~~~
TEGRA_POWERGATE_3D0
../drivers/gpu/drm/tegra/dc.c:1987:20: note: each undeclared identifier is reported only once for each function it appears in
../drivers/gpu/drm/tegra/dc.c:1989:20: error: ‘TEGRA_POWERGATE_DISB’ undeclared (first use in this function); did you mean ‘TEGRA_POWERGATE_DIS’?
dc->powergate = TEGRA_POWERGATE_DISB;
^~~~~~~~~~~~~~~~~~~~
TEGRA_POWERGATE_DIS
../drivers/gpu/drm/tegra/dc.c:1991:3: error: implicit declaration of function ‘tegra_powergate_power_off’; did you mean ‘tegra_io_rail_power_off’? [-Werror=implicit-function-declaration]
tegra_powergate_power_off(dc->powergate);
^~~~~~~~~~~~~~~~~~~~~~~~~
tegra_io_rail_power_off
CC drivers/gpu/nvgpu/os/linux/debug_allocator.o
CC drivers/gpu/drm/tegra/gr3d.o
../drivers/gpu/drm/tegra/dc.c: In function ‘tegra_dc_resume’:
../drivers/gpu/drm/tegra/dc.c:2077:9: error: implicit declaration of function ‘tegra_powergate_sequence_power_up’ [-Werror=implicit-function-declaration]
err = tegra_powergate_sequence_power_up(dc->powergate, dc->clk,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LD drivers/gpu/drm/drm.o
cc1: all warnings being treated as errors
make[5]: *** [../scripts/Makefile.build:338: drivers/gpu/drm/tegra/dc.o] Error 1
make[5]: *** Waiting for unfinished jobs....
CC drivers/gpu/nvgpu/os/linux/debug_hal.o
CC drivers/gpu/nvgpu/os/linux/debug_clk_gm20b.o
CC drivers/gpu/nvgpu/os/linux/debug_therm_gp106.o
CC drivers/gpu/nvgpu/os/linux/debug_clk_gp106.o
CC drivers/gpu/nvgpu/os/linux/debug_bios.o
CC drivers/gpu/nvgpu/os/linux/debug_ltc.o
CC drivers/gpu/nvgpu/os/linux/debug_xve.o
CC drivers/gpu/nvgpu/os/linux/debug_clk_gv100.o
CC drivers/gpu/nvgpu/os/linux/module.o
CC drivers/gpu/nvgpu/os/linux/module_usermode.o
CC drivers/gpu/nvgpu/os/linux/soc.o
CC drivers/gpu/nvgpu/os/linux/fuse.o
CC drivers/gpu/nvgpu/os/linux/platform_gk20a_tegra.o
CC drivers/gpu/nvgpu/os/linux/platform_gp10b_tegra.o
CC drivers/gpu/nvgpu/os/linux/platform_gv11b_tegra.o
../drivers/gpu/drm/tegra/gr3d.c: In function ‘gr3d_probe’:
CC drivers/gpu/nvgpu/os/linux/sync_sema_android.o
../drivers/gpu/drm/tegra/gr3d.c:284:8: error: implicit declaration of function ‘tegra_powergate_sequence_power_up’ [-Werror=implicit-function-declaration]
err = tegra_powergate_sequence_power_up(TEGRA_POWERGATE_3D, gr3d->clk,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/gpu/drm/tegra/gr3d.c:284:42: error: ‘TEGRA_POWERGATE_3D’ undeclared (first use in this function); did you mean ‘TEGRA_POWERGATE_3D0’?
err = tegra_powergate_sequence_power_up(TEGRA_POWERGATE_3D, gr3d->clk,
^~~~~~~~~~~~~~~~~~
TEGRA_POWERGATE_3D0
../drivers/gpu/drm/tegra/gr3d.c:284:42: note: each undeclared identifier is reported only once for each function it appears in
../drivers/gpu/drm/tegra/gr3d.c:292:43: error: ‘TEGRA_POWERGATE_3D1’ undeclared (first use in this function); did you mean ‘TEGRA_POWERGATE_3D’?
err = tegra_powergate_sequence_power_up(TEGRA_POWERGATE_3D1,
^~~~~~~~~~~~~~~~~~~
TEGRA_POWERGATE_3D
CC drivers/gpu/nvgpu/os/linux/os_fence_android.o
CC drivers/gpu/nvgpu/os/linux/os_fence_android_sema.o
../drivers/gpu/drm/tegra/gr3d.c: In function ‘gr3d_remove’:
../drivers/gpu/drm/tegra/gr3d.c:341:3: error: implicit declaration of function ‘tegra_powergate_power_off’; did you mean ‘tegra_io_rail_power_off’? [-Werror=implicit-function-declaration]
tegra_powergate_power_off(TEGRA_POWERGATE_3D1);
^~~~~~~~~~~~~~~~~~~~~~~~~
tegra_io_rail_power_off
CC drivers/gpu/nvgpu/os/linux/os_fence_android_syncpt.o
CC drivers/gpu/nvgpu/os/linux/pci.o
../drivers/gpu/drm/tegra/gr3d.c:341:29: error: ‘TEGRA_POWERGATE_3D1’ undeclared (first use in this function); did you mean ‘TEGRA_POWERGATE_3D0’?
tegra_powergate_power_off(TEGRA_POWERGATE_3D1);
^~~~~~~~~~~~~~~~~~~
TEGRA_POWERGATE_3D0
../drivers/gpu/drm/tegra/gr3d.c:345:28: error: ‘TEGRA_POWERGATE_3D’ undeclared (first use in this function); did you mean ‘TEGRA_POWERGATE_3D1’?
tegra_powergate_power_off(TEGRA_POWERGATE_3D);
^~~~~~~~~~~~~~~~~~
TEGRA_POWERGATE_3D1
CC drivers/gpu/nvgpu/os/linux/pci_usermode.o
cc1: all warnings being treated as errors
CC drivers/gpu/nvgpu/os/linux/nvhost.o
make[5]: *** [../scripts/Makefile.build:338: drivers/gpu/drm/tegra/gr3d.o] Error 1
CC drivers/gpu/nvgpu/os/linux/clk.o
CC drivers/gpu/nvgpu/os/linux/scale.o
CC drivers/gpu/nvgpu/os/linux/cde.o
CC drivers/gpu/nvgpu/os/linux/cde_gm20b.o
CC drivers/gpu/nvgpu/os/linux/cde_gp10b.o
CC drivers/gpu/nvgpu/os/linux/nvidia_p2p.o
CC drivers/gpu/nvgpu/os/linux/debug_cde.o
CC drivers/gpu/nvgpu/common/mm/nvgpu_allocator.o
In file included from /home/rvp/work/Linux_for_Tegra/sources/kernel/nvgpu/drivers/gpu/nvgpu/os/linux/nvhost.c:17:0:
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h: In function ‘nvhost_syncpt_read_ext_check’:
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h:501:2: error: implicit declaration of function ‘host1x_syncpt_update_min’; did you mean ‘host1x_syncpt_read_min’? [-Werror=implicit-function-declaration]
host1x_syncpt_update_min(syncpt);
^~~~~~~~~~~~~~~~~~~~~~~~
host1x_syncpt_read_min
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h: In function ‘nvhost_syncpt_is_expired_ext’:
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h:540:9: error: implicit declaration of function ‘host1x_syncpt_is_expired’; did you mean ‘host1x_syncpt_base_id’? [-Werror=implicit-function-declaration]
return host1x_syncpt_is_expired(syncpt, thresh);
^~~~~~~~~~~~~~~~~~~~~~~~
host1x_syncpt_base_id
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h: In function ‘nvhost_syncpt_set_min_eq_max_ext’:
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h:549:2: error: implicit declaration of function ‘host1x_syncpt_reset’; did you mean ‘host1x_syncpt_free’? [-Werror=implicit-function-declaration]
host1x_syncpt_reset(syncpt);
^~~~~~~~~~~~~~~~~~~
host1x_syncpt_free
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h: In function ‘nvhost_intr_register_notifier’:
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h:567:9: error: implicit declaration of function ‘host1x_intr_register_notifier’; did you mean ‘nvhost_intr_register_notifier’? [-Werror=implicit-function-declaration]
return host1x_intr_register_notifier(syncpt, thresh, callback,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nvhost_intr_register_notifier
CC drivers/gpu/nvgpu/common/mm/bitmap_allocator.o
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h: In function ‘nvhost_sync_create_fence’:
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h:594:9: error: implicit declaration of function ‘host1x_sync_create_fence’; did you mean ‘nvhost_sync_create_fence’? [-Werror=implicit-function-declaration]
return host1x_sync_create_fence(host, (void *)pts, num_pts, name);
^~~~~~~~~~~~~~~~~~~~~~~~
nvhost_sync_create_fence
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h:594:9: error: return makes pointer from integer without a cast [-Werror=int-conversion]
return host1x_sync_create_fence(host, (void *)pts, num_pts, name);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h: In function ‘nvhost_sync_create_fence_fd’:
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h:606:9: error: implicit declaration of function ‘host1x_sync_create_fence_fd’; did you mean ‘nvhost_sync_create_fence_fd’? [-Werror=implicit-function-declaration]
return host1x_sync_create_fence_fd(host, (void *)pts, num_pts,
^~~~~~~~~~~~~~~~~~~~~~~~~~~
nvhost_sync_create_fence_fd
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h: In function ‘nvhost_sync_fdget’:
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h:612:9: error: implicit declaration of function ‘host1x_sync_fdget’; did you mean ‘host1x_syncpt_get’? [-Werror=implicit-function-declaration]
return host1x_sync_fdget(fd);
^~~~~~~~~~~~~~~~~
host1x_syncpt_get
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h:612:9: error: return makes pointer from integer without a cast [-Werror=int-conversion]
return host1x_sync_fdget(fd);
^~~~~~~~~~~~~~~~~~~~~
CC drivers/gpu/nvgpu/common/mm/buddy_allocator.o
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h: In function ‘nvhost_sync_num_pts’:
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h:617:9: error: implicit declaration of function ‘host1x_sync_num_fences’; did you mean ‘host1x_syncpt_free’? [-Werror=implicit-function-declaration]
return host1x_sync_num_fences(fence);
^~~~~~~~~~~~~~~~~~~~~~
host1x_syncpt_free
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h: In function ‘nvhost_sync_pt_id’:
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h:622:9: error: implicit declaration of function ‘host1x_sync_pt_id’; did you mean ‘host1x_syncpt_id’? [-Werror=implicit-function-declaration]
return host1x_sync_pt_id(pt);
^~~~~~~~~~~~~~~~~
host1x_syncpt_id
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h: In function ‘nvhost_sync_pt_thresh’:
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h:627:9: error: implicit declaration of function ‘host1x_sync_pt_thresh’; did you mean ‘nvhost_sync_pt_thresh’? [-Werror=implicit-function-declaration]
return host1x_sync_pt_thresh(pt);
^~~~~~~~~~~~~~~~~~~~~
nvhost_sync_pt_thresh
CC drivers/gpu/nvgpu/common/mm/page_allocator.o
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h: In function ‘nvhost_sync_fence_set_name’:
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h:632:9: error: implicit declaration of function ‘host1x_sync_fence_set_name’; did you mean ‘nvhost_sync_fence_set_name’? [-Werror=implicit-function-declaration]
return host1x_sync_fence_set_name(fence_fd, name);
^~~~~~~~~~~~~~~~~~~~~~~~~~
nvhost_sync_fence_set_name
CC drivers/gpu/nvgpu/common/mm/lockless_allocator.o
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h: In function ‘nvhost_syncpt_create_fence_single_ext’:
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h:642:9: error: implicit declaration of function ‘host1x_sync_create_fence_single’; did you mean ‘nvhost_syncpt_create_fence_single_ext’? [-Werror=implicit-function-declaration]
return host1x_sync_create_fence_single(host, id, thresh,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nvhost_syncpt_create_fence_single_ext
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h: At top level:
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h:678:69: error: parameter 6 (‘kind’) has incomplete type
enum nvdev_fence_kind kind,
^~~~
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvidia/include/linux/nvhost.h:673:20: error: function declaration isn’t a prototype [-Werror=strict-prototypes]
static inline void nvhost_eventlib_log_fences(struct platform_device *pdev,
^~~~~~~~~~~~~~~~~~~~~~~~~~
CC drivers/gpu/nvgpu/common/mm/gmmu.o
CC drivers/gpu/nvgpu/common/mm/pd_cache.o
CC drivers/gpu/nvgpu/common/mm/vm.o
CC drivers/gpu/nvgpu/common/mm/vm_area.o
make[4]: *** [../scripts/Makefile.build:652: drivers/gpu/drm/tegra] Error 2
make[3]: *** [../scripts/Makefile.build:652: drivers/gpu/drm] Error 2
CC drivers/gpu/nvgpu/common/mm/nvgpu_mem.o
CC drivers/gpu/nvgpu/common/mm/comptags.o
CC drivers/gpu/nvgpu/common/mm/mm.o
CC drivers/gpu/nvgpu/common/mm/dma.o
CC drivers/gpu/nvgpu/common/enabled.o
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvgpu/drivers/gpu/nvgpu/os/linux/nvhost.c: In function ‘nvgpu_nvhost_syncpt_read_maxval’:
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvgpu/drivers/gpu/nvgpu/os/linux/nvhost.c:167:9: error: implicit declaration of function ‘nvhost_syncpt_read_maxval’; did you mean ‘nvgpu_nvhost_syncpt_read_maxval’? [-Werror=implicit-function-declaration]
return nvhost_syncpt_read_maxval(nvhost_dev->host1x_pdev, id);
^~~~~~~~~~~~~~~~~~~~~~~~~
nvgpu_nvhost_syncpt_read_maxval
CC drivers/gpu/nvgpu/common/nvlink.o
CC drivers/gpu/nvgpu/common/pramin.o
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvgpu/drivers/gpu/nvgpu/os/linux/nvhost.c: In function ‘nvgpu_nvhost_syncpt_set_safe_state’:
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvgpu/drivers/gpu/nvgpu/os/linux/nvhost.c:182:8: error: implicit declaration of function ‘nvhost_syncpt_read_minval’; did you mean ‘host1x_syncpt_read_min’? [-Werror=implicit-function-declaration]
val = nvhost_syncpt_read_minval(nvhost_dev->host1x_pdev, id);
^~~~~~~~~~~~~~~~~~~~~~~~~
host1x_syncpt_read_min
CC drivers/gpu/nvgpu/common/semaphore.o
CC drivers/gpu/nvgpu/common/as.o
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvgpu/drivers/gpu/nvgpu/os/linux/nvhost.c:185:2: error: implicit declaration of function ‘nvhost_syncpt_set_minval’; did you mean ‘nvhost_syncpt_get_name’? [-Werror=implicit-function-declaration]
nvhost_syncpt_set_minval(nvhost_dev->host1x_pdev, id, val);
^~~~~~~~~~~~~~~~~~~~~~~~
nvhost_syncpt_get_name
/home/rvp/work/Linux_for_Tegra/sources/kernel/nvgpu/drivers/gpu/nvgpu/os/linux/nvhost.c:186:2: error: implicit declaration of function ‘nvhost_syncpt_set_maxval’; did you mean ‘nvhost_syncpt_get_name’? [-Werror=implicit-function-declaration]
nvhost_syncpt_set_maxval(nvhost_dev->host1x_pdev, id, val);
^~~~~~~~~~~~~~~~~~~~~~~~
nvhost_syncpt_get_name
There is no such functiond all over the kernel at all. How can I fix this?
When I try to start DE sway output is:
cat sway.txt
00:00:10.032 [ERROR] [wlr] [backend/backend.c:217] Found 0 GPUs, cannot create backend
00:00:10.032 [ERROR] [wlr] [backend/backend.c:390] Failed to open any DRM device
00:00:10.191 [ERROR] [sway/server.c:73] Unable to create backend