mirror of
				https://github.com/torvalds/linux.git
				synced 2025-10-31 00:28:52 +02:00 
			
		
		
		
	 a94b8a77bc
			
		
	
	
		a94b8a77bc
		
	
	
	
	
		
			
			With the full-featured opcode sequence using MLOCKs, we need to also unlock those MLOCKs in the event of a timeout. However, it turns out that on Tegra186/Tegra194, by default, we don't need to do this; furthermore, on Tegra234 it is much simpler to do; so only implement this on Tegra234 for the time being. Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			345 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			345 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* SPDX-License-Identifier: GPL-2.0-only */
 | |
| /*
 | |
|  * Copyright (c) 2022 NVIDIA Corporation.
 | |
|  */
 | |
| 
 | |
| #define HOST1X_COMMON_OFA_MLOCK			0x4050
 | |
| #define HOST1X_COMMON_NVJPG1_MLOCK		0x4070
 | |
| #define HOST1X_COMMON_VIC_MLOCK			0x4078
 | |
| #define HOST1X_COMMON_NVENC_MLOCK		0x407c
 | |
| #define HOST1X_COMMON_NVDEC_MLOCK		0x4080
 | |
| #define HOST1X_COMMON_NVJPG_MLOCK		0x4084
 |