mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Radeon fb patch
@ 2004-02-12 17:59 Panagiotis Papadakos
  2004-02-12 20:50 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 2+ messages in thread
From: Panagiotis Papadakos @ 2004-02-12 17:59 UTC (permalink / raw)
  To: linux-kernel; +Cc: benh

[-- Attachment #1: Type: TEXT/PLAIN, Size: 572 bytes --]

I tried to compile bk2 with the new radeofb patch, but it failed.
The problem exists if you have enabled drm for radeon, because
radeon_engine_reset is declared twice, once in drivers/char/drm/
radeon_cp.c and the second time in drivers/video/aty/radeon_accel.c.
The attached patch just renames radeon_engine_reset to
radeonfb_engine_reset in drivers/video/aty and also radeon_engine_init
to radeonfb_engine_init just for consistency. It compiles fine, but shows
garbage on my notebook. Don't know if it is my patch or the new radeonfb
code.

Regards
	Panagiotis Papadakos

[-- Attachment #2: Type: APPLICATION/octet-stream, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Radeon fb patch
  2004-02-12 17:59 Radeon fb patch Panagiotis Papadakos
@ 2004-02-12 20:50 ` Benjamin Herrenschmidt
  0 siblings, 0 replies; 2+ messages in thread
From: Benjamin Herrenschmidt @ 2004-02-12 20:50 UTC (permalink / raw)
  To: Panagiotis Papadakos; +Cc: Linux Kernel list

On Fri, 2004-02-13 at 04:59, Panagiotis Papadakos wrote:
> I tried to compile bk2 with the new radeofb patch, but it failed.
> The problem exists if you have enabled drm for radeon, because
> radeon_engine_reset is declared twice, once in drivers/char/drm/
> radeon_cp.c and the second time in drivers/video/aty/radeon_accel.c.
> The attached patch just renames radeon_engine_reset to
> radeonfb_engine_reset in drivers/video/aty and also radeon_engine_init
> to radeonfb_engine_init just for consistency. It compiles fine, but shows
> garbage on my notebook. Don't know if it is my patch or the new radeonfb
> code.

Thanks. I used to call radeonfb_ exposed routines to the outside world
and radeon_ internal ones, but your fix is probably the simplest way to
get out of the conflict with DRI indeed.

What kind of grabage do you get ? Can you re-enable DEBUG in radeonfb.h
and send me a dmesg log after boot ? Did the "old" radeonfb work
properly ? Also, what is the native resolution of your flat panel ?

Ben.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-02-12 20:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-12 17:59 Radeon fb patch Panagiotis Papadakos
2004-02-12 20:50 ` Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®