diff options
author | Chia-I Wu <[email protected]> | 2014-02-22 22:53:04 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2014-03-10 16:42:42 +0800 |
commit | 4491f0a9711fdacf8112a407c0e1376be0854aa1 (patch) | |
tree | 9ac3c7640c0089ae3aa0a37fe1cced639ca128d3 /src | |
parent | 276348e85a37979b474cd19d018097163147e501 (diff) |
ilo: fix DRM_API_HANDLE_TYPE_FD export
It can be exported by drm_intel_bo_gem_export_to_prime(). The code is already
in winsys, just not enabled.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/winsys/intel/drm/intel_drm_winsys.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/winsys/intel/drm/intel_drm_winsys.c b/src/gallium/winsys/intel/drm/intel_drm_winsys.c index d246a5fdb59..13563578c0d 100644 --- a/src/gallium/winsys/intel/drm/intel_drm_winsys.c +++ b/src/gallium/winsys/intel/drm/intel_drm_winsys.c @@ -324,7 +324,6 @@ intel_winsys_export_handle(struct intel_winsys *winsys, case DRM_API_HANDLE_TYPE_KMS: handle->handle = ((drm_intel_bo *) bo)->handle; break; -#if 0 case DRM_API_HANDLE_TYPE_FD: { int fd; @@ -334,7 +333,6 @@ intel_winsys_export_handle(struct intel_winsys *winsys, handle->handle = fd; } break; -#endif default: err = -EINVAL; break; |