diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2014-07-31 05:43:48 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2014-08-05 08:53:44 -0400 |
commit | 124764f17473479061942429ada2e5e786d5d6ed (patch) | |
tree | 74c982917e644af2f199e1d3e211da94e1f3cd40 /drivers/gpu/drm/radeon/r600.c | |
parent | f28be8101116c832c94b4473abf193850bf6c931 (diff) |
drm/radeon: s/ioctl_wait_idle/mmio_hpd_flush/
And clean up the function comment a little.
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/r600.c')
-rw-r--r-- | drivers/gpu/drm/radeon/r600.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c index c17ff5dc95c2..76e1616a25c8 100644 --- a/drivers/gpu/drm/radeon/r600.c +++ b/drivers/gpu/drm/radeon/r600.c | |||
@@ -4088,16 +4088,15 @@ int r600_debugfs_mc_info_init(struct radeon_device *rdev) | |||
4088 | } | 4088 | } |
4089 | 4089 | ||
4090 | /** | 4090 | /** |
4091 | * r600_ioctl_wait_idle - flush host path cache on wait idle ioctl | 4091 | * r600_mmio_hdp_flush - flush Host Data Path cache via MMIO |
4092 | * rdev: radeon device structure | 4092 | * rdev: radeon device structure |
4093 | * bo: buffer object struct which userspace is waiting for idle | ||
4094 | * | 4093 | * |
4095 | * Some R6XX/R7XX doesn't seems to take into account HDP flush performed | 4094 | * Some R6XX/R7XX don't seem to take into account HDP flushes performed |
4096 | * through ring buffer, this leads to corruption in rendering, see | 4095 | * through the ring buffer. This leads to corruption in rendering, see |
4097 | * http://bugzilla.kernel.org/show_bug.cgi?id=15186 to avoid this we | 4096 | * http://bugzilla.kernel.org/show_bug.cgi?id=15186 . To avoid this, we |
4098 | * directly perform HDP flush by writing register through MMIO. | 4097 | * directly perform the HDP flush by writing the register through MMIO. |
4099 | */ | 4098 | */ |
4100 | void r600_ioctl_wait_idle(struct radeon_device *rdev, struct radeon_bo *bo) | 4099 | void r600_mmio_hdp_flush(struct radeon_device *rdev) |
4101 | { | 4100 | { |
4102 | /* r7xx hw bug. write to HDP_DEBUG1 followed by fb read | 4101 | /* r7xx hw bug. write to HDP_DEBUG1 followed by fb read |
4103 | * rather than write to HDP_REG_COHERENCY_FLUSH_CNTL. | 4102 | * rather than write to HDP_REG_COHERENCY_FLUSH_CNTL. |