提交 9b1a51b6 编写于 作者: D 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: NDave Airlie <airlied@linux.ie>
上级 1f27ce6a
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册