diff options
author | Gurchetan Singh <[email protected]> | 2019-09-25 10:06:23 -0700 |
---|---|---|
committer | Gurchetan Singh <[email protected]> | 2019-10-02 17:57:47 -0700 |
commit | aad4127c41b70981f5c8a5aad6e3d7922a812ccb (patch) | |
tree | d813e3e7d76279b8e8194f771ab51da7c5211de5 /src/gallium/winsys/virgl | |
parent | 2899bbe37ac8399503a735db68a41071811ded85 (diff) |
virgl: modify resource_create_from_handle(..) callback
This commit makes no functional changes, just adds the revelant
plumbing.
Reviewed by: Robert Tarasov <[email protected]>
Diffstat (limited to 'src/gallium/winsys/virgl')
-rw-r--r-- | src/gallium/winsys/virgl/drm/virgl_drm_winsys.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c b/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c index 741064a958c..01e1f51d757 100644 --- a/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c +++ b/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c @@ -301,7 +301,11 @@ alloc: static struct virgl_hw_res * virgl_drm_winsys_resource_create_handle(struct virgl_winsys *qws, - struct winsys_handle *whandle) + struct winsys_handle *whandle, + uint32_t *plane, + uint32_t *stride, + uint32_t *plane_offset, + uint64_t *modifier) { struct virgl_drm_winsys *qdws = virgl_drm_winsys(qws); struct drm_gem_open open_arg = {}; |