Load drm*.ko and its dependent modules for COS kernels build with CONFIG_DRM* before nvidia-drm

This CL enables creating the /dev/dri device upon loading of
nvidia-drm.ko.

nvidia-drm.ko needs drm, drm_kms_helper as dependent
modules which will be loaded for kernels that were built with the
CONFIG_DRM and CONFIG_DRM_VKMS set.

drm.ko depends on i2c-core.ko, drm_panel_orientation_quirks.ko.

BUG=b/298610364

Change-Id: I0ba0c4a33a4b9f73dbd064b1ec17bb6dbac24165
Reviewed-on: https://cos-review.googlesource.com/c/cos/tools/+/80139
Cloud-Build: GCB Service account <228075978874@cloudbuild.gserviceaccount.com>
Reviewed-by: Oleksandr Tymoshenko <ovt@google.com>
Tested-by: Arnav Kansal <rnv@google.com>
3 files changed
tree: 7e478273eb8adfcfb3e3ce75e9ca6ea324e65f23
  1. coverage/
  2. release/
  3. src/
  4. testing/
  5. .gitignore
  6. BUILD.bazel
  7. cloudbuild.yaml
  8. CONTRIBUTING.md
  9. deps.bzl
  10. go.mod
  11. go.sum
  12. LICENSE
  13. postsubmit-cloudbuild.yaml
  14. README.md
  15. run_tests.sh
  16. run_unit_tests.sh
  17. WORKSPACE
README.md

Tools for Container-Optimized OS

This is a repository of various tools developed for Container-Optimized OS. Examples include cos-gpu-installer, cos-toolbox, etc.

See CONTRIBUTING.md for how to contribute.