]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: tell the user if both KMS and UMS are disabled
authorJani Nikula <jani.nikula@intel.com>
Mon, 2 Jun 2014 13:58:30 +0000 (16:58 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 5 Jun 2014 06:52:44 +0000 (08:52 +0200)
commit1ee81aa16c28f7d9e512b48a44ab807b4ee94027
treec6e60456126034382ae97bd3d11b34bb7a654e08
parent075d0d201a2ed06671544a8d32c3e8c3d6fb18f2
drm/i915: tell the user if both KMS and UMS are disabled

If both KMS is disabled (by i915.modeset=0 or nomodeset parameters) and
UMS is disabled (by CONFIG_DRM_I915_UMS=n, the default), the user might
not be aware his setup is not supported. Inform the users (and, by
extension, the poor i915 developers having to read their dmesgs in bug
reports) why their graphics experience might be lacking.

A similar message was added on the UMS path in
commit dc7e8a251b4a769491b31d66a5ef6fcd68f76532
Author: Jani Nikula <jani.nikula@intel.com>
Date:   Thu Oct 10 15:25:37 2013 +0300

    drm/i915: tell the user KMS is required for gen6+

but it won't be reached if CONFIG_DRM_I915_UMS=n since
commit d101271096963a731941a08b4a06afd11e13cfd1
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Wed Nov 13 22:11:25 2013 +0100

    drm/i915: Deprecated UMS support

v2: Use DRM_DEBUG_DRIVER.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.c