mirror of
				https://github.com/tiagovignatti/intel-gpu-tools.git
				synced 2025-11-03 19:47:15 +00:00 
			
		
		
		
	kms_frontbuffer_tracking: change pattern 1's last rect to 1x1
Make sure the tracking mechanism is able to track a write in the very last pixel. Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
This commit is contained in:
		
							parent
							
								
									f974422c21
								
							
						
					
					
						commit
						68cb0de70c
					
				@ -903,10 +903,10 @@ static struct rect pat1_get_rect(struct fb_region *fb, int r)
 | 
			
		||||
		rect.color = pick_color(fb->fb, COLOR_MAGENTA);
 | 
			
		||||
		break;
 | 
			
		||||
	case 3:
 | 
			
		||||
		rect.x = fb->w - 64;
 | 
			
		||||
		rect.y = fb->h - 64;
 | 
			
		||||
		rect.w = 64;
 | 
			
		||||
		rect.h = 64;
 | 
			
		||||
		rect.x = fb->w - 1;
 | 
			
		||||
		rect.y = fb->h - 1;
 | 
			
		||||
		rect.w = 1;
 | 
			
		||||
		rect.h = 1;
 | 
			
		||||
		rect.color = pick_color(fb->fb, COLOR_CYAN);
 | 
			
		||||
		break;
 | 
			
		||||
	default:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user