commit | 9ca43cf41d014e12f4b25d4538f362d7513448dd | [log] [tgz] |
---|---|---|
author | Jonathan Corbet <corbet@lwn.net> | Sat Mar 27 12:14:52 2010 -0600 |
committer | Jonathan Corbet <corbet@lwn.net> | Tue Apr 20 14:23:19 2010 -0600 |
tree | 9c564608e9fac98c2babbd9db290364b107a0e67 | |
parent | 1b1f8cd299d3c5a90c2ec1c24c271a0b536e5891 [diff] |
viafb: Retain GEMODE reserved bits 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>