drm/radeon/kms: actualy set the eviction placements we choose
Stupid bug, somehow copying the eviction placements into the result structure was missing. Signed-off-by: Jerome Glisse <jglisse@redhat.com> Signed-off-by: Dave Airlie <airlied@linux.ie>
This commit is contained in:
		
					parent
					
						
							
								4a04a844ba
							
						
					
				
			
			
				commit
				
					
						eaa5fd1a66
					
				
			
		
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -209,6 +209,7 @@ static void radeon_evict_flags(struct ttm_buffer_object *bo,
 | 
				
			||||||
	default:
 | 
						default:
 | 
				
			||||||
		radeon_ttm_placement_from_domain(rbo, RADEON_GEM_DOMAIN_CPU);
 | 
							radeon_ttm_placement_from_domain(rbo, RADEON_GEM_DOMAIN_CPU);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
						*placement = rbo->placement;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static int radeon_verify_access(struct ttm_buffer_object *bo, struct file *filp)
 | 
					static int radeon_verify_access(struct ttm_buffer_object *bo, struct file *filp)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue