aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/display/intel_dp_mst.h
diff options
context:
space:
mode:
authorImre Deak <[email protected]>2019-06-28 14:36:21 +0000
committerImre Deak <[email protected]>2019-07-01 11:50:12 +0000
commitc905eb28bd3f43e96ef9180971f7809738caaa27 (patch)
tree48e0d1404d6121a22078e906aaa3f1216f1f009d /drivers/gpu/drm/i915/display/intel_dp_mst.h
parentdrm/i915: Unify the TypeC port notation in debug/error messages (diff)
downloadkernel-c905eb28bd3f43e96ef9180971f7809738caaa27.tar.gz
kernel-c905eb28bd3f43e96ef9180971f7809738caaa27.zip
drm/i915: Factor out common parts from TypeC port handling functions
Factor out helpers reading/parsing the TypeC specific registers, making current users of them clearer and letting us use them later. While at it also: - Simplify icl_tc_phy_connect() with an early return in legacy mode. - Simplify the live status check using one bitmask for all HPD bits. - Remove a micro-optimisation of the repeated safe-mode clearing. - Make sure we fix the legacy port flag in all cases. Except for the last two, no functional changes. v2: - Don't do reg reads at variable declarations. (Jani) - Prevent constant truncated compiler warning when assigning the valid_hpd_mask. (Nick) - s/intel_tc_port_get_lane_info/intel_tc_port_get_lane_mask/ (Ville) v3: - Make valid_hpd_mask init clear. (Ville) Cc: José Roberto de Souza <[email protected]> Cc: Rodrigo Vivi <[email protected]> Cc: Paulo Zanoni <[email protected]> Cc: Jani Nikula <[email protected]> Cc: Nick Desaulniers <[email protected]> Signed-off-by: Imre Deak <[email protected]> Reviewed-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_mst.h')
0 files changed, 0 insertions, 0 deletions