~ubuntu-branches/ubuntu/karmic/xserver-xorg-video-intel/karmic-proposed

« back to all changes in this revision

Viewing changes to src/common.h

  • Committer: Bazaar Package Importer
  • Author(s): Bryce Harrington, Tormod Volden
  • Date: 2009-10-07 20:09:54 UTC
  • mfrom: (1.5.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091007200954-y15k4c4uq5bq1u19
Tags: 2:2.9.0-1ubuntu1
[Tormod Volden]
* Merge with Debian. Remaining Ubuntu changes:
  + debian/control: Add lpia architecture
* Drop patches now included upstream:
  + 100_8xx_perf_pict_a8.patch
  + 101_reload_cursors.patch
  + 102_dont_destroy_bufmgr_at_closescreen_time.patch
* Ubuntu bugs fixed in this release:
  + Calculate the DVO relative offset in LVDS data entry to get the DVO
    timing.  Fixes black screen at boot on i855 due to not finding LVDS
    modes.
    (LP: #410455)
  + Fix brightness by enabling BACKLIGHT property for KMS.
    (LP: #397617)

Show diffs side-by-side

added added

removed removed

Lines of Context:
310
310
#define PCI_CHIP_G41_G_BRIDGE   0x2E30
311
311
#endif
312
312
 
 
313
#ifndef PCI_CHIP_B43_G
 
314
#define PCI_CHIP_B43_G          0x2E42
 
315
#define PCI_CHIP_B43_G_BRIDGE   0x2E40
 
316
#endif
 
317
 
313
318
#ifndef PCI_CHIP_IGDNG_D_G
314
319
#define PCI_CHIP_IGDNG_D_G              0x0042
315
320
#define PCI_CHIP_IGDNG_D_G_BRIDGE       0x0040
346
351
#define IS_IGDG(pI810) (DEVICE_ID(pI810->PciInfo) == PCI_CHIP_IGD_G)
347
352
#define IS_IGD(pI810) (IS_IGDG(pI810) || IS_IGDGM(pI810))
348
353
#define IS_GM45(pI810) (DEVICE_ID(pI810->PciInfo) == PCI_CHIP_GM45_GM)
349
 
#define IS_G4X(pI810) (DEVICE_ID(pI810->PciInfo) == PCI_CHIP_IGD_E_G || DEVICE_ID(pI810->PciInfo) == PCI_CHIP_G45_G || DEVICE_ID(pI810->PciInfo) == PCI_CHIP_Q45_G || DEVICE_ID(pI810->PciInfo) == PCI_CHIP_G41_G || IS_GM45(pI810))
 
354
#define IS_G4X(pI810) (DEVICE_ID(pI810->PciInfo) == PCI_CHIP_IGD_E_G || DEVICE_ID(pI810->PciInfo) == PCI_CHIP_G45_G || DEVICE_ID(pI810->PciInfo) == PCI_CHIP_Q45_G || DEVICE_ID(pI810->PciInfo) == PCI_CHIP_G41_G || DEVICE_ID(pI810->PciInfo) == PCI_CHIP_B43_G || IS_GM45(pI810))
350
355
#define IS_I965GM(pI810) (DEVICE_ID(pI810->PciInfo) == PCI_CHIP_I965_GM || DEVICE_ID(pI810->PciInfo) == PCI_CHIP_I965_GME)
351
356
#define IS_965_Q(pI810) (DEVICE_ID(pI810->PciInfo) == PCI_CHIP_I965_Q)
352
357
#define IS_IGDNG_D(pI810) (DEVICE_ID(pI810->PciInfo) == PCI_CHIP_IGDNG_D_G)