Patched 0004-4_gfx_platform.diff