patch-2.4.22 linux-2.4.22/drivers/video/matrox/matroxfb_DAC1064.c

Next file: linux-2.4.22/drivers/video/matrox/matroxfb_Ti3026.c
Previous file: linux-2.4.22/drivers/video/intel/intelfbhw.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/drivers/video/matrox/matroxfb_DAC1064.c linux-2.4.22/drivers/video/matrox/matroxfb_DAC1064.c
@@ -1177,6 +1177,7 @@
 
 	DAC1064_restore_1(PMINFO2);
 	matroxfb_vgaHWrestore(PMINFO2);
+	ACCESS_FBINFO(crtc1.panpos) = -1;
 	for (i = 0; i < 6; i++)
 		mga_setr(M_EXTVGA_INDEX, i, hw->CRTCEXT[i]);
 	DAC1064_restore_2(PMINFO p);
@@ -1203,6 +1204,7 @@
 	if (ACCESS_FBINFO(devflags.support32MB))
 		mga_setr(M_EXTVGA_INDEX, 8, hw->CRTCEXT[8]);
 #endif
+	ACCESS_FBINFO(crtc1.panpos) = -1;
 	for (i = 0; i < 6; i++)
 		mga_setr(M_EXTVGA_INDEX, i, hw->CRTCEXT[i]);
 	DAC1064_restore_2(PMINFO p);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)