init: Override the composition type for 8960 and 8064 V2 Prime
- Use dyn composition for 8960 - Use c2d composition for 8064 V2 Prime. - Remove the call to set setprop c2d.api.supported which is a redundant property. Change-Id: Ibd7791b234feafe35c01b52e8a62327ff7379685
This commit is contained in:
parent
fbae4b9421
commit
9eab7cc647
|
@ -91,10 +91,13 @@ case "$1" in
|
|||
|
||||
#Set up composition type based on the target
|
||||
case "$soc_hwid" in
|
||||
109| 116 | 117 | 118 | 120 | 121| 130)
|
||||
#APQ8064, MSM8930, MSM8630, MSM8230,
|
||||
# MSM8627, MSM8227, MPQ8064
|
||||
setprop debug.composition.type gpu
|
||||
87)
|
||||
#8960
|
||||
setprop debug.composition.type dyn
|
||||
;;
|
||||
153)
|
||||
#8064 V2 PRIME
|
||||
setprop debug.composition.type c2d
|
||||
;;
|
||||
*)
|
||||
esac
|
||||
|
@ -111,15 +114,3 @@ case "$1" in
|
|||
esac
|
||||
;;
|
||||
esac
|
||||
|
||||
#Set up C2D composition type based on the target
|
||||
case "$soc_hwid" in
|
||||
109 | 138 | 116 | 126 | 130)
|
||||
#8064| 8960 pro | 8930 | 8974 | MPQ8064
|
||||
setprop c2d.api.supported 0
|
||||
;;
|
||||
*)
|
||||
#8960 and others
|
||||
setprop c2d.api.supported 1
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in New Issue