drm/i915/rkl: Handle comp master/slave relationships for PHYs
authorMatt Roper <matthew.d.roper@intel.com>
Wed, 3 Jun 2020 21:15:25 +0000 (14:15 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Thu, 4 Jun 2020 16:35:23 +0000 (09:35 -0700)
commitb8226d62e77620d372f6eb8c34b51798f3962414
treedc6224dbc4de84eb013682debc0b57687f605a77
parentcd0a89527d06f19e9e6eb7efce81c629c4b76b43
drm/i915/rkl: Handle comp master/slave relationships for PHYs

Certain combo PHYs act as a compensation master to other PHYs and need
to be initialized with a special irefgen bit in the PORT_COMP_DW8
register.  Previously PHY A was the only compensation master (for PHYs
B & C), but RKL adds a fourth PHY which is slaved to PHY C instead.

Bspec: 49291
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: José Roberto de Souza <jose.souza@intel.com>
Cc: Aditya Swarup <aditya.swarup@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Anusha Srivatsa <anusha.srivatsa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200603211529.3005059-12-matthew.d.roper@intel.com
drivers/gpu/drm/i915/display/intel_combo_phy.c