drm/i915: Extract intel_crtc_scanlines_since_frame_timestamp()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 22 Jan 2021 23:26:34 +0000 (15:26 -0800)
committerManasi Navare <manasi.d.navare@intel.com>
Mon, 25 Jan 2021 23:22:44 +0000 (15:22 -0800)
commit06d6fda506cf2745ec9e34d32cff6222917fbb71
tree8caefba2f2d1550026021cc5db5e31040b3251a4
parent615e29eeb4211b93d5af64ab72c874cca5430261
drm/i915: Extract intel_crtc_scanlines_since_frame_timestamp()

Extract intel_crtc_scanlines_since_frame_timestamp() from
__intel_get_crtc_scanline_from_timestamp(). We'll reuse this
for VRR vblank timestamps.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210122232647.22688-5-manasi.d.navare@intel.com
drivers/gpu/drm/i915/i915_irq.c