aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoonas Kylmälä <joonas.kylmala@iki.fi>2020-07-22 18:22:39 -0400
committerJoonas Kylmälä <joonas.kylmala@iki.fi>2020-07-22 18:29:35 -0400
commit488fa591dc5ad38a7da118f60964af174482dcf4 (patch)
treeb0b0d460373a03f9cf987be656a55d386b6dd40f
parentfe9ad2360294b48c8dfeb69d40e0f5798124adf9 (diff)
downloaddevice_samsung_i9305-488fa591dc5ad38a7da118f60964af174482dcf4.tar.gz
device_samsung_i9305-488fa591dc5ad38a7da118f60964af174482dcf4.tar.bz2
device_samsung_i9305-488fa591dc5ad38a7da118f60964af174482dcf4.zip
Correct graphics settingsreplicant-10
The hardware seems to support vsync, at least no erros come without this setting. Overlay planes also work, the issue with graphics corruption was previously because we allocated graphics buffers for SCANOUT (buffers to be shown on display) on the GPU render node which seems to allocate the memory non-contiguously with MMU. The exynos display controller seems to require contiguous memory. When gralloc.gbm.device is card0 and kmsro driver is enabled then it handles the allocation between card and render nodes correctly. Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
-rw-r--r--init.smdk4x12.rc3
-rw-r--r--system.prop2
2 files changed, 1 insertions, 4 deletions
diff --git a/init.smdk4x12.rc b/init.smdk4x12.rc
index f230ba4..1d2ce36 100644
--- a/init.smdk4x12.rc
+++ b/init.smdk4x12.rc
@@ -46,9 +46,6 @@ on early-boot
chmod 777 /sys/class/backlight/panel/brightness
chown graphics graphics /sys/kernel/debug/sync/info
- setprop debug.sf.no_hw_vsync 1
- setprop hwc.drm.use_overlay_planes 0 # 1 causes graphics corruption with Lima
-
on post-fs-data
setprop vold.post_fs_data_done 1
start resize2fs_partitions
diff --git a/system.prop b/system.prop
index ba3db67..8b789ea 100644
--- a/system.prop
+++ b/system.prop
@@ -19,6 +19,6 @@ ro.hardware.hwcomposer=drm
ro.hardware.gralloc=gbm
drm.gpu.force_software=1
hwc.drm.device=/dev/dri/card0
-gralloc.gbm.device=/dev/dri/renderD129
+gralloc.gbm.device=/dev/dri/card0
ro.config.avoid_gfx_accel=1
debug.sf.nobootanimation=1