Searched refs:num_capsets (Results 1 – 11 of 11) sorted by relevance
/openbmc/linux/drivers/gpu/drm/virtio/ |
H A D | virtgpu_kms.c | 68 int num_capsets) in virtio_gpu_get_capsets() argument 74 vgdev->capsets = drmm_kcalloc(drm, num_capsets, in virtio_gpu_get_capsets() 81 for (i = 0; i < num_capsets; i++) { in virtio_gpu_get_capsets() 114 vgdev->num_capsets = num_capsets; in virtio_gpu_get_capsets() 127 u32 num_scanouts, num_capsets; in virtio_gpu_init() local 239 num_capsets, &num_capsets); in virtio_gpu_init() 240 DRM_INFO("number of cap sets: %d\n", num_capsets); in virtio_gpu_init() 250 if (num_capsets) in virtio_gpu_init() 251 virtio_gpu_get_capsets(vgdev, num_capsets); in virtio_gpu_init()
|
H A D | virtgpu_debugfs.c | 58 virtio_gpu_add_int(m, "cap sets", vgdev->num_capsets); in virtio_gpu_features()
|
H A D | virtgpu_ioctl.c | 370 if (vgdev->num_capsets == 0) in virtio_gpu_get_caps_ioctl() 378 for (i = 0; i < vgdev->num_capsets; i++) { in virtio_gpu_get_caps_ioctl()
|
H A D | virtgpu_drv.h | 259 uint32_t num_capsets; member
|
H A D | virtgpu_vq.c | 821 if (idx >= vgdev->num_capsets) in virtio_gpu_cmd_get_capset()
|
/openbmc/qemu/hw/display/ |
H A D | virtio-gpu-rutabaga.c | 571 for (i = 0; i < vr->num_capsets; i++) { in rutabaga_cmd_get_capset() 582 CHECK(i < vr->num_capsets, cmd); in rutabaga_cmd_get_capset() 1038 uint32_t num_capsets; in virtio_gpu_rutabaga_get_num_capsets() local 1041 result = rutabaga_get_num_capsets(vr->rutabaga, &num_capsets); in virtio_gpu_rutabaga_get_num_capsets() 1046 vr->num_capsets = num_capsets; in virtio_gpu_rutabaga_get_num_capsets() 1047 return num_capsets; in virtio_gpu_rutabaga_get_num_capsets() 1073 int num_capsets; in virtio_gpu_rutabaga_realize() local 1086 num_capsets = virtio_gpu_rutabaga_get_num_capsets(gpudev); in virtio_gpu_rutabaga_realize() 1087 if (!num_capsets) { in virtio_gpu_rutabaga_realize() 1095 bdev->virtio_config.num_capsets = num_capsets; in virtio_gpu_rutabaga_realize()
|
H A D | virtio-gpu-gl.c | 133 VIRTIO_GPU_BASE(g)->virtio_config.num_capsets = in virtio_gpu_gl_device_realize()
|
/openbmc/linux/include/uapi/linux/ |
H A D | virtio_gpu.h | 363 __le32 num_capsets; member
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | virtio_gpu.h | 365 uint32_t num_capsets; member
|
/openbmc/qemu/include/hw/virtio/ |
H A D | virtio-gpu.h | 263 uint32_t num_capsets; member
|
/openbmc/qemu/contrib/vhost-user-gpu/ |
H A D | vhost-user-gpu.c | 1183 g->virtio_config.num_capsets = vg_virgl_get_num_capsets(); in vg_get_config()
|