aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/radeon_cp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/drm/radeon_cp.c')
-rw-r--r--drivers/char/drm/radeon_cp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/char/drm/radeon_cp.c b/drivers/char/drm/radeon_cp.c
index df223020f0a..e16294c039e 100644
--- a/drivers/char/drm/radeon_cp.c
+++ b/drivers/char/drm/radeon_cp.c
@@ -1852,12 +1852,12 @@ int radeon_cp_start(struct drm_device *dev, void *data, struct drm_file *file_pr
1852 LOCK_TEST_WITH_RETURN(dev, file_priv); 1852 LOCK_TEST_WITH_RETURN(dev, file_priv);
1853 1853
1854 if (dev_priv->cp_running) { 1854 if (dev_priv->cp_running) {
1855 DRM_DEBUG("%s while CP running\n", __FUNCTION__); 1855 DRM_DEBUG("while CP running\n");
1856 return 0; 1856 return 0;
1857 } 1857 }
1858 if (dev_priv->cp_mode == RADEON_CSQ_PRIDIS_INDDIS) { 1858 if (dev_priv->cp_mode == RADEON_CSQ_PRIDIS_INDDIS) {
1859 DRM_DEBUG("%s called with bogus CP mode (%d)\n", 1859 DRM_DEBUG("called with bogus CP mode (%d)\n",
1860 __FUNCTION__, dev_priv->cp_mode); 1860 dev_priv->cp_mode);
1861 return 0; 1861 return 0;
1862 } 1862 }
1863 1863
@@ -1962,7 +1962,7 @@ int radeon_cp_reset(struct drm_device *dev, void *data, struct drm_file *file_pr
1962 LOCK_TEST_WITH_RETURN(dev, file_priv); 1962 LOCK_TEST_WITH_RETURN(dev, file_priv);
1963 1963
1964 if (!dev_priv) { 1964 if (!dev_priv) {
1965 DRM_DEBUG("%s called before init done\n", __FUNCTION__); 1965 DRM_DEBUG("called before init done\n");
1966 return -EINVAL; 1966 return -EINVAL;
1967 } 1967 }
1968 1968