Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 138985
b: refs/heads/master
c: 41f13fe
h: refs/heads/master
i:
  138983: 84ce1b1
v: v3
  • Loading branch information
Alex Deucher authored and Dave Airlie committed Mar 18, 2009
1 parent 3042199 commit f530f2f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 06f0a488c1b642d3cd7769da66600e5148c3fad8
refs/heads/master: 41f13fe81dd1b08723ab9f3fc3c7f29cfa81f1a5
4 changes: 2 additions & 2 deletions trunk/drivers/gpu/drm/radeon/r600_cp.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ int r600_page_table_init(struct drm_device *dev)
if (entry->busaddr[i] == 0) {
DRM_ERROR("unable to map PCIGART pages!\n");
r600_page_table_cleanup(dev, gart_info);
ret = -EINVAL;
goto done;
}
entry_addr = entry->busaddr[i];
Expand All @@ -191,6 +190,7 @@ int r600_page_table_init(struct drm_device *dev)
entry_addr += ATI_PCIGART_PAGE_SIZE;
}
}
ret = 1;
done:
return ret;
}
Expand Down Expand Up @@ -2095,7 +2095,7 @@ int r600_do_init_cp(struct drm_device *dev, drm_radeon_init_t *init,
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;
Expand Down

0 comments on commit f530f2f

Please sign in to comment.