Subversion Repositories Kolibri OS

Rev

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

Rev 1246 Rev 1268
Line 140... Line 140...
140
	return -1;
140
	return -1;
141
}
141
}
Line 142... Line 142...
142
 
142
 
143
void rv515_vga_render_disable(struct radeon_device *rdev)
143
void rv515_vga_render_disable(struct radeon_device *rdev)
-
 
144
{
-
 
145
	WREG32(R_000330_D1VGA_CONTROL, 0);
144
{
146
	WREG32(R_000338_D2VGA_CONTROL, 0);
145
	WREG32(R_000300_VGA_RENDER_CONTROL,
147
	WREG32(R_000300_VGA_RENDER_CONTROL,
146
		RREG32(R_000300_VGA_RENDER_CONTROL) & C_000300_VGA_VSTATUS_CNTL);
148
		RREG32(R_000300_VGA_RENDER_CONTROL) & C_000300_VGA_VSTATUS_CNTL);
Line 147... Line 149...
147
}
149
}
Line 546... Line 548...
546
		DRM_INFO("GPU not posted. posting now...\n");
548
		DRM_INFO("GPU not posted. posting now...\n");
547
		atom_asic_init(rdev->mode_info.atom_context);
549
		atom_asic_init(rdev->mode_info.atom_context);
548
	}
550
	}
549
	/* Initialize clocks */
551
	/* Initialize clocks */
550
	radeon_get_clock_info(rdev->ddev);
552
	radeon_get_clock_info(rdev->ddev);
-
 
553
	/* Initialize power management */
-
 
554
	radeon_pm_init(rdev);
551
	/* Get vram informations */
555
	/* Get vram informations */
552
	rv515_vram_info(rdev);
556
	rv515_vram_info(rdev);
553
	/* Initialize memory controller (also test AGP) */
557
	/* Initialize memory controller (also test AGP) */
554
	r = r420_mc_init(rdev);
558
	r = r420_mc_init(rdev);
555
    dbgprintf("mc vram location %x\n", rdev->mc.vram_location);
559
    dbgprintf("mc vram location %x\n", rdev->mc.vram_location);