Message ID | 1405029279-6894-13-git-send-email-oded.gabbay@amd.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/gpu/drm/radeon/radeon_kfd.c b/drivers/gpu/drm/radeon/radeon_kfd.c index 8b6d497..a28cf6b 100644 --- a/drivers/gpu/drm/radeon/radeon_kfd.c +++ b/drivers/gpu/drm/radeon/radeon_kfd.c @@ -316,5 +316,5 @@ static uint32_t get_max_engine_clock_in_mhz(struct kgd_dev *kgd) struct radeon_device *rdev = (struct radeon_device *)kgd; /* The sclk is in quantas of 10kHz */ - return rdev->pm.power_state->clock_info->sclk / 100; + return rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac.sclk / 100; }