svn commit: r190129 - in stable/7/sys: . contrib/pf dev/ath/ath_hal
dev/cxgb dev/drm
Robert Noland
rnoland at FreeBSD.org
Thu Mar 19 22:43:25 PDT 2009
Author: rnoland
Date: Fri Mar 20 05:43:24 2009
New Revision: 190129
URL: http://svn.freebsd.org/changeset/base/190129
Log:
Merge 189909
Change the logic around to match ati_pcigart.
Modified:
stable/7/sys/ (props changed)
stable/7/sys/contrib/pf/ (props changed)
stable/7/sys/dev/ath/ath_hal/ (props changed)
stable/7/sys/dev/cxgb/ (props changed)
stable/7/sys/dev/drm/r600_cp.c
Modified: stable/7/sys/dev/drm/r600_cp.c
==============================================================================
--- stable/7/sys/dev/drm/r600_cp.c Fri Mar 20 05:42:27 2009 (r190128)
+++ stable/7/sys/dev/drm/r600_cp.c Fri Mar 20 05:43:24 2009 (r190129)
@@ -174,7 +174,6 @@ int r600_page_table_init(struct drm_devi
if (entry->busaddr[i] == 0) {
DRM_ERROR("unable to map PCIGART pages!\n");
r600_page_table_cleanup(dev, gart_info);
- ret = -EINVAL;
goto done;
}
#endif
@@ -193,6 +192,7 @@ int r600_page_table_init(struct drm_devi
entry_addr += ATI_PCIGART_PAGE_SIZE;
}
}
+ ret = 1;
#ifdef __linux__
done:
#endif
@@ -2100,7 +2100,7 @@ int r600_do_init_cp(struct drm_device *d
dev_priv->gart_info.addr,
dev_priv->pcigart_offset);
- if (r600_page_table_init(dev)) {
+ if (!r600_page_table_init(dev)) {
DRM_ERROR("Failed to init GART table\n");
r600_do_cleanup_cp(dev);
return -EINVAL;
More information about the svn-src-stable
mailing list