drm: add some caps for userspace to discover more info for dumb KMS driver (v2)
[linux-2.6.git] / drivers / gpu / drm / i915 / intel_display.c
index dfa6744..0a8a640 100644 (file)
@@ -9089,6 +9089,9 @@ void intel_modeset_init(struct drm_device *dev)
        dev->mode_config.min_width = 0;
        dev->mode_config.min_height = 0;
 
+       dev->mode_config.preferred_depth = 24;
+       dev->mode_config.prefer_shadow = 1;
+
        dev->mode_config.funcs = (void *)&intel_mode_funcs;
 
        intel_init_quirks(dev);