]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Do not start connector polling on headless sku
authorJouni Högander <jouni.hogander@intel.com>
Fri, 10 Jun 2022 08:54:29 +0000 (11:54 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 16 Jun 2022 10:15:41 +0000 (13:15 +0300)
commit594dd72d1f505e77b3f03ce2d1792a30f884c1fd
treeb79209249fc18f581908018f56ea5374d676f51c
parent13719c09b0bd6c93960664804bd3b1d39e38faf0
drm/i915: Do not start connector polling on headless sku

Connector polling is waking up the polled device. Polling
is unnecessary if our device is known to not have display.

Fix this and save some power by disabling starting connector
polling when we are having headless sku. Use information from
opregion.

v2: Move headless sku check into INTEL_DISPLAY_ENABLED macro

Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220610085429.52935-4-jouni.hogander@intel.com
drivers/gpu/drm/i915/i915_drv.h