1 #ifndef __NV04_DISPLAY_H__
2 #define __NV04_DISPLAY_H__
25 unsigned char DAC[768];
128 const int impl = dev->pci_device & 0x0ff0;
130 if (nv_device(drm->
device)->card_type >= NV_10 && impl != 0x0100 &&
131 impl != 0x0150 && impl != 0x01a0 && impl != 0x0200)
140 return nv_two_heads(dev) && (dev->pci_device & 0x0ff0) != 0x0110;
147 const int impl = dev->pci_device & 0x0ff0;
149 if (impl == 0x0310 || impl == 0x0340 || nv_device(drm->
device)->card_type >= NV_40)
156 unsigned sub_vendor,
unsigned sub_device)
158 return dev->pdev->device == device &&
159 dev->pdev->subsystem_vendor == sub_vendor &&
160 dev->pdev->subsystem_device == sub_device;
173 .subdev = nv_subdev(bios),