OSDN Git Service

arc-cros-gralloc: amdgpu: Use DRI_PATH to load radeonsi
authorSatyajit Sahu <satyajit.sahu@amd.com>
Wed, 4 Mar 2020 10:23:30 +0000 (15:53 +0530)
committerCommit Bot <commit-bot@chromium.org>
Fri, 13 Mar 2020 14:01:57 +0000 (14:01 +0000)
commitcfcea2f16549205a2a7e626cc38e995acd54cbaa
tree0eb24753cc1299920c80cf42e482007c1e5c8091
parent9b367b3efed08fee7568dee8600dcf9335d547ef
arc-cros-gralloc: amdgpu: Use DRI_PATH to load radeonsi

Use DRI_PATH cpp flag exported by ebuild to load the radeonsi
library. This ensures 64/32 bit libraries are loaded as per arch.

BUG=b:148405947, b:148045046, b:139690910, b:150425665, b:150422260,
b:150742051, b:150742059
TEST=Launch play store, no black screen observed

Cq-Depend: chromium:2098992
Change-Id: I12649457c82808aafb468d3d3123ff3eb028e7b6
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/2087294
Reviewed-by: Drew Davenport <ddavenport@chromium.org>
Tested-by: Drew Davenport <ddavenport@chromium.org>
Commit-Queue: Drew Davenport <ddavenport@chromium.org>
amdgpu.c