From: Mikulas Patocka Date: Thu, 23 Jan 2014 19:39:04 +0000 (-0500) Subject: matroxfb: restore the registers M_ACCESS and M_PITCH X-Git-Tag: v3.2.58~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac572a610a0d862efb46aa8c51088624e1f3cad6;p=pandora-kernel.git matroxfb: restore the registers M_ACCESS and M_PITCH commit a772d4736641ec1b421ad965e13457c17379fc86 upstream. When X11 is running and the user switches back to console, the card modifies the content of registers M_MACCESS and M_PITCH in periodic intervals. This patch fixes it by restoring the content of these registers before issuing any accelerator command. Signed-off-by: Mikulas Patocka Signed-off-by: Tomi Valkeinen Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed