|
@@ -234,9 +234,10 @@ int radeon_bo_create(struct radeon_device *rdev,
|
|
* may be slow
|
|
* may be slow
|
|
* See https://bugs.freedesktop.org/show_bug.cgi?id=88758
|
|
* See https://bugs.freedesktop.org/show_bug.cgi?id=88758
|
|
*/
|
|
*/
|
|
-
|
|
|
|
|
|
+#ifndef CONFIG_COMPILE_TEST
|
|
#warning Please enable CONFIG_MTRR and CONFIG_X86_PAT for better performance \
|
|
#warning Please enable CONFIG_MTRR and CONFIG_X86_PAT for better performance \
|
|
thanks to write-combining
|
|
thanks to write-combining
|
|
|
|
+#endif
|
|
|
|
|
|
if (bo->flags & RADEON_GEM_GTT_WC)
|
|
if (bo->flags & RADEON_GEM_GTT_WC)
|
|
DRM_INFO_ONCE("Please enable CONFIG_MTRR and CONFIG_X86_PAT for "
|
|
DRM_INFO_ONCE("Please enable CONFIG_MTRR and CONFIG_X86_PAT for "
|