Re: DRM function pointer work..

From: Ian Romanick
Date: Fri Aug 06 2004 - 11:36:51 EST


Jon Smirl wrote:

The only case I see a problem is when drm-core is compiled into the
kernel. Why don't we just change the Makefile to default to copying the
CVS code into the kernel source tree and tell the user to rebuild his
kernel?

I don't think that will fly with Joe-user that just wants to upgrade his graphics driver. The other problem case is if the user has two graphics cards in his system. He wants to upgrade the driver for one of them (or install a new driver for a new card), but the interface between the device-independent (in-kernel) layer and the device-dependent (in-kernel) layer has changed.

Unless there is some way to have multiple device-independent modules (on a built-in and a module) loaded, the user is stuck in a situation where he has to update both drivers, but it may not be obvious that they need to do so.

I don't think this situation is likely to happen, but if there is even the potential for it to happen, we will get bitten. :(

Then for us DRM hackers just have another make target that builds
outside of the tree like we are currently doing. We could add a single
symbol as a check, drm_core in kernel would not provide the symbol.
drm_core compiled as a module provides it. drm compiled out of tree
requires it. drm compiled in tree doesn't care.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/