viafb: Retain GEMODE reserved bits
authorJonathan Corbet <corbet@lwn.net>
Sat, 27 Mar 2010 18:14:52 +0000 (12:14 -0600)
committerJonathan Corbet <corbet@lwn.net>
Tue, 20 Apr 2010 20:23:19 +0000 (14:23 -0600)
Commit c3e25673843153ea75fda79a47cf12f10a25ca37 (viafb: 2D engine rewrite)
changed the setting of the GEMODE register so that the reserved bits are no
longer preserved.  Fix that; at the same time, move this code to its own
function and restore the use of symbolic constants.

Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: ScottFang@viatech.com.cn
Cc: JosephChan@via.com.tw
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

No differences found