drm/i915: do not warn late about hdmi on port A
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 8 Nov 2019 21:42:51 +0000 (13:42 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Tue, 12 Nov 2019 23:31:26 +0000 (15:31 -0800)
commitd670719467ecb3ab6bf39c97e01657a82d458fde
treefbaf34fa8260122d02fb14f27feeae30a2179277
parent860afa0868419fcf33a7160f3b48ff57e15a6e34
drm/i915: do not warn late about hdmi on port A

The warning should be just a warning. Where it is currently is wrong
since we already registered the connector on drm, meaning it dies later
on a NULL pointer deref if the VBT-overriding we have is removed. Move
the warning up.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191108214251.79305-1-lucas.demarchi@intel.com
drivers/gpu/drm/i915/display/intel_hdmi.c