Home
last modified time | relevance | path

Searched refs:num_capsets (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/drivers/gpu/drm/virtio/
H A Dvirtgpu_kms.c68 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 Dvirtgpu_debugfs.c58 virtio_gpu_add_int(m, "cap sets", vgdev->num_capsets); in virtio_gpu_features()
H A Dvirtgpu_ioctl.c370 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 Dvirtgpu_drv.h259 uint32_t num_capsets; member
H A Dvirtgpu_vq.c821 if (idx >= vgdev->num_capsets) in virtio_gpu_cmd_get_capset()
/openbmc/qemu/hw/display/
H A Dvirtio-gpu-rutabaga.c571 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 Dvirtio-gpu-gl.c133 VIRTIO_GPU_BASE(g)->virtio_config.num_capsets = in virtio_gpu_gl_device_realize()
/openbmc/linux/include/uapi/linux/
H A Dvirtio_gpu.h363 __le32 num_capsets; member
/openbmc/qemu/include/standard-headers/linux/
H A Dvirtio_gpu.h365 uint32_t num_capsets; member
/openbmc/qemu/include/hw/virtio/
H A Dvirtio-gpu.h263 uint32_t num_capsets; member
/openbmc/qemu/contrib/vhost-user-gpu/
H A Dvhost-user-gpu.c1183 g->virtio_config.num_capsets = vg_virgl_get_num_capsets(); in vg_get_config()