2002-06-13 08:40:13

by Denis Oliver Kropp

[permalink] [raw]
Subject: [PATCH] [2.4.19-pre10] CyberPro 32bit support and other fixes

Hi,

this patch adds 32 bit support to cyber2000fb which is useful
if you have a video layer in the background (CyberPro 5xxx) with
per pixel alpha blending enabled.

This patch also includes a fix for the text palette for modes
with more than 8 bit.

Additionally there was a bug in set_var for 16 bit support,
bits_per_pixel has been set to 15 if 16 is detected. I guess
this was a copy'n'paste failure.

Also panning had a bug as it didn't take care of the bytes
per pixel when calculating the new base address.

The last two things have already been fixed in the 2.5 tree.

Applies against Linux 2.4.19-pre10.

--
Best regards,
Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/ |
"------------------------------------------"

Convergence GmbH


Attachments:
(No filename) (882.00 B)
linux-2.4.19-pre10-cyber32bit.diff (6.09 kB)
Download all attachments

2002-06-13 09:10:35

by Russell King

[permalink] [raw]
Subject: Re: [PATCH] [2.4.19-pre10] CyberPro 32bit support and other fixes

On Thu, Jun 13, 2002 at 10:39:29AM +0200, Denis Oliver Kropp wrote:
> this patch adds 32 bit support to cyber2000fb which is useful
> if you have a video layer in the background (CyberPro 5xxx) with
> per pixel alpha blending enabled.

... Same comments as the 2.5 version.

--
Russell King ([email protected]) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html