Created
          July 28, 2015 13:07 
        
      - 
      
- 
        Save mthierry/46d44158463c18b7102f to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c | |
| index 8159339..b08f587 100644 | |
| --- a/drivers/gpu/drm/i915/i915_gem.c | |
| +++ b/drivers/gpu/drm/i915/i915_gem.c | |
| @@ -3438,6 +3438,13 @@ i915_gem_object_bind_to_vm(struct drm_i915_gem_object *obj, | |
| if (IS_ERR(vma)) | |
| goto err_unpin; | |
| + DRM_DEBUG_DRIVER("end = 0x%llx\n", end); | |
| + if (!(0) && | |
| + (vma->node.start + vma->node.size) >= (1ULL << 32)) { | |
| + DRM_DEBUG_DRIVER("0x%llx >= 1ULL<<32\n", | |
| + vma->node.start + vma->node.size); | |
| + } | |
| + | |
| search_free: | |
| ret = drm_mm_insert_node_in_range_generic(&vm->mm, &vma->node, | |
| size, alignment, | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment