Function crosvm::crosvm::gpu_config::fixup_gpu_display_options
source · pub(crate) fn fixup_gpu_display_options(
display_params: GpuDisplayParameters
) -> Result<FixedGpuDisplayParameters, String>
Expand description
Fixes GpuDisplayParameters
after parsing using serde.
The dpi
field is guaranteed to be populated after this is called.