diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-12-21 19:14:35 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-01-30 16:14:40 +0200 |
commit | ff58c11cdbe99aaed8759caa39952e7355d50b78 (patch) | |
tree | ceb4fc85661d85d4a8597c6d134759bb8681baea /drivers/gpu/drm | |
parent | ff61a97499fd27944c02b9c8035d50d803a7975f (diff) | |
download | talos-op-linux-ff58c11cdbe99aaed8759caa39952e7355d50b78.tar.gz talos-op-linux-ff58c11cdbe99aaed8759caa39952e7355d50b78.zip |
drm/i915: Drop the pointless linetime==0 check
0*whatever==0 so this check is pointless. Remove it.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181221171436.8218-9-ville.syrjala@linux.intel.com
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/i915/intel_pm.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index c78674ef616f..1d1c56961b39 100644 --- a/drivers/gpu/drm/i915/intel_pm.c +++ b/drivers/gpu/drm/i915/intel_pm.c @@ -4824,10 +4824,6 @@ skl_compute_linetime_wm(const struct intel_crtc_state *cstate) u32 linetime_wm; linetime_us = intel_get_linetime_us(cstate); - - if (is_fixed16_zero(linetime_us)) - return 0; - linetime_wm = fixed16_to_u32_round_up(mul_u32_fixed16(8, linetime_us)); /* Display WA #1135: bxt:ALL GLK:ALL */ |