drm/i915: Drop the drm_atomic_helper_calc_timestamping_constants() call
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 7 Sep 2020 12:00:26 +0000 (15:00 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 14 Sep 2020 19:37:31 +0000 (22:37 +0300)
commit79628c543e152502b0ee9c9fe5f6b56879e49c6a
tree6dd11477a8e52cc60563955e8a554d035edf68ec
parent441959ebc9056326d80af2d06adf4b80e0288a2a
drm/i915: Drop the drm_atomic_helper_calc_timestamping_constants() call

We update the timestamping constants per-crtc explicitly in
intel_crtc_update_active_timings(). Furtermore the helper will
use uapi.adjusted_mode whereas we want hw.adjusted_mode. Thus
let's drop the helper call an rely on what we already have in
intel_crtc_update_active_timings(). We can now also drop the
hw.adjusted_mode -> uapi.adjusted_mode copy hack that was added
to keep the helper from deriving the timestamping constants from
the wrong thing.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200907120026.6360-3-ville.syrjala@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/display/intel_display.c