nvidia.c 619 B

12345678910111213141516171819
  1. /*
  2. * NVIDIA GPU init.
  3. *
  4. * Unlike ATI Mach64/Rage which need manual CRTC_OFF_PITCH fixups,
  5. * NVIDIA GeForce cards (especially Kepler and newer like GTX 960/GM206)
  6. * handle VBE mode sets cleanly through their VBIOS. The standard VGA
  7. * CRTC registers at 0x3D4/0x3D5 should NOT be touched -- NVIDIA's
  8. * display engine ignores or misinterprets legacy VGA CRTC writes,
  9. * which can cause display corruption or system reboot.
  10. *
  11. * For now, this is intentionally a no-op. The VBE mode set from
  12. * boot.S provides a working LFB and the card needs no further fixup.
  13. */
  14. #include "nvidia.h"
  15. void nvidia_init(void)
  16. {
  17. }