glamor: Fix multiple crtc setup.
Now, support dual crtc configuration. Signed-off-by: Zhigang Gong <zhigang.gong@gmail.com>
This commit is contained in:
		
							parent
							
								
									fc23334e54
								
							
						
					
					
						commit
						d49d482579
					
				| 
						 | 
					@ -1352,10 +1352,8 @@ drmmode_xf86crtc_resize (ScrnInfoPtr scrn, int width, int height)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		if (!crtc->enabled)
 | 
							if (!crtc->enabled)
 | 
				
			||||||
			continue;
 | 
								continue;
 | 
				
			||||||
#if 0
 | 
					 | 
				
			||||||
		drmmode_set_mode_major(crtc, &crtc->mode,
 | 
							drmmode_set_mode_major(crtc, &crtc->mode,
 | 
				
			||||||
				       crtc->rotation, crtc->x, crtc->y);
 | 
									       crtc->rotation, crtc->x, crtc->y);
 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	return TRUE;
 | 
						return TRUE;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue