Lib/vc4/RegisterMap.cpp
/**
 * @brief get the size of the VPM.
 *
 * @return Size of VPM in KB
 */
@brief get the size of the VPM.
@return Size of VPM in KB
@brief get the size of the VPM . @return Size of VPM in KB
int RegisterMap::VPMMemorySize() {
  uint32_t reg = readRegister(V3D_IDENT1);
  int value = (reg >> 28) & 0xf;
  if (value == 0) return 16;  
  return value;
}
int RegisterMap :: VPMMemorySize ( ) { uint32_t reg = readRegister ( V3D_IDENT1 ) ; int value = ( reg >> 28 ) & 0xf ; if ( value == 0 ) return 16 ; return value ; }
@brief get the size of the VPM.
@brief get the size of the VPM .
// According to reference doc p.97