drm/i915: Remove the 8bpc shackles from DP MST
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 26 Mar 2019 14:25:53 +0000 (16:25 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 27 Mar 2019 13:29:20 +0000 (15:29 +0200)
commitf1477219869cc943ef9e0248b308da7b900c65ec
treea2c2749eb73014e066a05db667b3a8903c13274a
parent765bdb0b3948747dda8c9bab300013e34f76fe88
drm/i915: Remove the 8bpc shackles from DP MST

Allow DP MST to output any color depth. This means deep color as
well as falling back to 6bpc if we would otherwise require too
much bandwidth.

TODO: We should probably extend bw_contstrained scheme to force
all streams on the link to 6bpc if we can't fit the new stream(s)
otherwise.

v2: Use a proper for-loop (Jani)

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com> #v1
Link: https://patchwork.freedesktop.org/patch/msgid/20190326142556.21176-3-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_dp_mst.c
drivers/gpu/drm/i915/intel_drv.h