mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
fb: hide hardware cursor in graphics mode (Mach64)
A hardware cursor is left enabled in the fb_set_par() which is called when a new console is created. This is inconsistent with software cursor's behaviour. Also, this makes a hardware cursor always visible in the Xfbdev (Xorg kdrive) server. Signed-off-by: Krzysztof Helt <[email protected]> Cc: Risto Suominen <[email protected]> Cc: Geert Uytterhoeven <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
98da329581
commit
84d9077b33
1 changed files with 2 additions and 1 deletions
|
|
@ -39,7 +39,8 @@ void aty_reset_engine(const struct atyfb_par *par)
|
|||
{
|
||||
/* reset engine */
|
||||
aty_st_le32(GEN_TEST_CNTL,
|
||||
aty_ld_le32(GEN_TEST_CNTL, par) & ~GUI_ENGINE_ENABLE, par);
|
||||
aty_ld_le32(GEN_TEST_CNTL, par) &
|
||||
~(GUI_ENGINE_ENABLE | HWCURSOR_ENABLE), par);
|
||||
/* enable engine */
|
||||
aty_st_le32(GEN_TEST_CNTL,
|
||||
aty_ld_le32(GEN_TEST_CNTL, par) | GUI_ENGINE_ENABLE, par);
|
||||
|
|
|
|||
Loading…
Reference in a new issue