Subversion Repositories Kolibri OS

Rev

Rev 1179 | Rev 1268 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1179 Rev 1246
Line 35... Line 35...
35
 */
35
 */
36
int radeon_gart_table_ram_alloc(struct radeon_device *rdev)
36
int radeon_gart_table_ram_alloc(struct radeon_device *rdev)
37
{
37
{
38
	void *ptr;
38
	void *ptr;
Line 39... Line 39...
39
 
39
 
40
//   ptr = pci_alloc_consistent(rdev->pdev, rdev->gart.table_size,
40
    ptr = pci_alloc_consistent(rdev->pdev, rdev->gart.table_size,
41
//                  &rdev->gart.table_addr);
41
                  &rdev->gart.table_addr);
42
	if (ptr == NULL) {
42
	if (ptr == NULL) {
43
		return -ENOMEM;
43
		return -ENOMEM;
44
	}
44
	}
45
#ifdef CONFIG_X86
45
#ifdef CONFIG_X86