drm/i915/dg2: Update to bigjoiner path
authorAnimesh Manna <animesh.manna@intel.com>
Fri, 23 Jul 2021 17:42:38 +0000 (10:42 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Thu, 29 Jul 2021 16:32:54 +0000 (09:32 -0700)
commit11955c87d209c81cec6bb7c21a2a12c4c48c4fb4
tree4c2e816a65b735b2fbfd4beeae8379efcffa7c9c
parent7711749a604996a41e14b66e3163e045a89fe8e1
drm/i915/dg2: Update to bigjoiner path

In verify_mpllb_state() encoder is retrieved from best_encoder
of connector_state. As there will be only one connector_state
for bigjoiner and checking encoder may not be needed for
bigjoiner-slave. This code path related to mpll is done on dg2
and need this fix to avoid null pointer dereference issue.

Cc: Manasi Navare <manasi.d.navare@intel.com>
Signed-off-by: Animesh Manna <animesh.manna@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210723174239.1551352-30-matthew.d.roper@intel.com
drivers/gpu/drm/i915/display/intel_display.c