OSDN Git Service

minigbm: i965: Add 64-byte padding at the end of linear buffers
authorTomasz Figa <tfiga@chromium.org>
Sun, 23 Jul 2017 06:02:19 +0000 (15:02 +0900)
committerchrome-bot <chrome-bot@chromium.org>
Tue, 25 Jul 2017 05:54:04 +0000 (22:54 -0700)
commit581f3a5e3089cfd5bb38432eb2874d9a5b132a17
tree5180f0035dd7f1f8df77715981f49381d41c0757
parent33cca93af658650b655b4b5dcfb18a3235a100cf
minigbm: i965: Add 64-byte padding at the end of linear buffers

According to the ISL library used now by Mesa i965 driver to manage
surfaces, linear surfaces must have 64-byte padding added at the end,
due to the way how the GPU issues cache requests.

BUG=b:63957026
TEST=./cts-tradefed run cts --skip-preconditions --skip-device-info -m
  CtsCameraTestCases -t
  android.hardware.camera2.cts.MultiViewTest#testDualTextureViewAndImageReaderPreview
  on Eve

Change-Id: I4887449a8e6e090b5ab7925b6f5c764cedd7589f
Reviewed-on: https://chromium-review.googlesource.com/582253
Commit-Ready: Tomasz Figa <tfiga@chromium.org>
Tested-by: Tomasz Figa <tfiga@chromium.org>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
i915.c