[PATCH 0/4] staging: xgifb: video mode/memory handling fixes
Aaro Koskinen
aaro.koskinen at iki.fi
Tue Sep 11 21:44:36 UTC 2012
Hi,
Some small fixes/improvements for xgifb video mode/memory handling. They
address the following problems I see with my test boards:
- If the driver is probed on "BIOS-less" system, the video
memory is limited to 1M. After that when you e.g. play videos
with mplayer, the system may hang as the driver allows to select
illegal mode.
- Unloading and reloading the driver forces video memory size
always to 8M.
Tested with Z9/XG21 and Z11/XG27.
Aaro Koskinen (4):
staging: xgifb: validate the mode against video memory size
staging: xgifb: prevent video RAM size exceeding PCI window size
staging: xgifb: setup initial video RAM size for systems without BIOS
staging: xgifb: delete bogus video RAM configuration
drivers/staging/xgifb/XGI_main_26.c | 24 ++++++++++++++++++------
drivers/staging/xgifb/vb_init.c | 1 -
2 files changed, 18 insertions(+), 7 deletions(-)
A.
--
1.7.2.5
More information about the devel
mailing list