mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-10-31 16:54:21 +00:00 
			
		
		
		
	drm/i915: Fix unintended recursion in ironlake_disable_rc6
After disabling, we're meant to teardown the bo used for the contexts, not recurse into ourselves again and preventing module unload. Reported-and-tested-by: Ben Widawsky <bwidawsk@gmail.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
		
							parent
							
								
									c2e0eb1670
								
							
						
					
					
						commit
						995073072c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -6575,7 +6575,7 @@ static void ironlake_disable_rc6(struct drm_device *dev) | |||
| 		POSTING_READ(RSTDBYCTL); | ||||
| 	} | ||||
| 
 | ||||
| 	ironlake_disable_rc6(dev); | ||||
| 	ironlake_teardown_rc6(dev); | ||||
| } | ||||
| 
 | ||||
| static int ironlake_setup_rc6(struct drm_device *dev) | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Chris Wilson
						Chris Wilson