diff options
author | Ville Syrjälä <syrjala@sci.fi> | 2005-11-07 04:00:58 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-07 10:53:54 -0500 |
commit | 6c12f30554f29069afd485ecd05a1d54c8aece9f (patch) | |
tree | ebacc1baaf4689494e4124efb9a4a8206679fc3f /drivers/video/matrox/matroxfb_base.h | |
parent | 63921fbfbd87ec745e65d2e9aecdfdc9a4ce73f2 (diff) |
[PATCH] matroxfb: Use CACHEFLUSH on all chips
Use the CACHEFLUSH register on all chip types. The register is listed in all
other specs except 2064W. However I have verified that the register does work
on a 2064W despite being marked reserved in the specs. There were no
noticeable side effects after writing to the register.
Signed-off-by: Ville Syrjälä <syrjala@sci.fi>
Signed-off-by: Petr Vandrovec <petr@vandrovec.name>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/matrox/matroxfb_base.h')
-rw-r--r-- | drivers/video/matrox/matroxfb_base.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/video/matrox/matroxfb_base.h b/drivers/video/matrox/matroxfb_base.h index 85a0b2558452..a8c47ad2cdb6 100644 --- a/drivers/video/matrox/matroxfb_base.h +++ b/drivers/video/matrox/matroxfb_base.h | |||
@@ -272,10 +272,6 @@ struct matrox_DAC1064_features { | |||
272 | u_int8_t xmiscctrl; | 272 | u_int8_t xmiscctrl; |
273 | }; | 273 | }; |
274 | 274 | ||
275 | struct matrox_accel_features { | ||
276 | int has_cacheflush; | ||
277 | }; | ||
278 | |||
279 | /* current hardware status */ | 275 | /* current hardware status */ |
280 | struct mavenregs { | 276 | struct mavenregs { |
281 | u_int8_t regs[256]; | 277 | u_int8_t regs[256]; |
@@ -440,7 +436,6 @@ struct matrox_fb_info { | |||
440 | struct { | 436 | struct { |
441 | struct matrox_pll_features pll; | 437 | struct matrox_pll_features pll; |
442 | struct matrox_DAC1064_features DAC1064; | 438 | struct matrox_DAC1064_features DAC1064; |
443 | struct matrox_accel_features accel; | ||
444 | } features; | 439 | } features; |
445 | struct { | 440 | struct { |
446 | spinlock_t DAC; | 441 | spinlock_t DAC; |