| Index: content/common/sandbox_linux/bpf_gpu_policy_linux.cc
|
| diff --git a/content/common/sandbox_linux/bpf_gpu_policy_linux.cc b/content/common/sandbox_linux/bpf_gpu_policy_linux.cc
|
| index d0aefb3d693095ac34204225eca0b9131f58e285..2fda5435689e553a1dc1e7d791c704006f457b23 100644
|
| --- a/content/common/sandbox_linux/bpf_gpu_policy_linux.cc
|
| +++ b/content/common/sandbox_linux/bpf_gpu_policy_linux.cc
|
| @@ -304,8 +304,14 @@ bool GpuProcessPolicy::PreSandboxHook() {
|
| const char* I965HybridDrvVideoPath = NULL;
|
|
|
| if (IsArchitectureX86_64()) {
|
| - I965DrvVideoPath = "/usr/lib64/va/drivers/i965_drv_video.so";
|
| - I965HybridDrvVideoPath = "/usr/lib64/va/drivers/hybrid_drv_video.so";
|
| + if (IsChromeOS()) {
|
| + I965DrvVideoPath = "/usr/lib64/va/drivers/i965_drv_video.so";
|
| + I965HybridDrvVideoPath = "/usr/lib64/va/drivers/hybrid_drv_video.so";
|
| + } else {
|
| + // TODO(dshwang): it's the path for Ubuntu. Support it in general.
|
| + // crbug.com/590209
|
| + I965DrvVideoPath = "/usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so";
|
| + }
|
| } else if (IsArchitectureI386()) {
|
| I965DrvVideoPath = "/usr/lib/va/drivers/i965_drv_video.so";
|
| }
|
|
|