drm/i915: Update bits per component for display info
authorMika Kahola <mika.kahola@intel.com>
Fri, 9 Sep 2016 11:10:56 +0000 (14:10 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 15 Sep 2016 11:51:00 +0000 (14:51 +0300)
commitf9bb705e65f64710971e50624db5ef1857d9db39
tree6cd7cc003a1900fc8f9105dc4d72361335b2e9ed
parent70ec064516cc45525f7072f9e57ff780e987f0cd
drm/i915: Update bits per component for display info

DisplayPort branch device may define max supported bits per
component. Update display info based on this value if bpc
is defined.

v2: cleanup to match the drm_dp_helper.c patches introduced
    earlier in this series
v3: Fill bpc for connector's display info in separate
    drm_dp_helper function (Daniel)
v4: remove updating bpc for display info as it may be overridden
    when parsing EDID. Instead, check bpc for DP branch device
    during compute_config
v5: Indentation fixes (Jim Bride)

Signed-off-by: Mika Kahola <mika.kahola@intel.com>
Reviewed-by: Jim Bride <jim.bride@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1473419458-17080-11-git-send-email-mika.kahola@intel.com
drivers/gpu/drm/i915/intel_dp.c