Subversion Repositories Kolibri OS

Rev

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

Rev 1221 Rev 1313
Line 235... Line 235...
235
#else
235
#else
236
	return 0;
236
	return 0;
237
#endif
237
#endif
238
}
238
}
Line -... Line 239...
-
 
239
 
-
 
240
void radeon_agp_resume(struct radeon_device *rdev)
-
 
241
{
-
 
242
#if __OS_HAS_AGP
-
 
243
	int r;
-
 
244
	if (rdev->flags & RADEON_IS_AGP) {
-
 
245
		r = radeon_agp_init(rdev);
-
 
246
		if (r)
-
 
247
			dev_warn(rdev->dev, "radeon AGP reinit failed\n");
-
 
248
	}
-
 
249
#endif
-
 
250
}
239
 
251
 
240
void radeon_agp_fini(struct radeon_device *rdev)
252
void radeon_agp_fini(struct radeon_device *rdev)
241
{
253
{
242
#if __OS_HAS_AGP
254
#if __OS_HAS_AGP
243
	if (rdev->flags & RADEON_IS_AGP) {
255
	if (rdev->flags & RADEON_IS_AGP) {