drm/i915: Sanitize the display fused-off check on GEN7/8
authorImre Deak <imre.deak@intel.com>
Wed, 8 Feb 2023 11:43:00 +0000 (13:43 +0200)
committerImre Deak <imre.deak@intel.com>
Wed, 15 Feb 2023 09:47:08 +0000 (11:47 +0200)
commitf9dfa87c43a38dca16fcb4fb527d3789ca7bf611
tree0f73a95b2aed7cdbf32592335d5c19f6e6b156ba
parent273e1daa1c025d8a8649d5622ab8b7f344960e9b
drm/i915: Sanitize the display fused-off check on GEN7/8

Detecting in intel_device_info_runtime_init() that the display is fused
off or not present should only zero intel_runtime_info::pipe_mask, while
the other related masks will be accordingly zeroed later in the
function. Remove the redundant zeroing of the related fields on GEN7/8.

Cc: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230208114300.3123934-5-imre.deak@intel.com
drivers/gpu/drm/i915/intel_device_info.c