diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a_scale.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a_scale.c b/drivers/gpu/nvgpu/gk20a/gk20a_scale.c index 3e6fead6..4ee4f8ab 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a_scale.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a_scale.c | |||
@@ -55,9 +55,9 @@ int gk20a_scale_qos_notify(struct notifier_block *nb, | |||
55 | mutex_lock(&devfreq->lock); | 55 | mutex_lock(&devfreq->lock); |
56 | /* check for pm_qos min and max frequency requirement */ | 56 | /* check for pm_qos min and max frequency requirement */ |
57 | profile->qos_min_freq = | 57 | profile->qos_min_freq = |
58 | pm_qos_read_min_bound(PM_QOS_GPU_FREQ_BOUNDS) * 1000; | 58 | (unsigned long)pm_qos_read_min_bound(PM_QOS_GPU_FREQ_BOUNDS) * 1000UL; |
59 | profile->qos_max_freq = | 59 | profile->qos_max_freq = |
60 | pm_qos_read_max_bound(PM_QOS_GPU_FREQ_BOUNDS) * 1000; | 60 | (unsigned long)pm_qos_read_max_bound(PM_QOS_GPU_FREQ_BOUNDS) * 1000UL; |
61 | 61 | ||
62 | if (profile->qos_min_freq > profile->qos_max_freq) { | 62 | if (profile->qos_min_freq > profile->qos_max_freq) { |
63 | nvgpu_err(g, | 63 | nvgpu_err(g, |