drm/i915: Do not start connector polling if display is disabled
authorJouni Högander <jouni.hogander@intel.com>
Fri, 10 Jun 2022 08:54:28 +0000 (11:54 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 16 Jun 2022 10:15:39 +0000 (13:15 +0300)
commit04770b082e2a207804c633fbfd5efec28cbc5673
tree065d13dbcee9b45009d2fbd7d9a3e88011fe1942
parenteb2983c09f4e053f2c3362763f5e1073b5e4cd7d
drm/i915: Do not start connector polling if display is disabled

Currently we are starting connector polling if display is disabled
using disable_display module parameter. Polling is just returning
always "not connected" state. This can be optimized by not starting
polling at all.

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-3-jouni.hogander@intel.com
drivers/gpu/drm/i915/display/intel_hotplug.c