]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: disable all display features when no display
authorJani Nikula <jani.nikula@intel.com>
Thu, 10 Sep 2020 09:52:25 +0000 (12:52 +0300)
committerJani Nikula <jani.nikula@intel.com>
Fri, 11 Sep 2020 10:16:48 +0000 (13:16 +0300)
commit0838f658bc8bce86bdfb3d4ca920b545851c8031
treee20cabdee0ca1d9a9049b6724688dbd250339c67
parent38d19b260bff584abc1ef9e5eef147428af6b634
drm/i915: disable all display features when no display

Disable all display feature flags when there are no pipes i.e. there is
no display. This should help with not having to additionally check for
HAS_DISPLAY() when a feature flag check would suffice.

Also disable modeset and atomic driver features.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200910095227.9466-1-jani.nikula@intel.com
drivers/gpu/drm/i915/intel_device_info.c