Restore a few important lines killed in the previous commit.
Typical results were failure to sync, and a black screen.
This commit is contained in:
		
							parent
							
								
									31f2d4a57e
								
							
						
					
					
						commit
						8bce182568
					
				| 
						 | 
					@ -725,6 +725,11 @@ xf86SetModeCrtc(DisplayModePtr p, int adjustFlags)
 | 
				
			||||||
        p->CrtcVSyncEnd         *= p->VScan;
 | 
					        p->CrtcVSyncEnd         *= p->VScan;
 | 
				
			||||||
        p->CrtcVTotal           *= p->VScan;
 | 
					        p->CrtcVTotal           *= p->VScan;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					    p->CrtcVBlankStart = min(p->CrtcVSyncStart, p->CrtcVDisplay);
 | 
				
			||||||
 | 
					    p->CrtcVBlankEnd = max(p->CrtcVSyncEnd, p->CrtcVTotal);
 | 
				
			||||||
 | 
					    p->CrtcHBlankStart = min(p->CrtcHSyncStart, p->CrtcHDisplay);
 | 
				
			||||||
 | 
					    p->CrtcHBlankEnd = max(p->CrtcHSyncEnd, p->CrtcHTotal);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    p->CrtcHAdjusted = FALSE;
 | 
					    p->CrtcHAdjusted = FALSE;
 | 
				
			||||||
    p->CrtcVAdjusted = FALSE;
 | 
					    p->CrtcVAdjusted = FALSE;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue