radeon: Fix debug output to filter out less critical messages instead of more critical.

This commit is contained in:
Pauli Nieminen
2009-09-02 01:28:46 +03:00
parent 7e4487ad5c
commit 9f650e19dd
+1 -1
View File
@@ -88,7 +88,7 @@ extern radeon_debug_type_t radeon_enabled_debug_types;
static inline int radeon_is_debug_enabled(const radeon_debug_type_t type,
const radeon_debug_level_t level)
{
return RADEON_DEBUG_LEVEL <= level
return RADEON_DEBUG_LEVEL >= level
&& (type & radeon_enabled_debug_types);
}
/*