ati.h 481 B

12345678910111213141516
  1. /* ATI GPU init: Mach64/Rage CRTC fixups + Radeon (R200/RV280) dispatch. */
  2. #ifndef ATI_H
  3. #define ATI_H
  4. /* Called by gpu_init() with the active adapter's bus/device. */
  5. void ati_init(unsigned int bus, unsigned int dev);
  6. /* 1 if the active ATI adapter is a Radeon (needs no Mach64 CRTC fixup). */
  7. int ati_is_radeon(void);
  8. unsigned int ati_pci_id(void);
  9. unsigned int ati_off_pitch_before(void);
  10. unsigned int ati_off_pitch_after(void);
  11. unsigned int ati_mmio_method(void);
  12. #endif