Skip to content

Commit 6cac8ca

Browse files
committed
IsIvshmDev can return true only when QNX/screencast display
Addtionally need read VIRTGPU_PARAM_RESOURCE_BLOB. Add DRM_VIRTGPU_RESOURCE_CREATE_BLOB & DRM_VIRTGPU_PARAM_QUERY_DEV Tracked-On: OAM-129380 Signed-off-by: manxiaoliang <xiaoliangx.man@intel.com>
1 parent cf76403 commit 6cac8ca

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

include/drm/virtgpu_drm.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ struct drm_virtgpu_execbuffer {
7171

7272
#define VIRTGPU_PARAM_3D_FEATURES 1 /* do we have 3D features in the hw */
7373
#define VIRTGPU_PARAM_CAPSET_QUERY_FIX 2 /* do we have the capset fix */
74+
#define VIRTGPU_PARAM_RESOURCE_BLOB 3 /* DRM_VIRTGPU_RESOURCE_CREATE_BLOB */
75+
#define VIRTGPU_PARAM_QUERY_DEV 11 /* Query the virtio device name. */
7476

7577
struct drm_virtgpu_getparam {
7678
__u64 param;

0 commit comments

Comments
 (0)