drm/i915: Set DP min_bpp to 8*3 for non-RGB output formats
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 26 Mar 2019 14:25:56 +0000 (16:25 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 11 Apr 2019 18:22:40 +0000 (21:22 +0300)
commit4e2056e05e6eb646d37e310c11f6ac97a266b355
treebf9fbb82fa769b74b173611ecbd7106e1ce96f27
parent632c7ad6f4509767fcbe76ac034747b4a30a13d9
drm/i915: Set DP min_bpp to 8*3 for non-RGB output formats

6bpc is only legal for RGB and RAW pixel encodings. For the rest
the minimum is 8bpc. Set our lower limit accordingly.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190326142556.21176-6-ville.syrjala@linux.intel.com
Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_dp.h
drivers/gpu/drm/i915/intel_dp_mst.c