]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbb54c3a9d005cd03b35aad7b46377cd59bd0a7eb
treebf9fbb82fa769b74b173611ecbd7106e1ce96f27
parentb59ec2d1aa1eb3b9e2126265507b7e4a81845a4e
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