Subversion Repositories Kolibri OS

Rev

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

Rev 1403 Rev 1404
Line 1709... Line 1709...
1709
	return radeon_debugfs_add_files(rdev, r600_mc_info_list, ARRAY_SIZE(r600_mc_info_list));
1709
	return radeon_debugfs_add_files(rdev, r600_mc_info_list, ARRAY_SIZE(r600_mc_info_list));
1710
#else
1710
#else
1711
	return 0;
1711
	return 0;
1712
#endif
1712
#endif
1713
}
1713
}
-
 
1714
 
-
 
1715
/**
-
 
1716
 * r600_ioctl_wait_idle - flush host path cache on wait idle ioctl
-
 
1717
 * rdev: radeon device structure
-
 
1718
 * bo: buffer object struct which userspace is waiting for idle
-
 
1719
 *
-
 
1720
 * Some R6XX/R7XX doesn't seems to take into account HDP flush performed
-
 
1721
 * through ring buffer, this leads to corruption in rendering, see
-
 
1722
 * http://bugzilla.kernel.org/show_bug.cgi?id=15186 to avoid this we
-
 
1723
 * directly perform HDP flush by writing register through MMIO.
-
 
1724
 */
-
 
1725
void r600_ioctl_wait_idle(struct radeon_device *rdev, struct radeon_bo *bo)
-
 
1726
{
-
 
1727
	WREG32(R_005480_HDP_MEM_COHERENCY_FLUSH_CNTL, 0x1);
-
 
1728
}