diff options
author | Xu Guangxin <guangxin.xu@intel.com> | 2017-05-06 05:51:13 -0400 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2017-06-12 09:41:01 +0800 |
commit | d7a1b9a099354d52525c61919649605e327b13bf (patch) | |
tree | 7fc316e27c9f00f2c2d2397e10349ec2dddfea5c | |
parent | a7efa63edfc54d08a33854f94cd190d378b9e147 (diff) | |
download | libva-d7a1b9a099354d52525c61919649605e327b13bf.tar.gz |
android: open renderD128 by default
if we open card0, we need be a root to call I915_PARAM_CHIPSET_ID,
but mediaservice's owner is not root, open renderD128 will fix this.
(cherry picked from commit b1aa5568ad619eb5f526f653a15154c03f3bcb87)
-rw-r--r-- | va/android/va_android.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/va/android/va_android.cpp b/va/android/va_android.cpp index 0c2b0b5..6f0324b 100644 --- a/va/android/va_android.cpp +++ b/va/android/va_android.cpp @@ -41,7 +41,7 @@ #define CHECK_SYMBOL(func) { if (!func) printf("func %s not found\n", #func); return VA_STATUS_ERROR_UNKNOWN; } -#define DEVICE_NAME "/dev/dri/card0" +#define DEVICE_NAME "/dev/dri/renderD128" static int open_device (char *dev_name) { |