staticinta6xx_gmu_first_open(structadreno_device*adreno_dev){
structkgsl_device*device =KGSL_DEVICE(adreno_dev);int ret;/*
* Do the one time settings that need to happen when we
* attempt to boot the gpu the very first time
*/// a6xx第一次启动[见3.1节]
ret =a6xx_first_boot(adreno_dev);if(ret)return ret;/*
* A client that does a first_open but never closes the device
* may prevent us from going back to SLUMBER. So trigger the idle
* check by incrementing the active count and immediately releasing it.
*/atomic_inc(&device->active_cnt);a6xx_gmu_active_count_put(adreno_dev);return0;}