diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2010-11-10 06:04:19 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-11-10 06:26:37 -0500 |
commit | 32ed3036c56284a720c0c00d92ee14bf609f497d (patch) | |
tree | dfde210bb1990a776894e1d2bd214f5a473a5177 /drivers/video/omap2/vram.c | |
parent | 7ac3d3ebf1f6e2051472150092a6d023043dd0f1 (diff) |
sisfb: limit POST memory test according to PCI resource length
If the POST memory test fails, the driver may access illegal
memory areas. Instead of hard coding the maximum size, set it
according to the PCI resource length (an additional check is needed in
sisfb_post_map_vram() to ensure it's big enough). DRAM sizing will later
adjust video_size to the correct value.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: Thomas Winischhofer <thomas@winischhofer.net>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/video/omap2/vram.c')
0 files changed, 0 insertions, 0 deletions