Enable Nouveau DRM driver for kernels >= 3.3.
Signed-off-by: Ozan Çağlayan <ozancag@gmail.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
export CONFIG_COMPAT_DRM_LOAD_EDID_FIRMWARE=y
export CONFIG_COMPAT_DRM_KMS_HELPER=m
endif #CONFIG_COMPAT_KERNEL_3_2
+
+# Enable nouveau on >= 3.3
+ifndef CONFIG_COMPAT_KERNEL_3_3
+export CONFIG_COMPAT_DRM_TTM=m
+export CONFIG_COMPAT_DRM_NOUVEAU=m
+export CONFIG_COMPAT_DRM_NOUVEAU_BACKLIGHT=y
+export CONFIG_COMPAT_NOUVEAU_DEBUG=5
+export CONFIG_COMPAT_NOUVEAU_DEBUG_DEFAULT=3
+endif #CONFIG_COMPAT_KERNEL_3_3