diff options
author | Christopher James Halse Rogers <[email protected]> | 2013-11-21 15:11:39 +1100 |
---|---|---|
committer | Maarten Lankhorst <[email protected]> | 2013-12-10 09:46:05 +0100 |
commit | d5a3a2d2fbc42da04ff7ea09356ada134a42d6dd (patch) | |
tree | 78713128416960253fd27072b8197f598e91dd13 /src/gallium/state_trackers/egl/common | |
parent | 343133167f4ae127a375791790c982bde12025c4 (diff) |
gallium/winsys/drm: Prepare for passing prime fds in winsys_handle
Signed-off-by: Christopher James Halse Rogers <[email protected]>
Reviewed-by: Thomas Hellstrom <[email protected]>
Signed-off-by: Maarten Lankhorst <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/egl/common')
-rw-r--r-- | src/gallium/state_trackers/egl/common/native_helper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/egl/common/native_helper.c b/src/gallium/state_trackers/egl/common/native_helper.c index b578a8afe96..d1e1acdab4c 100644 --- a/src/gallium/state_trackers/egl/common/native_helper.c +++ b/src/gallium/state_trackers/egl/common/native_helper.c @@ -427,6 +427,7 @@ drm_display_import_native_buffer(struct native_display *ndpy, memset(&wsh, 0, sizeof(wsh)); wsh.handle = nbuf->u.drm.name; + wsh.type = DRM_API_HANDLE_TYPE_SHARED; wsh.stride = nbuf->u.drm.stride; res = screen->resource_from_handle(screen, &nbuf->u.drm.templ, &wsh); |