commit | 31d1d3c8862e88c8db1b0c9a560f2a76b1a4972b | [log] [tgz] |
---|---|---|
author | Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> | Tue Oct 17 23:08:11 2017 +0300 |
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | Wed Oct 18 17:02:45 2017 +0300 |
tree | f20991a004ba1459e1f035317bdea7bcae6bde69 | |
parent | 779d4d8f083e46364cc9b2c784cf8ad6ab3d3aa5 [diff] [blame] |
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
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index 835e2d2..f01c800 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -1116,6 +1116,8 @@ struct intel_fbc { */ int adjusted_x; int adjusted_y; + + int y; } plane; struct {