mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-09-04 20:19:47 +08:00 
			
		
		
		
	drm/amd/display: Do not program interrupt status on disabled crtc
Prevent interrupt programming of a crtc on which the stream is disabled and it doesn't have an OTG to reference. Signed-off-by: Mikita Lipski <mikita.lipski@amd.com> Reviewed-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
		
							parent
							
								
									0b19fdc45f
								
							
						
					
					
						commit
						4ea7fc0953
					
				| @ -555,6 +555,9 @@ static inline int dm_irq_state(struct amdgpu_device *adev, | ||||
| 		return 0; | ||||
| 	} | ||||
| 
 | ||||
| 	if (acrtc->otg_inst == -1) | ||||
| 		return 0; | ||||
| 
 | ||||
| 	irq_source = dal_irq_type + acrtc->otg_inst; | ||||
| 
 | ||||
| 	st = (state == AMDGPU_IRQ_STATE_ENABLE); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Mikita Lipski
						Mikita Lipski