Fixes to Amlogic EGL