On Wed, Jul 30, 2008 at 10:58 PM, Dave Airlie <[EMAIL PROTECTED]> wrote:
>> > What do you think?
>>
>> We try to keep #ifdef's out of the code and in drm_compat.h instead.
>> Something like
>>
>>   #if linuxversion >= 2.6.27
>>   #define drm_on_each_cpu(handler, data, wait) ...
>>   #else
>>   ...
>>   #endif
>>
>> and then just user drm_on_each_cpu in the code.
>>
>
> I'd prefer not to do that at all, it makes upstream merging a lot messier.
>
> The ifdefs make life easier as I have a script to remove them :)

Well, if the overhead of merging upstream is a concern, then how about
not worrying about bc at all and let people who want to back port deal
with it?  Oh, and what about just keeping the drm drivers in a linux
kernel tree?  That'll make upstream merging even easier yet...

Kristian

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to