[Mesa-dev] [PATCH 05/15] ilo: Support DRI Image 7

Christopher James Halse Rogers christopher.halse.rogers at canonical.com
Sat Jul 20 04:40:37 PDT 2013


---
 src/gallium/winsys/intel/drm/intel_drm_winsys.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/gallium/winsys/intel/drm/intel_drm_winsys.c b/src/gallium/winsys/intel/drm/intel_drm_winsys.c
index 521762d..d9aa6a9 100644
--- a/src/gallium/winsys/intel/drm/intel_drm_winsys.c
+++ b/src/gallium/winsys/intel/drm/intel_drm_winsys.c
@@ -257,7 +257,6 @@ intel_winsys_import_handle(struct intel_winsys *winsys,
                name, gem_name);
       }
       break;
-#if 0
    case DRM_API_HANDLE_TYPE_FD:
       {
          const int fd = (int) handle->handle;
@@ -265,7 +264,6 @@ intel_winsys_import_handle(struct intel_winsys *winsys,
                fd, height * handle->stride);
       }
       break;
-#endif
    default:
       bo = NULL;
       break;
@@ -308,7 +306,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;
@@ -318,7 +315,6 @@ intel_winsys_export_handle(struct intel_winsys *winsys,
             handle->handle = fd;
       }
       break;
-#endif
    default:
       err = -EINVAL;
       break;
-- 
1.8.3.2



More information about the mesa-dev mailing list