OSDN Git Service

minigbm: amdgpu: align the stride to 256
authorSatyajit Sahu <satyajit.sahu@amd.com>
Wed, 11 Jul 2018 08:11:56 +0000 (13:41 +0530)
committerchrome-bot <chrome-bot@chromium.org>
Thu, 12 Jul 2018 06:06:45 +0000 (23:06 -0700)
commitdc8554f4359dd9e1fbb7ecf75c0d02c509168e0d
tree5272456e04fdaf296f8275206e44b2023b0cc4e8
parent1805a9b9e300f0a9e632dc48c2f82ac764d83fdc
minigbm: amdgpu: align the stride to 256

amdgpu has a requirement of stride to be aligned to 256.
Otherwise gpu faults and corruptions are observed for some
resolutions.

BUG=b:80148696 b:110472790
TEST=graphics autotest suite

Change-Id: Ic13c19cd1641a6ce206de9b1016a242ed21c2631
Signed-off-by: Satyajit Sahu <satyajit.sahu@amd.com>
Reviewed-on: https://chromium-review.googlesource.com/1133060
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Deepak Sharma <deepak.sharma@amd.com>
Reviewed-by: Bas Nieuwenhuizen <basni@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Reviewed-by: Deepak Sharma <deepak.sharma@amd.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
amdgpu.c