]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/mst: Remove redundant has_pch_encoder=false assignment
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 9 Apr 2026 10:08:41 +0000 (13:08 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 13 Apr 2026 12:51:13 +0000 (15:51 +0300)
commit8479336af419ddcb97b77af67a45cfa3b981a2cb
tree736cd16156f3c63696c5233644f6349c5ec42912
parentca97f5546f191bf460b3f4b59ade3ea5e7378796
drm/i915/mst: Remove redundant has_pch_encoder=false assignment

The entire crtc_state is zeroed by default, there is no need
to fiddle with crtc_state->has_pch_encoder unless we are actually
dealing with a port on the PCH (which we never are for DP MST).

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patch.msgid.link/20260409100841.1907-2-ville.syrjala@linux.intel.com
Reviewed-by: Nemesa Garg <nemesa.garg@intel.com>
drivers/gpu/drm/i915/display/intel_dp_mst.c