[PATCH v3 3/4] xfree86/dri2: wrap drm bits with macros and change drm_magic type

Pauli Nieminen ext-pauli.nieminen at nokia.com
Wed Apr 21 06:48:33 PDT 2010


On 21/04/10 15:32 +0200, Vignatti Tiago wrote:
> On Wed, Apr 21, 2010 at 03:00:52PM +0200, Mark Kettenis wrote:
> > 
> > So instead you decide to increase the maintenance burden on everybody
> > else by making the code harder to read and requiring them to remember
> > to wrap new code that depends on libdrm in more #ifdefs.
> 
> As I said, it's a trade-off.
> 
> Customize an Xorg for a given system is only being discussed recently. I'd
> like to see an implementation very small and with few code, so I can maintain
> and enhance easily. 
> 
> Besides, Xorg is open-source and we should try discuss ways to embrace
> everyone's willings. Anyway, I'm pretty sure you understand my point of view.
> I'm totally opened to hear best approaches how to circumvent this.
> 

How about dropping libdrm dependency from dri2?

There is nothing else except drmAuthMagic used from libdrm for dri2.

Pauli


More information about the xorg-devel mailing list