If a revision 16 is released wouldn't it then be impossible to set gpu_mem? Perhaps this test should be 

    elif revision >= 13