diff options
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2015-09-21 10:45:35 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-09-23 17:31:29 +0200 |
commit | dedf278ce69cac6b29c324d280183da31093e0b0 (patch) | |
tree | 79406f115f4c5f3fdd9ccf8d773c3d6128622f43 /drivers/gpu/drm/i915/i915_gem_gtt.c | |
parent | 89e3e1427629027dc33e576fc002880a02a7e50c (diff) | |
download | op-kernel-dev-dedf278ce69cac6b29c324d280183da31093e0b0.zip op-kernel-dev-dedf278ce69cac6b29c324d280183da31093e0b0.tar.gz |
drm/i915: Enable querying offset of UV plane with intel_plane_obj_offset
v2: Rebase.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_gtt.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_gem_gtt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c b/drivers/gpu/drm/i915/i915_gem_gtt.c index ad0e7e0..bbb96a4 100644 --- a/drivers/gpu/drm/i915/i915_gem_gtt.c +++ b/drivers/gpu/drm/i915/i915_gem_gtt.c @@ -3332,6 +3332,8 @@ intel_rotate_fb_obj_pages(struct i915_ggtt_view *ggtt_view, if (offset_in_page(rot_info->uv_offset)) uv_start_page--; + rot_info->uv_start_page = uv_start_page; + rotate_pages(page_addr_list, uv_start_page, rot_info->width_pages_uv, rot_info->height_pages_uv, |