drm/radeon: comment out some currently unused kv dpm code
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Jan 2015 21:20:02 +0000 (16:20 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 22 Jan 2015 15:38:54 +0000 (10:38 -0500)
Keep it around for reference.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/kv_dpm.c

index e3e9c10cfba97438571b4b8bc88cbea7c3dab9f7..c5eb286517a844196ab104d43e2f3e43055d7495 100644 (file)
@@ -1925,6 +1925,7 @@ void kv_dpm_setup_asic(struct radeon_device *rdev)
        kv_init_sclk_t(rdev);
 }
 
+#if 0
 void kv_dpm_reset_asic(struct radeon_device *rdev)
 {
        struct kv_power_info *pi = kv_get_pi(rdev);
@@ -1945,6 +1946,7 @@ void kv_dpm_reset_asic(struct radeon_device *rdev)
                kv_set_enabled_level(rdev, pi->graphics_boot_level);
        }
 }
+#endif
 
 //XXX use sumo_dpm_display_configuration_changed