drm/i915: adjust get_crtc_fence_y_offset() to use base.y instead of crtc.y
authorJuha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Tue, 17 Oct 2017 20:08:11 +0000 (23:08 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 18 Oct 2017 14:02:45 +0000 (17:02 +0300)
commit31d1d3c8862e88c8db1b0c9a560f2a76b1a4972b
treef20991a004ba1459e1f035317bdea7bcae6bde69
parent779d4d8f083e46364cc9b2c784cf8ad6ab3d3aa5
drm/i915: adjust get_crtc_fence_y_offset() to use base.y instead of crtc.y

This is to use clipped y coordinate here. I left get_crtc_fence_y_offset()
function itself in place as oneliner to maintain comment above it why this
is done.

Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1508270891-22186-6-git-send-email-juhapekka.heikkila@gmail.com
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_fbc.c