Commit 9b1a51b6 authored by Dave Airlie's avatar Dave Airlie

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: default avatarDave Airlie <airlied@linux.ie>
parent 1f27ce6a
...@@ -747,7 +747,7 @@ static __inline__ int drm_core_check_feature(struct drm_device *dev, ...@@ -747,7 +747,7 @@ static __inline__ int drm_core_check_feature(struct drm_device *dev,
#ifdef __alpha__ #ifdef __alpha__
#define drm_get_pci_domain(dev) dev->hose->bus->number #define drm_get_pci_domain(dev) dev->hose->bus->number
#else #else
#define drm_get_pci_domain(dev) pci_domain_nr(dev->pdev->bus) #define drm_get_pci_domain(dev) 0
#endif #endif
#if __OS_HAS_AGP #if __OS_HAS_AGP
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment