drm/i915/display: Do not reset display when there is none
authorJosé Roberto de Souza <jose.souza@intel.com>
Fri, 6 Nov 2020 22:55:26 +0000 (14:55 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Wed, 11 Nov 2020 19:50:45 +0000 (11:50 -0800)
commit2c5688057f7011a0d75b2e1189695912e232b64c
treef1be196ce66fe2985cd05b7776a02b9d492d953a
parente669ad6f1cef3f2b582ab7cab64cc90fd327348d
drm/i915/display: Do not reset display when there is none

Display is always disabled and enabled when resetting any engine, but if
there is no display it should not do anything with display and only
reset the needed engines.

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