Home
last modified time | relevance | path

Searched refs:gpu_mode (Results 1 – 12 of 12) sorted by relevance

/device/google/cuttlefish/host/libs/screen_connector/
Dscreen_connector.cpp29 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()
/device/google/cuttlefish/host/libs/vm_manager/
Dcrosvm_manager.cpp93 std::vector<std::string> CrosvmManager::ConfigureGpu(const std::string& gpu_mode) { in ConfigureGpu() argument
98 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() local
161 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()
Dqemu_manager.h33 static std::vector<std::string> ConfigureGpu(const std::string& gpu_mode);
Dcrosvm_manager.h35 static std::vector<std::string> ConfigureGpu(const std::string& gpu_mode);
Dvm_manager.cpp85 const std::string& vmm_name, const std::string& gpu_mode) { in ConfigureGpuMode() argument
90 return it->second.configure_gpu_mode(gpu_mode); in ConfigureGpuMode()
Dvm_manager.h41 const std::string& vmm_name, const std::string& gpu_mode);
Dqemu_manager.cpp90 std::vector<std::string> QemuManager::ConfigureGpu(const std::string& gpu_mode) { in ConfigureGpu() argument
91 if (gpu_mode != cuttlefish::kGpuModeGuestSwiftshader) { in ConfigureGpu()
/device/google/cuttlefish/host/libs/config/
Dkernel_args.cpp57 VmManager::ConfigureGpuMode(config.vm_manager(), config.gpu_mode())); in KernelCommandLineFromConfig()
Dcuttlefish_config.h81 std::string gpu_mode() const;
Dcuttlefish_config.cpp196 std::string CuttlefishConfig::gpu_mode() const { in gpu_mode() function in cuttlefish::CuttlefishConfig
/device/google/cuttlefish/host/commands/run_cvd/
Dlaunch.cc114 if (config.gpu_mode() == cuttlefish::kGpuModeDrmVirgl || in CreateStreamerServers()
115 config.gpu_mode() == cuttlefish::kGpuModeGfxStream) { in CreateStreamerServers()
/device/google/cuttlefish/host/commands/assemble_cvd/
Dflags.cc90 gpu_mode, cuttlefish::kGpuModeGuestSwiftshader,
304 tmp_config_obj.gpu_mode()).empty()) { in InitializeCuttlefishConfiguration()