]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/crt: Configure connector->polled and encoder->hpd_pin consistently
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 21 Jan 2020 17:10:52 +0000 (19:10 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 4 Feb 2020 21:14:33 +0000 (23:14 +0200)
commit9d552c22f7944d4b421f37c3d8a46966d78ea5d7
tree876c2eea9679e3da4cd90532c07c788d9f5cab82
parent012ee690372ccc370d4c13cb137dd2e17e2cfc6b
drm/i915/crt: Configure connector->polled and encoder->hpd_pin consistently

Let's make sure encoder->hpd_pin and connector->polled are mirror
images of each other (when we want to use polling). The other
potentially polled connectors (sdvo and tv) already get this right.

Also nuke the redundant force_hotplug_required initialization
(the thing is kzalloc()ed).

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