Message ID | 20230730010102.350713-9-dmitry.baryshkov@linaro.org |
---|---|
State | Accepted |
Commit | d64d83806aa46be7b400663509fb47c80877cab6 |
Headers | show |
Series | drm/msm/dpu: cleanup dpu_core_perf module | expand |
diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c index 3dddec868bf5..6a0f0ede4781 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c @@ -294,8 +294,6 @@ static u64 _dpu_core_perf_get_core_clk_rate(struct dpu_kms *kms) dpu_cstate = to_dpu_crtc_state(crtc->state); clk_rate = max(dpu_cstate->new_perf.core_clk_rate, clk_rate); - clk_rate = clk_round_rate(kms->perf.core_clk, - clk_rate); } }