OSDN Git Service

minigbm: rockchip: align NV12 planes to 64 bytes
authorGurchetan Singh <gurchetansingh@google.com>
Wed, 28 Jun 2017 21:01:00 +0000 (14:01 -0700)
committerchrome-bot <chrome-bot@chromium.org>
Fri, 21 Jul 2017 23:02:36 +0000 (16:02 -0700)
commit33cca93af658650b655b4b5dcfb18a3235a100cf
tree43c6505bd9113afa6c631eac273755c1a7a36a96
parent11f3d085d1bb5307960a71c99dde658823326d89
minigbm: rockchip: align NV12 planes to 64 bytes

When running the mapped_texture_test with the Mali EGL implementation
compiled with debug symbols, Mali complains that the NV12 planes are
not sufficiently aligned (specifically, mali_cobj_surface.c line 1806).
Fix this.

BUG=b:63910596
TEST=run Youtube App video on Kevin, at fullscreen and at normal size

Change-Id: Ia204360c3aebe2bbd545ac7be0f6d095b0412f9d
Reviewed-on: https://chromium-review.googlesource.com/556540
Commit-Ready: Gurchetan Singh <gurchetansingh@chromium.org>
Tested-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
rockchip.c