OSDN Git Service

minigbm: Set modifiers for amdgpu/dri.
authorBas Nieuwenhuizen <basni@chromium.org>
Fri, 7 Feb 2020 19:20:30 +0000 (20:20 +0100)
committerCommit Bot <commit-bot@chromium.org>
Tue, 18 Feb 2020 13:45:31 +0000 (13:45 +0000)
commit7119d3319174d509e30463445bf98bc6ac6e8be3
tree1f1c15ebdbd47a995fe94298a783970a3dc6e4c8
parent6f266902d1d1b258a639d7835d307c019312a013
minigbm: Set modifiers for amdgpu/dri.

I tried kernel with modifier support and userspace without and it
failed due to having a linear (which is 0) modifier for the tiled
textures. Set the modifier explicitly.

BUG=b:144023522
TEST=Chrome shows the login screen on zork (with some other bugfixes)

Change-Id: I806d3bb744e52d094e5b852679057cea3f0bcad0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/2043848
Tested-by: Bas Nieuwenhuizen <basni@chromium.org>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Commit-Queue: Bas Nieuwenhuizen <basni@chromium.org>
amdgpu.c
dri.c