Skip to content

Instantly share code, notes, and snippets.

@junk-labs
Last active December 24, 2016 04:40
Show Gist options
  • Save junk-labs/f4b4d5ea56b3824ff7736832592dea80 to your computer and use it in GitHub Desktop.
Save junk-labs/f4b4d5ea56b3824ff7736832592dea80 to your computer and use it in GitHub Desktop.
dlxjのGPUのドライバを最新にうpしよう計画
kbc-developers/android_kernel_htc_m7wljのGPU周りが陳腐化しており、
ROMで使用しているblob(adreno_nexus_may2016.zip)より古い状態になっています。
下記のパッチを drivers/gpu/msm2 に適用すると安定感が増します。
CM13にコミットされているパッチなのでCM13と14で効きます。
msm: kgsl: Fix spinlock recursion in destroy pagetable
https://github.com/CyanogenMod/android_kernel_google_msm/commit/533a71107c55360c48467090f92e2dee9d8d7b69
msm: kgsl: Fix Z180 memory leak
https://github.com/CyanogenMod/android_kernel_google_msm/commit/2ce8d472c1eeb0689f7117e311edd591466beaf5
msm: kgsl: Add missing checks for alloc size and sglen
https://github.com/CyanogenMod/android_kernel_htc_msm8960/commit/b9fb98fccd0091829ebd4518468a1e372701373d
(↑の元) https://github.com/CyanogenMod/android_kernel_google_msm/commit/09a22c66ac761c2b33b46080a731bea47fd477fa
msm: kgsl: Defer adding the mem entry to a process
https://github.com/CyanogenMod/android_kernel_htc_msm8960/commit/b4650582fd2e352fca322735a0e91bb39e5b3796
(↑の元) https://github.com/CyanogenMod/android_kernel_google_msm/commit/93c8c4ae98edac205f7965585951f7d026ad34f1
msm: kgsl: Increase the wait timeout for context detachment
https://github.com/CyanogenMod/android_kernel_htc_msm8960/commit/bae534837e92fcb3d35fcc5daec8b1e936daf670
(↑の元) https://github.com/CyanogenMod/android_kernel_google_msm/commit/3bcea4ed964b2cd6f1c10092edd465b72b085950
なお、当方では他にdrivers/gpu/ionをCyanogenMod/android_kernel_htc_msm8960の物に丸ごと差し替えてビルドしています。
ionに関しては弄る範囲が広範囲になっており効果や副作用が不明なので今回は纏めてません。。。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment