linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Add three new IOCTLs to FB API
@ 2003-09-22  5:28 Jon Smirl
  2003-09-22  6:13 ` Ian Romanick
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Jon Smirl @ 2003-09-22  5:28 UTC (permalink / raw)
  To: fb-devel

I'd like to add three new IOCTLs to the FB API to help support standalone Mesa.
The idea is to eliminate the need for config files. Xfree might even use these
in the future.

In order to load DRM 3D support I need two pieces of information. The name of
the 3D DRM driver and the bus:dev:func of the hardware. DRM does not implement
PCI ID probing, instead you need to it what hardware to use. 

By adding these to the FB API you can start standalone Mesa just by specifying
the name of the FB device to use. I can pick up mode and resolution from the
existing FB API.

1) Get location of card that is associated with this fb device. It would return
bus,dev,func of hardware. There may be more than one piece of the same hardware
installed.

3) Get vendor and card PCI ID

2) Get 3D driver name. Return the name of the DRM driver that is associated
with this fb device. For example aty128fb would return r128, radeonfb would
return radeon. Empty string if there is none. There are eight DRM drivers and
15 fb ones.

The functions are trivial to implement but implementing them will require
touching all of the fbdev files.

=====
Jon Smirl
jonsmirl@yahoo.com

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

end of thread, other threads:[~2003-09-23 16:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-22  5:28 Add three new IOCTLs to FB API Jon Smirl
2003-09-22  6:13 ` Ian Romanick
2003-09-22  7:21 ` Geert Uytterhoeven
2003-09-22 20:25   ` Jon Smirl
2003-09-23  0:27     ` Michel Dänzer
2003-09-22 23:18   ` Ian Romanick
2003-09-23 16:36     ` Kronos
2003-09-22 10:23 ` Michel Dänzer
2003-09-23 15:45 ` Ville Syrjälä

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).