OSDN Git Service
(root)
/
android-x86
/
device-generic-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c31788
)
init.sh: check driver name instead of fb name
android-x86-8.1-r6
author
Chih-Wei Huang
<cwhuang@linux.org.tw>
Sat, 31 Oct 2020 06:56:49 +0000
(14:56 +0800)
committer
Chih-Wei Huang
<cwhuang@linux.org.tw>
Sat, 31 Oct 2020 06:56:49 +0000
(14:56 +0800)
Similar to commit
ff4be9e
.
init.sh
patch
|
blob
|
history
diff --git
a/init.sh
b/init.sh
index
1ee0c02
..
25f283b
100644
(file)
--- a/
init.sh
+++ b/
init.sh
@@
-215,11
+215,11
@@
function init_hal_hwcomposer()
function init_hal_vulkan()
{
- case "$(
cat /proc/fb | head -1
)" in
-
0*i915drmfb|0*inteldrmfb
)
+ case "$(
readlink /sys/class/graphics/fb0/device/driver
)" in
+
*i915
)
set_property ro.hardware.vulkan android-x86
;;
-
0*amdgpudrmfb
)
+
*amdgpu
)
set_property ro.hardware.vulkan radv
;;
*)