Subversion Repositories Kolibri OS

Rev

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

Rev 1128 Rev 1129
Line 58... Line 58...
58
int rv515_mc_init(struct radeon_device *rdev)
58
int rv515_mc_init(struct radeon_device *rdev)
59
{
59
{
60
	uint32_t tmp;
60
	uint32_t tmp;
61
	int r;
61
	int r;
Line 62... Line 62...
62
 
62
 
63
//   if (r100_debugfs_rbbm_init(rdev)) {
63
	if (r100_debugfs_rbbm_init(rdev)) {
64
//       DRM_ERROR("Failed to register debugfs file for RBBM !\n");
64
		DRM_ERROR("Failed to register debugfs file for RBBM !\n");
65
//   }
65
	}
66
//   if (rv515_debugfs_pipes_info_init(rdev)) {
66
	if (rv515_debugfs_pipes_info_init(rdev)) {
67
//       DRM_ERROR("Failed to register debugfs file for pipes !\n");
67
		DRM_ERROR("Failed to register debugfs file for pipes !\n");
68
//   }
68
	}
69
//   if (rv515_debugfs_ga_info_init(rdev)) {
69
	if (rv515_debugfs_ga_info_init(rdev)) {
70
//       DRM_ERROR("Failed to register debugfs file for pipes !\n");
70
		DRM_ERROR("Failed to register debugfs file for pipes !\n");
Line 71... Line 71...
71
//   }
71
	}
72
 
72
 
Line 73... Line 73...
73
	rv515_gpu_init(rdev);
73
	rv515_gpu_init(rdev);
Line 446... Line 446...
446
	(void)RREG32(RADEON_PCIE_INDEX);
446
	(void)RREG32(RADEON_PCIE_INDEX);
447
	WREG32(RADEON_PCIE_DATA, (v));
447
	WREG32(RADEON_PCIE_DATA, (v));
448
	(void)RREG32(RADEON_PCIE_DATA);
448
	(void)RREG32(RADEON_PCIE_DATA);
449
}
449
}
Line 450... Line 450...
450
 
450
 
451
#if 0
451
 
452
/*
452
/*
453
 * Debugfs info
453
 * Debugfs info
454
 */
454
 */
455
#if defined(CONFIG_DEBUG_FS)
455
#if defined(CONFIG_DEBUG_FS)
Line 511... Line 511...
511
#else
511
#else
512
	return 0;
512
	return 0;
513
#endif
513
#endif
514
}
514
}
Line 515... Line -...
515
 
-
 
Line 516... Line 515...
516
#endif
515
 
517
 
516
 
518
/*
517
/*
519
 * Asic initialization
518
 * Asic initialization