diff options
author | Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> | 2017-10-17 23:08:11 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2017-10-18 17:02:45 +0300 |
commit | 31d1d3c8862e88c8db1b0c9a560f2a76b1a4972b (patch) | |
tree | f20991a004ba1459e1f035317bdea7bcae6bde69 /drivers/gpu/drm/i915/i915_drv.h | |
parent | 779d4d8f083e46364cc9b2c784cf8ad6ab3d3aa5 (diff) | |
download | linux-31d1d3c8862e88c8db1b0c9a560f2a76b1a4972b.tar.xz |
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
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index 835e2d27581e..f01c80076c59 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 { |