Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(212)

Unified Diff: content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc

Issue 1156803004: Change image processor name from /dev/gsc0 to /dev/image-proc0. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename image-proc to image-proc0 Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/gpu/media/generic_v4l2_device.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc
diff --git a/content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc b/content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc
index 338acf9add85962804a7b0590ceacdd8885a6963..31339ac1c390f882470a9d5d41c5d8da0f60de6b 100644
--- a/content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc
+++ b/content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc
@@ -59,11 +59,11 @@ void AddArmMaliGpuWhitelist(std::vector<BrokerFilePermission>* permissions) {
// Device file needed by the ARM GPU userspace.
static const char kMali0Path[] = "/dev/mali0";
- // Video processor used on ARM Exynos platforms.
- static const char kDevGsc0Path[] = "/dev/gsc0";
+ // Image processor used on ARM platforms.
+ static const char kDevImageProc0Path[] = "/dev/image-proc0";
permissions->push_back(BrokerFilePermission::ReadWrite(kMali0Path));
- permissions->push_back(BrokerFilePermission::ReadWrite(kDevGsc0Path));
+ permissions->push_back(BrokerFilePermission::ReadWrite(kDevImageProc0Path));
}
void AddArmGpuWhitelist(std::vector<BrokerFilePermission>* permissions) {
« no previous file with comments | « content/common/gpu/media/generic_v4l2_device.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698