[Libdlo] udlfb: DL-195 @ 1600x1200

Sven Killig sven at killig.de
Sat Jun 27 05:49:52 PDT 2009


> -----Original Message-----
> From: libdlo-bounces at lists.freedesktop.org [mailto:libdlo-
> bounces at lists.freedesktop.org] On Behalf Of Sven Killig
> Sent: Saturday, June 27, 2009 1:20 PM
> To: libdlo at lists.freedesktop.org
> Subject: Re: [Libdlo] udlfb: DL-195 @ 1920x1200: Oops
> 
> So why does
> 
> kzalloc(2621440, GFP_KERNEL);
> 
> succeed but
> 
> kzalloc(4608000, GFP_KERNEL);
> 
> doesn't? The SheevaPlug has 512 MB RAM.

4 MB seems to be the maximum. So 1600x1200 is the maximum with kzalloc() at the moment:

	dlfb_video_modes[3].col = 0;
	memcpy(&dlfb_video_modes[3].hclock, "\xCF\xA4\x3C\x4E", 4);
	memcpy(&dlfb_video_modes[3].vclock, "\x55\x73\x71\x2B", 4);
	memcpy(&dlfb_video_modes[3].unknown1, "\x71\x52\xFF\xFF\xEE\xCA", 6);
	dlfb_video_modes[3].xres = 1600;
	memcpy(&dlfb_video_modes[3].unknown2, "\xE2\x57\xFF\xFF\xFF\xF9", 6);
	dlfb_video_modes[3].yres = 1200;
	memcpy(&dlfb_video_modes[3].unknown3, "\x04\x02\x90\x7E", 4);



More information about the Libdlo mailing list