GVM User Suite
User tools for the GVM open source project.
Data Fields
MDevRequest Struct Reference

Mediated Device Request Structure. More...

#include <mdev.h>

Collaboration diagram for MDevRequest:
Collaboration graph
[legend]

Data Fields

uint32_t num
 Number of the mdev. More...
 
uint64_t v_dev_id
 Virtual device id. More...
 
uint64_t p_dev_id
 Physical device id. More...
 
const char * name
 Name of the GPU. More...
 
const char * gpu_class
 GPU Class structure. More...
 
uint32_t max_inst
 Max number of mediated GPUs. More...
 
struct VirtDisplaydisp
 Virtual display structure. More...
 
uint8_t ecc_support
 If the Mediated GPU has ECC supported. More...
 
uint8_t multi_mdev
 If multiple mdevs supported. More...
 
uint32_t fb_len
 Frame buffer length (IN MEGABYTES). More...
 
uint32_t fb_res
 Frame buffer reserved (IN MEGABYTES). More...
 
uint32_t map_vid_size
 Mappable video size (IN MEGABYTES). More...
 
uint32_t enc_cap
 
uint32_t bar1_len
 Bar 1 Length. More...
 

Detailed Description

Mediated Device Request Structure.

MDev Request structure to convert from an internal structure to a mediated device.

Definition at line 62 of file mdev.h.

Field Documentation

◆ bar1_len

uint32_t MDevRequest::bar1_len

Bar 1 Length.

Definition at line 77 of file mdev.h.

◆ disp

struct VirtDisplay* MDevRequest::disp

Virtual display structure.

Definition at line 69 of file mdev.h.

◆ ecc_support

uint8_t MDevRequest::ecc_support

If the Mediated GPU has ECC supported.

Definition at line 70 of file mdev.h.

◆ enc_cap

uint32_t MDevRequest::enc_cap

What percentage of the encoder will be allocated to this mediated device.

Definition at line 75 of file mdev.h.

◆ fb_len

uint32_t MDevRequest::fb_len

Frame buffer length (IN MEGABYTES).

Definition at line 72 of file mdev.h.

◆ fb_res

uint32_t MDevRequest::fb_res

Frame buffer reserved (IN MEGABYTES).

Definition at line 73 of file mdev.h.

◆ gpu_class

const char* MDevRequest::gpu_class

GPU Class structure.

Definition at line 67 of file mdev.h.

◆ map_vid_size

uint32_t MDevRequest::map_vid_size

Mappable video size (IN MEGABYTES).

Definition at line 74 of file mdev.h.

◆ max_inst

uint32_t MDevRequest::max_inst

Max number of mediated GPUs.

Definition at line 68 of file mdev.h.

◆ multi_mdev

uint8_t MDevRequest::multi_mdev

If multiple mdevs supported.

Definition at line 71 of file mdev.h.

◆ name

const char* MDevRequest::name

Name of the GPU.

Definition at line 66 of file mdev.h.

◆ num

uint32_t MDevRequest::num

Number of the mdev.

Definition at line 63 of file mdev.h.

◆ p_dev_id

uint64_t MDevRequest::p_dev_id

Physical device id.

Definition at line 65 of file mdev.h.

◆ v_dev_id

uint64_t MDevRequest::v_dev_id

Virtual device id.

Definition at line 64 of file mdev.h.


The documentation for this struct was generated from the following file: