diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2014-07-31 18:43:48 +0900 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2014-08-05 08:53:44 -0400 |
commit | 124764f17473479061942429ada2e5e786d5d6ed (patch) | |
tree | 74c982917e644af2f199e1d3e211da94e1f3cd40 /drivers/gpu/drm/radeon/radeon_gem.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/radeon_gem.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_gem.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_gem.c b/drivers/gpu/drm/radeon/radeon_gem.c index d1239be0c611..ab9abfa1ba01 100644 --- a/drivers/gpu/drm/radeon/radeon_gem.c +++ b/drivers/gpu/drm/radeon/radeon_gem.c @@ -365,9 +365,9 @@ int radeon_gem_wait_idle_ioctl(struct drm_device *dev, void *data, } robj = gem_to_radeon_bo(gobj); r = radeon_bo_wait(robj, NULL, false); - /* callback hw specific functions if any */ - if (rdev->asic->ioctl_wait_idle) - robj->rdev->asic->ioctl_wait_idle(rdev, robj); + /* Flush HDP cache via MMIO if necessary */ + if (rdev->asic->mmio_hdp_flush) + robj->rdev->asic->mmio_hdp_flush(rdev); drm_gem_object_unreference_unlocked(gobj); r = radeon_gem_handle_lockup(rdev, r); return r; |