virgl/drm: query for context init ioctl and supported capset ids

Just add the params to the existing lists.

Reviewed-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
Tested-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7712>
This commit is contained in:
Gurchetan Singh 2020-11-19 14:03:41 -08:00 committed by Marge Bot
parent bab8e77bb2
commit 293c57e12c
1 changed files with 6 additions and 1 deletions

View File

@ -71,6 +71,9 @@ enum param_id {
param_capset_fix,
param_resource_blob,
param_host_visible,
param_cross_device,
param_context_init,
param_supported_capset_ids,
param_max,
};
@ -80,7 +83,9 @@ struct param params[] = { PARAM(VIRTGPU_PARAM_3D_FEATURES),
PARAM(VIRTGPU_PARAM_CAPSET_QUERY_FIX),
PARAM(VIRTGPU_PARAM_RESOURCE_BLOB),
PARAM(VIRTGPU_PARAM_HOST_VISIBLE),
PARAM(VIRTGPU_PARAM_CROSS_DEVICE)
PARAM(VIRTGPU_PARAM_CROSS_DEVICE),
PARAM(VIRTGPU_PARAM_CONTEXT_INIT),
PARAM(VIRTGPU_PARAM_SUPPORTED_CAPSET_IDs)
};
struct virgl_drm_winsys