Arm GPU 产品命名

  • Mali 4xx: 'utgard'
  • Mali Txxx: 'midgard'
  • Mali Gxx: 'bifrost'
    static const struct gpu_product_id_name {
        unsigned id;
        char *name;
    } gpu_product_id_names[] = {
        { .id = GPU_ID_PI_T60X, .name = "Mali-T60x" },
        { .id = GPU_ID_PI_T62X, .name = "Mali-T62x" },
        { .id = GPU_ID_PI_T72X, .name = "Mali-T72x" },
        { .id = GPU_ID_PI_T76X, .name = "Mali-T76x" },
        { .id = GPU_ID_PI_T82X, .name = "Mali-T82x" },
        { .id = GPU_ID_PI_T83X, .name = "Mali-T83x" },
        { .id = GPU_ID_PI_T86X, .name = "Mali-T86x" },
        { .id = GPU_ID_PI_TFRX, .name = "Mali-T88x" },
        { .id = GPU_ID2_PRODUCT_TMIX >> GPU_ID_VERSION_PRODUCT_ID_SHIFT,
          .name = "Mali-G71" },
        { .id = GPU_ID2_PRODUCT_THEX >> GPU_ID_VERSION_PRODUCT_ID_SHIFT,
          .name = "Mali-G72" },
        { .id = GPU_ID2_PRODUCT_TSIX >> GPU_ID_VERSION_PRODUCT_ID_SHIFT,
          .name = "Mali-G51" },
        { .id = GPU_ID2_PRODUCT_TNOX >> GPU_ID_VERSION_PRODUCT_ID_SHIFT,
          .name = "Mali-G76" },
        { .id = GPU_ID2_PRODUCT_TDVX >> GPU_ID_VERSION_PRODUCT_ID_SHIFT,
          .name = "Mali-G31" },
        { .id = GPU_ID2_PRODUCT_TGOX >> GPU_ID_VERSION_PRODUCT_ID_SHIFT,
          .name = "Mali-G52" },
    };

参考

  • MaliGraphics - Debian Wiki
  • mali-kbase/mali_kbase_core_linux.c (github.com)

你可能感兴趣的:(Arm GPU 产品命名)