Commit 6ba1a9b9 authored by Justin TerAvest's avatar Justin TerAvest Committed by Commit Bot

amdgpu sandbox: Don't forcibly load swrast_dri.so.

This library shouldn't be needed, and after some build changes on the
Chrome OS side, is no longer present.

BUG=b:67860772
TEST=deploy_chrome, confirmed browser works fine.

Change-Id: Id0be85f5f36da6435dcc605a2b73a7c5ac095e16
Reviewed-on: https://chromium-review.googlesource.com/722109Reviewed-by: default avatarStéphane Marchesin <marcheu@chromium.org>
Reviewed-by: default avatarAntoine Labour <piman@chromium.org>
Reviewed-by: default avatarJorge Lucangeli Obes <jorgelo@chromium.org>
Commit-Queue: Justin TerAvest <teravest@chromium.org>
Cr-Commit-Position: refs/heads/master@{#509627}
parent 76d447ef
......@@ -362,10 +362,6 @@ bool CrosAmdGpuPreSandboxHook(GpuProcessPolicy* policy) {
LOG(ERROR) << "dlopen(libglapi.so) failed with error: " << dlerror();
return false;
}
if (NULL == dlopen("/usr/lib64/dri/swrast_dri.so", dlopen_flag)) {
LOG(ERROR) << "dlopen(swrast_dri.so) failed with error: " << dlerror();
return false;
}
if (NULL == dlopen("/usr/lib64/dri/radeonsi_dri.so", dlopen_flag)) {
LOG(ERROR) << "dlopen(radeonsi_dri.so) failed with error: " << dlerror();
return false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment