drm/i915/display: return earlier from intel_modeset_init() without display
authorJani Nikula <jani.nikula@intel.com>
Fri, 6 Nov 2020 22:55:27 +0000 (14:55 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Wed, 11 Nov 2020 19:50:46 +0000 (11:50 -0800)
commit71c8415d0daa78ef1295743d0e11ba0214d0a9b9
tree902977e0b921098b4c3bc832e4b1489ac8ba9912
parent2c5688057f7011a0d75b2e1189695912e232b64c
drm/i915/display: return earlier from intel_modeset_init() without display

!HAS_DISPLAY() implies !HAS_OVERLAY(), skipping overlay setup anyway, so
return earlier from intel_modeset_init() for clarity.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201106225531.920641-4-lucas.demarchi@intel.com
drivers/gpu/drm/i915/display/intel_display.c