Browse Source

drm: domain changes broke ppc r200

Freedesktop.org bug #8246

The domain changes regressed on PPC, go back to just using 0,
as X.org's domain support is crap

Signed-off-by: Dave Airlie <airlied@linux.ie>
Dave Airlie 18 năm trước cách đây
mục cha
commit
9b1a51b69c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      drivers/char/drm/drmP.h

+ 1 - 1
drivers/char/drm/drmP.h

@@ -747,7 +747,7 @@ static __inline__ int drm_core_check_feature(struct drm_device *dev,
 #ifdef __alpha__
 #define drm_get_pci_domain(dev) dev->hose->bus->number
 #else
-#define drm_get_pci_domain(dev) pci_domain_nr(dev->pdev->bus)
+#define drm_get_pci_domain(dev) 0
 #endif
 
 #if __OS_HAS_AGP