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.
This commit is contained in:
Chia-I Wu 2014-02-22 22:53:04 +08:00
parent 276348e85a
commit 4491f0a971
1 changed files with 0 additions and 2 deletions

View File

@ -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;