linux-tcxfb-snow-2.4.2.diff (1088 bytes)
On my Sun SS5 I have tcx/24 frame buffer rev1.7. When X11 calls
kernel ioctl to change cursor shape and color, "snow" appears
on screen (anybody remembers those CGA adapters? :-)). It happens
when kernel changes cursor color.
- Snow appears on tcx/24bit rev1.7 when changing cursor color.
- Moving cursor out of screen temporarily does not help.
So I made this patch which does two things:
- check if old cursor color is the same as new one (majority of cases).
I have used fb->cursor.color to store old cursor color, since
I have not found where is is used. But maybe someone plans to use it differently,
in this case some changes would be necessary.
- wait for vertical retrace before changing cursor color. I have
verified that this code really eliminates the snow. Don't know
why that bit is called TCX_THC_MISC_CURS_RES.
Unfortunately, it seems that I'm the only one who sees the snow and
cares, so I doubt this patch will be applied. If you do see the snow,
please send a note about it to sparc-list@redhat.com.