summaryrefslogtreecommitdiffstats
path: root/drivers/char/drm
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2006-09-22 03:37:19 +1000
committerDave Airlie <airlied@linux.ie>2006-09-22 05:32:33 +1000
commit9b1a51b69c89028f18277e235533c160e7506ebb (patch)
tree4f73b62d45e409259cfb6ef19b7977f5aca3dc66 /drivers/char/drm
parent1f27ce6ab7ad7abf014ef7f181d494cf1107f9db (diff)
downloadtalos-op-linux-9b1a51b69c89028f18277e235533c160e7506ebb.tar.gz
talos-op-linux-9b1a51b69c89028f18277e235533c160e7506ebb.zip
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>
Diffstat (limited to 'drivers/char/drm')
-rw-r--r--drivers/char/drm/drmP.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/drm/drmP.h b/drivers/char/drm/drmP.h
index 84e9c18fdbef..4363f6e50c77 100644
--- a/drivers/char/drm/drmP.h
+++ b/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
OpenPOWER on IntegriCloud