Searched refs:gpu_mode (Results 1 – 12 of 12) sorted by relevance
29 if (config->gpu_mode() == cuttlefish::kGpuModeDrmVirgl || in Get()30 config->gpu_mode() == cuttlefish::kGpuModeGfxStream) { in Get()32 } else if (config->gpu_mode() == cuttlefish::kGpuModeGuestSwiftshader) { in Get()35 LOG(ERROR) << "Invalid gpu mode: " << config->gpu_mode(); in Get()
93 std::vector<std::string> CrosvmManager::ConfigureGpu(const std::string& gpu_mode) { in ConfigureGpu() argument98 if (gpu_mode == cuttlefish::kGpuModeGuestSwiftshader) { in ConfigureGpu()115 if (gpu_mode == cuttlefish::kGpuModeDrmVirgl) { in ConfigureGpu()122 if (gpu_mode == cuttlefish::kGpuModeGfxStream) { in ConfigureGpu()159 auto gpu_mode = config_->gpu_mode(); in StartCommands() local161 if (gpu_mode == cuttlefish::kGpuModeGuestSwiftshader) { in StartCommands()165 } else if (gpu_mode == cuttlefish::kGpuModeDrmVirgl || in StartCommands()166 gpu_mode == cuttlefish::kGpuModeGfxStream) { in StartCommands()167 crosvm_cmd.AddParameter(gpu_mode == cuttlefish::kGpuModeGfxStream ? in StartCommands()
33 static std::vector<std::string> ConfigureGpu(const std::string& gpu_mode);
35 static std::vector<std::string> ConfigureGpu(const std::string& gpu_mode);
85 const std::string& vmm_name, const std::string& gpu_mode) { in ConfigureGpuMode() argument90 return it->second.configure_gpu_mode(gpu_mode); in ConfigureGpuMode()
41 const std::string& vmm_name, const std::string& gpu_mode);
90 std::vector<std::string> QemuManager::ConfigureGpu(const std::string& gpu_mode) { in ConfigureGpu() argument91 if (gpu_mode != cuttlefish::kGpuModeGuestSwiftshader) { in ConfigureGpu()
57 VmManager::ConfigureGpuMode(config.vm_manager(), config.gpu_mode())); in KernelCommandLineFromConfig()
81 std::string gpu_mode() const;
196 std::string CuttlefishConfig::gpu_mode() const { in gpu_mode() function in cuttlefish::CuttlefishConfig
114 if (config.gpu_mode() == cuttlefish::kGpuModeDrmVirgl || in CreateStreamerServers()115 config.gpu_mode() == cuttlefish::kGpuModeGfxStream) { in CreateStreamerServers()
90 gpu_mode, cuttlefish::kGpuModeGuestSwiftshader,304 tmp_config_obj.gpu_mode()).empty()) { in InitializeCuttlefishConfiguration()