Re: latest version of radeonfb
Torgeir Veimo <[email protected]>
| Newsgroups | gmane.linux.fbdev.user |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 2004-11-19 at 12:55 +0100, Olaf Leidinger wrote:
> Okay... but when booting using the fb providet by radeonfb I get no
> accel (fbset -i tells it is deactivated) . So I patched radeonfb to set
> info->fix.accel = FB_ACCEL_ATI_RADEON (similar to the aty-driver). Now
> directfb loads its radeon driver but it exits immediately...
>
> This part of the patch I discoverd after I tried my self-made hack seems
> to do the same (if not more ;-) ) but it isn't part of radeon_base.c as
> it ships with linux-2.6.9
> - if (noaccel)
> - info->fix.accel = FB_ACCEL_NONE;
> - else
> - info->fix.accel = FB_ACCEL_ATI_RADEON;
> -
> - fb_alloc_cmap(&info->cmap, 256, 0);
> -
> - if (noaccel)
> + if (noaccel) {
> + info->fix.accel = FB_ACCEL_NONE;
> info->var.accel_flags &= ~FB_ACCELF_TEXT;
> - else
> + info->fbops = &radeonfb_noaccel_ops;
> + } else {
> + info->fix.accel = FB_ACCEL_ATI_RADEON;
> info->var.accel_flags |= FB_ACCELF_TEXT;
> + info->fbops = &radeonfb_ops;
> + }
> + fb_alloc_cmap(&info->cmap, 256, 0);
>
> Nor the lines that the patch removes are part of the official radeon_base.c
Which kernel is this? My 2.6.10-rc1 kernel doesn't define the
radeon_noaccel_ops.. Or is it the old radeon driver? The new one is the
one in aty/* .
--
Torgeir Veimo <[email protected]>
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8