drm/i915: Extract intel_mode_vblank_start()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 22 Jan 2021 23:26:33 +0000 (15:26 -0800)
committerManasi Navare <manasi.d.navare@intel.com>
Mon, 25 Jan 2021 23:22:13 +0000 (15:22 -0800)
commit615e29eeb4211b93d5af64ab72c874cca5430261
treeb684f147585ef735cb99c92a40cdfb73c0ac8aa3
parentfa429c0410bcebe101c17053930732d02cf2f8b3
drm/i915: Extract intel_mode_vblank_start()

We want to calculate the vblank_start for vblank evasion
differently for vrr. To make that nicer lets first extract
the current non-vrr case to a helper.

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