hardware/intel/common/libva
Révision | d7a1b9a099354d52525c61919649605e327b13bf (tree) |
---|---|
l'heure | 2017-06-12 10:41:01 |
Auteur | Xu Guangxin <guangxin.xu@inte...> |
Commiter | Xiang, Haihao |
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)
@@ -41,7 +41,7 @@ | ||
41 | 41 | |
42 | 42 | |
43 | 43 | #define CHECK_SYMBOL(func) { if (!func) printf("func %s not found\n", #func); return VA_STATUS_ERROR_UNKNOWN; } |
44 | -#define DEVICE_NAME "/dev/dri/card0" | |
44 | +#define DEVICE_NAME "/dev/dri/renderD128" | |
45 | 45 | |
46 | 46 | static int open_device (char *dev_name) |
47 | 47 | { |