• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/common/libva


Commit MetaInfo

Révisiond7a1b9a099354d52525c61919649605e327b13bf (tree)
l'heure2017-06-12 10:41:01
AuteurXu Guangxin <guangxin.xu@inte...>
CommiterXiang, Haihao

Message de Log

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)

Change Summary

Modification

--- a/va/android/va_android.cpp
+++ b/va/android/va_android.cpp
@@ -41,7 +41,7 @@
4141
4242
4343 #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"
4545
4646 static int open_device (char *dev_name)
4747 {